Hi,

This won't work with the built-in fonts. You need code like this:

PDFont font = PDType0Font.load(doc, new File("c:/windows/fonts/arial.ttf"));

Tilman

Am 13.09.2021 um 14:26 schrieb sameer v.d:
Hi Team,

As a part of project we are using apache PDF box library where we are
placing few fonts on the PDF using pdfont (org.apache.pdfbox.pdmodel.font)

As we need  multi language to be supported we are facing issue with respect
to polish language for certain characters like (lslash)

Tried all the pdffont types that are  available as a part if library but
couldn't succeed.

We are getting error as "('lslash') is not available in this font Helvetica
encoding : WinAnsiEncoding "

Please help me or guide on how to proceed with this

Your response will be truly appreciated.

Thanks and Regards,
Sameer



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org

Reply via email to