HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › PD4ML Tips & Tricks › TTF embedding › Re: Re: TTF embedding
December 17, 2012 at 13:54
#27305
Please try to substitute your fonts jar with this one:
http://pd4ml.com/i/allfonts.zip (34 MB!)
unpack it and place fonts.jar to the classpath of your application (or to lib/ folder if any).
Refer the fonts this way:
pd4ml.useTTF(“java:fonts”, true);
And make sure the HTML has a correct meta charset directive.
Does it solve the problem?