Yoohoo-Plugins/pmpro-pdf-invoices

Polish characters in pdf

Opened this issue · 1 comments

Hello

How I change encoding of pdf file becouse instead od showing "łśćżź" I see "?" characters.
How to fix this problem?

Thanks for reaching out @Dares89, you will need to set your HTML template to use a font that supports these characters. I'd like to work on a fix in an upcoming release but for now you may be able to try importing Open Sans directly into your HTML template.

For example:

<link href='http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700&subset=latin,latin-ext' rel='stylesheet' type='text/css' />
<style>
        h1, p, table, span, div {
            font-family: 'Open Sans',monospace;
        }
 </style>