HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › HTML/CSS rendering issues › Problem with polish Letters › Re: Re: Problem with polish Letters
December 11, 2018 at 11:03
#30180
In order to display glyphs, not belong to Latin-1 charset, you need to provide a reference to a TTF fonts directory (with pd4fonts.properties in it) or add a fonts.jar to the classpath and point to a fonts folder in it.
[language=java:3ens62ck]java -Djava.awt.headless=true -cp ./pd4ml.jar Pd4Cmd -ttf /work/myfonts[/language:3ens62ck]
[language=java:3ens62ck]java -Djava.awt.headless=true -cp ./pd4ml.jar:./fonts.jar Pd4Cmd -ttf java:defaultfonts[/language:3ens62ck]
See also: http://pd4ml.com/reference.htm#7.1