PD4ML v4 › Forums › PD4ML v3 Archived Forums (Read Only) › Troubleshooting › How to include fonts directory This topic has 0 replies, 1 voice, and was last updated Apr 30, 201209:36:31 by hifiverhee. Viewing 1 post (of 1 total) Author Posts hifiverhee April 30, 2012 at 09:36 #26716 Dear supporter, I’ve a question about including fonts directory when i run java class which is not in class path. When i run java class using console mode it works fine with including fonts folder. java -Xmx512m -cp pd4ml.jar;. Converter “$(tempDir)/$(ModuleName).html” “$(tempDir)/$(ModuleName).pdf” “file:fonts” By the way i need to run this class the other directory. At this time i struggling to include fonts folder which i located under the pd4ml.jar class path as follows but failed. _pdf.useTTF(“file:../../../../../jar/PD4ML/fonts”, true); _pdf.useTTF(“file:fonts”,true); _pdf.useTTF(“java:fonts”,true); Finally i tried to run copy font folders to this run directory and found out it works with _pdf.useTTF(“file:fonts”,true); My question is Is there any way to set fonts folder without copying those stuff? Kind regards, Gabriel. Author Posts Viewing 1 post (of 1 total) The forum ‘Troubleshooting’ is closed to new topics and replies.