Project

General

Profile

Support #15204

PDF export replaces Polish letter "ł" with "?"

Added by scott voth 6 months ago. Updated 6 months ago.

Status:
Resolved
Priority name:
Normal
Assignee:
-
Category name:
WordPress (misc)
Target version:
-
Start date:
2022-01-19
Due date:
% Done:

0%

Estimated time:

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

Related to CUNY Academic Commons - Support #15260: Diacritical markings | European StagesReporter Feedback2022-02-03

History

#1 Updated by Boone Gorges 6 months 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?

#2 Updated by scott voth 6 months ago

  • Status changed from Reporter Feedback to Resolved

Awesome! Thanks. It works.

#3 Updated by Boone Gorges 5 months ago

  • Related to Support #15260: Diacritical markings | European Stages added

Also available in: Atom PDF