HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › PD4ML Tips & Tricks › TTF embedding › Re: Re: TTF embedding
July 12, 2016 at 13:57
#27318
If I execute the below codes i am getting PDF converter UI. It is not generating pd4fonts.properties and pd4browser.properties.
Please help on this.
create fonts/ directory (i.e /path/to/my/fonts/) and copy needed TTFs into it.
run pd4font.properties generation command
java -jar pd4ml.jar -configure.fonts /path/to/my/fonts/
(as a result it should produce /path/to/my/fonts/pd4font.properties)
reference /path/to/my/fonts/ directory from your Java/JSP/… code.