June 29, 2010 at 10:11
#28081
pd4ml.useTTF( “java:fonts”, true ); assumes, the fonts and pd4fonts.properties are packed to JAR and the JAR is added to the application CLASSPATH.
Brief info about TTF embedding: pd4ml-html-css-pdf-tips-tricks-f7/ttf-embedding-t42.html
If you would like to use fonts from jre/lib/fonts, you need to specify the absolute font directory path. For example:
pd4ml.useTTF( “/usr/lib/jvm/java-1.5.0-sun/jre/lib/fonts”, true );