How to embed font in PDF created from HTML with iText and Flying Saucer?
问题 I have problem with embedding Polish fonts into PDF converted from HTML. My HTML code have style in body: <BODY style="font-family: Tahoma, Arial, sans-serif;font-size : 8pt;"> I tried 2 ways of converting such HTML into PDF: FOP with htmlcleaner iText with flying-saucer For FOP I can add all used fonts into its config file and then created PDF have those fonts embedded (if font is used in HTML). In resulting PDF I have Tahoma font in Identity-H encoding. It looks good -- all Polish letters