Page 1 of 1

PDF CSS - Page header and cyrillic languages

Posted: Fri Nov 02, 2018 10:34 am
by annyjul
Hi! I'm trying to customize the PDF page layout with CSS following this guide. It works for european languages, but fails to display the russian and other cyrillic languages ('#####' instead of expected content).
Is it possible to make header/footer content customization work with cyrillic languages?

Re: PDF CSS - Page header and cyrillic languages

Posted: Fri Nov 02, 2018 11:05 am
by annyjul
I solved the problem by specifying font for each customized string-set aka:

Code: Select all

@page :right {
@top-right {
content: "РУССКИЕБУКВЫ" counter(page);
font-family: "Times New Roman", "Times", serif;
}
}
I thought @page and !important was enough, but apparently it's not. :)