I have been on this for over a week, and I hope I'll receive the needed help here. I have installed this setup and have also tested the setup on the command line as well the simple example on the Tess4j site and they both worked fine. The font info is what I want to obtain at the moment. The reason for these hassles. I am presently using this combination of libraries. When I tried running the example to get text attributes it returns an error. This is the link where I have posted this error - https://sourceforge.net/p/tess4j/discussion/1202294/thread/3e41474502/
tesseract 5.0.0-29-g727796 leptonica-1.82.0 libgif 5.2.1 : libjpeg 9d : libpng 1.6.37 : libtiff 4.3.0 : zlib 1.2.11 : libwebp 1.2.1 : libopenjp2 2.4.0 Found AVX2 Found AVX Found FMA Found SSE4.1 Found libarchive 3.5.2 zlib/1.2.11 liblzma/5.2.5 bz2lib/1.0.8 liblz4/1.9.3 libzstd/1.5.0 Found libcurl/7.77.0 SecureTransport (LibreSSL/2.8.3) zlib/1.2.11 nghttp2/1.42. This is my pom file <dependencies> <dependency> <groupId>org.ghost4j</groupId> <artifactId> ghost4j</artifactId> <version>1.0.1</version> </dependency> <dependency> <groupId>net.java.dev.jna</groupId> <artifactId>jna</artifactId> <version> 5.10.0</version> </dependency> <dependency> <groupId>net.sourceforge.tess4j </groupId> <artifactId>tess4j</artifactId> <version>5.0.0</version> </dependency> <dependency> <groupId>net.sourceforge.lept4j</groupId> <artifactId>lept4j</artifactId> <version>1.16.1</version> </dependency> </dependencies> some people suggested the error might be due to library mismatch. Is it right? But I guessed some people were able to get this properties as I read on this forum, if not, what are your suggestions to get such font properties? -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-ocr+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/e647c3cc-ec8e-4aaa-bcbb-7608eebaea0dn%40googlegroups.com.