HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › HTML/CSS rendering issues › Does Not Find New Fonts › Re: Re: Does Not Find New Fonts
In order to use a font, registered in the .properties file as
xxxx Fixed 2 Unicode=xxxx-fixed2U.ttf
you need to explicitly specify the font face as it appears in pd4fonts.properties file:
Text (or the same via CSS)
On practice it would be more convenient to rename the bulky font face names in pd4fonts.properties, for example:
<br />
xxxx=xxxx-fixedu.ttf<br />
xxxx Bold=xxxx-FixedU_B.ttf<br />
For bold style
Text
It will look for font face with ” Bold” appended. (” Italic” for italic)
Important:
1. TTF embedding is a feature of PD4ML Pro (not Std)
2. TTF font file should define glyphs, used in the text