This is a migrated thread and some comments may be shown as answers.

Special characters

1 Answer 461 Views
PDF Export
This is a migrated thread and some comments may be shown as answers.
Caio
Top achievements
Rank 1
Caio asked on 27 Jul 2020, 02:55 PM
Hi,

I have some problems with special characters when exporting to pdf. Characters such as: "á" and "ã".

Can you help me?

Example: https://angular-xpa3lf-h8vuuw.stackblitz.io

1 Answer, 1 is accepted

Sort by
0
Accepted
Preslava
Telerik team
answered on 29 Jul 2020, 07:48 AM

Hello Caio,

The reason for the demonstrated behavior is that the PDF file is missing the required font for the special characters. The issue is not present when the characters are displayed in the browser, as the browser has the required font for the specific characters by default. The PDF file also has some default fonts that it supports, but these are different from the ones in the browser. Thus, if the PDF file has to render some characters that it doesn't recognize, then the reported behavior will occur. What should be done to avoid such behavior is to manually embed the required font in the PDF, as demonstrated in the following article:

https://www.telerik.com/kendo-angular-ui/components/pdfexport/embedded-fonts/

I hope this helps. Let me know, should there be further questions.

Regards,
Preslava
Progress Telerik

Tags
PDF Export
Asked by
Caio
Top achievements
Rank 1
Answers by
Preslava
Telerik team
Share this question
or