I tried to run the sample code of Java API, on CentOS 5.4 with OpenJDK 1.7.0_25.
when convert a word document to image (using ToImageSampleConversion class),
it worked fine.
but when convert the same document to PDF (using ToPdfSampleConversion class),
it output below errors:
Mar 04, 2015 2:02:53 PM com.groupdocs.conversion.converter.a.h b
SEVERE: Could not find any font. Use Document.addLocalFontPath(String path) to set correct path for your fonts location.
Mar 04, 2015 2:02:53 PM com.groupdocs.conversion.handler.ConversionHandler convertToPdf
SEVERE: null
could you give me some hints?
thanks.