Duplicated
Last Updated: 25 Jun 2020 05:24 by Oskar
Oskar
Created on: 22 Jun 2020 08:45
Category: PdfProcessing
Type: Bug Report
0
PdfProcessing: German umlauts will not be printed

German umlauts (the characters 'Ä', 'Ö', 'Ü', 'ä', 'ö' and 'ü') will not be printed to a generated pdf file, but the other German "special" character "ß" works.

 

I use the trial version via the Telerik NuGet feed. A test program and my locally generated file are attached.

Attached Files:
Duplicated
This item is a duplicate of an already existing item. You can find the original item here:
2 comments
Oskar
Posted on: 25 Jun 2020 05:24
Thanks for the response and advice :). I will load the Arial font family from the Windows font directory to print the special characters.
ADMIN
Martin
Posted on: 22 Jun 2020 11:14

Hi Oskar,

I am sorry to hear you are experiencing issues due to a not supported functionality. Currently, Standard fonts are exported always with StandardEncoding that does not allow the export of some special characters which do not fit in the first 255 glyph definitions in the font. We have an item logged in our backlog to provide such functionality: PdfProcessing: Export Standard fonts with Custom encoding. You can cast your vote for the implementation as well as subscribe to the task by clicking the Follow button so you can receive updates about status changes.

The implementation of this feature would allow exporting characters that do not fit in the first 255 glyph definitions. What I can suggest as a workaround until the functionality is implemented is to use a font that defines the glyphs in its 255 definitions. An example of such a font is Arial.

In order to be sure these characters to be visible after export, you can register the Font file into the FontsRepository. For more information about how to register a Font in the FontsRepository, please, check the Registering a Font help topic.

I slightly modify the provided sample project in order to demonstrate the described functionality. Please, feel free to modify it in way closer to your scenario.

Regards,
Martin
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.