Project

General

Profile

Actions

Support #15204

closed

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

Added by scott voth about 2 years ago. Updated about 2 years ago.

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

0%

Estimated time:
Deployment actions:

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 StagesAbandoned2022-02-03

Actions
Actions #1

Updated by Boone Gorges about 2 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?

Actions #2

Updated by scott voth about 2 years ago

  • Status changed from Reporter Feedback to Resolved

Awesome! Thanks. It works.

Actions #3

Updated by Boone Gorges about 2 years ago

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

Also available in: Atom PDF