Support #15204
closedPDF export replaces Polish letter "ł" with "?"
0%
Description
In https://europeanstages.org/2021/11/23/in-memoriam-mieczyslaw-janowski-1935-2021/ there is a special character (the sixteenth letter in the Polish alphabet) that display fine on the post, but when the content is downloaded to a PDF, that letter is changed to a "?". I tried switching the font of the printer friendly file, but that didn't help. I also used another PDF plugin but that didn't work either. the letter is: ł. Is there any special encoding for this?
Related issues
Updated by Boone Gorges over 3 years ago
- Status changed from New to Reporter Feedback
For the record, the site is using wp-post-to-pdf to generate PDFs.
I looked around for other reports of similar issues, and found something in the readme of wp-post-to-pdf-enhanced: https://github.com/wp-plugins/wp-post-to-pdf-enhanced
= Non-English characters (Cyrillic, etc.) are shown as "?" in the PDF. What's wrong? =
The default fonts used are Helvetica, which is a core (built into most PDF viewers) font, but not a Unicode font. This avoids downloading the entire font package. However, if you find that your text is not rendering, try a DejaVu font first, before reporting this as a bug. You may set this in the options panel.
I went to https://europeanstages.org/wp-admin/options-general.php?page=wp-post-to-pdf%2Fwp-post-to-pdf.php and changed the body text to Arial Unicode and flushed the PDF cache, and now the characters are rendering in the PDF as I would expect them. Can you confirm this one way or another?
Updated by scott voth over 3 years ago
- Status changed from Reporter Feedback to Resolved
Awesome! Thanks. It works.
Updated by Boone Gorges over 3 years ago
- Related to Support #15260: Diacritical markings | European Stages added