Login  Register

Re: CJK support in PDF: state of the art?

Posted by Alexander Schwartz on Feb 21, 2021; 9:20pm
URL: https://discuss.asciidoctor.org/CJK-support-in-PDF-state-of-the-art-tp8529p8531.html

That question came up related to the IntelliJ AsciiDoc plugin. I summarized some of it in the users manual here: https://intellij-asciidoc-plugin.ahus1.de/docs/users-guide/features/advanced/pdf-non-latin-languages.html

My understanding is that you need asciidoctor-pdf, TTF fonts placed in the right folder and a theme. I am not sure about the current state of OTF support.

The KaiGen Gothic fonts are available here: https://github.com/minjiex/kaigen-gothic/tree/master/dist/CN.

I can't read/write Chinese, but AFAIK the solution worked for diguage. See the link above for a working example.

A search on GitHub revealed some alternative Source Han Sans ready-build TTF fonts here: https://github.com/be5invis/source-han-sans-ttf



 
Alexander Schwartz (alexander.schwartz@gmx.net)
https://www.ahus1.de