HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML Forums › Technical questions / Troubleshooting › Problems Rendering HTML Symbols › Reply To: Problems Rendering HTML Symbols
May 8, 2023 at 15:06
#36365
In order to render the glyphs you need to make sure the glyphs are present in used TTF font.
As it follows from your Java code snippet, you did not enable TTF embedding at all, so it uses built-in core fonts, support Latin-1 charset only and do not implement the glyphs.
The attached PDF is generated with the TTF embedding enabled. PD4ML took the glyphs from MS Gothic TTF font
See https://pd4ml.com/pdf-fonts/ for TTF embedding hints