• followed the instructions here

    https://wp.dinamiko.com/demos/dkpdf/doc/how-to-add-custom-fonts/

    however can’t get my PDFs to output text in Chinese… all characters come out as squares.

    – changed body font-family in options under custom css but with no results
    – copied both noto-sans and wqy-zenhei to the content/fonts folder
    – changed the code in functions.php to either one of the fonts

    some details: my website is in English but it has a lot of content in Chinese — it’s a documentation repository, so the page lang tag is english.

    Any workaround would be great to know, for example using a default non-serif system font, is that possible?

    • This topic was modified 6 years, 3 months ago by paulovsky.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Chinese script — can’t get it to work’ is closed to new replies.