Hi,
please, how setting print to PDF. If i'am print node to PDF with czech characters, replace characters (as ě, š, č, ř, ť, ď ) to "?".
I'am test change font helvetica or times. But every even.
Sorry my english
Radek

CommentFileSizeAuthor
nový-1.png110.71 KBLion.creek

Comments

dman’s picture

I don't know this module, but it seems your server where the PDF is produced must be configured to have access to and use the correct fonts.
Are you in control of the server? Or do you need the server administrator to install internationalization support? Most web servers do not have or need many graphic libraries and utilities installed, and supporting international character sets is optional.

jcnventura’s picture

Status: Postponed (maintainer needs more info) » Active
jcnventura’s picture

Status: Active » Postponed (maintainer needs more info)

Hi,

From the screenshot you seem to be using dompdf. This library doesn't support Unicode, and the best I managed to do was to make it support ISO-8859-1. As can be seen in Wikipedia, this doesn't include support for the Czech alphabet.

The font selections you mentioned above are irrelevant as they only apply to TCPDF (as clearly stated in the description).

Try one of the following:

1. Simple: Use TCPDF and choose a Unicode Font. Note that helvetica and times are non-Unicode fonts. Expect the generated PDF to be >700Kb.

2. Really, really complicated. Patch dompdf as explained in here, and then change the utf8_decode() call in print_pdf/print_pdf.pages.inc to either iconv() or mb_convert_encoding(). I never tested this, so you're on your own on this option.

João

jcnventura’s picture

Status: Active » Closed (fixed)

No further info in two weeks. Closing the issue.

João