PdfSharpCore icon indicating copy to clipboard operation
PdfSharpCore copied to clipboard

Non ascii characters are not correctly displayed when created on Linux (Openshift)

Open matbruges opened this issue 1 year ago • 1 comments

This works correctly on Windows, but when my app is running in Openshift the non-ascii characters (e.g. é, à ², ³ etc) are displayed as empty rectangles.

I use Migradoc with a custom font resolver to load my embedded fonts. I call "new PdfDocumentRenderer(true)" to specify unicode encoding.

In Openshift the default encoding is ascii.. could it be that internally in the PdfSharpCore/Migradoc library there is some processing going on that does not expect the default encoding to be anything other than unicode?

matbruges avatar Mar 18 '24 12:03 matbruges

Are you sure that you'r font supports this kind of charcters ?

Shayaomer avatar Jan 02 '25 00:01 Shayaomer