PDF CSS - Page header and cyrillic languages

Post here questions and problems related to editing and publishing DITA content.
annyjul
Posts: 11
Joined: Fri Mar 02, 2018 12:20 pm

PDF CSS - Page header and cyrillic languages

Post 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?
annyjul
Posts: 11
Joined: Fri Mar 02, 2018 12:20 pm

Re: PDF CSS - Page header and cyrillic languages

Post 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. :)
Post Reply