Hi,
We’re producing png files from aspose.cells java-generated workbooks, and we’re experiencing some problems loading the needed fonts since we changed our environment.
We’re working with Aspose-cells-8.0.2-java on a linux CentOS release 6.2 (64bits).
We’re using the com.aspose.cells.CellsHelper.setFontDir(pathFonts) method to load our font.
The first environment uses java 1.5.0.19, while the second uses the 1.7.0.17 version.
On the first environment, we’re setting the path to “/myApp/param/Fonts” and it works just fine.
On the second, the font doesn’t load and Aspose.cells uses the default system fonts.
On this second environment, we found a workaround by putting our fonts in “/usr/java/jdk/jdk1.7.0_17/jre/lib/fonts”.
Any insight on this issue ?
The workaround is OK, but our client really need to keep the fonts in the application directory.
Best regards.
Charles