AsciidocFX icon indicating copy to clipboard operation
AsciidocFX copied to clipboard

Non-latin Alphabet Problem

Open WyxXu opened this issue 2 years ago • 4 comments

image

When I save note as PDF, all Chinese character ,and some character from other non-latin alpabet language, cracks.

WyxXu avatar Feb 18 '23 18:02 WyxXu

https://github.com/asciidocfx/AsciidocFX/issues/578

rahmanusta avatar Feb 18 '23 19:02 rahmanusta

#578

thanks, and I find another solution myself:

Copy the font I need to Asciidoctor-CJK-Demo > fonts, and change the yaml config

image

image

But I don't know why Sometimes it all comes to italic sometimes it all display normal. Maybe its yaml writing order issue.

WyxXu avatar Feb 23 '23 05:02 WyxXu

What option can I delegate different font for normal and italic text?

WyxXu avatar Feb 23 '23 05:02 WyxXu

Method A - (https://github.com/life888888/asciidoctor-pdf-cjk-ext#asciidocfx) - Asciidoctor PDF theme 中文日文韓文字型 Noto Sans CJK,Noto Sans Mono CJK,Noto Serif CJK 包含4種樣式(Regular,Italic,Bold,BoldItalic自動下載跟開箱即用。

Method B - (https://github.com/life888888/asciidocfx-pdf-fop-cjk-patch) - Asciidoctor + FOP 中文日文韓文字型 Noto Sans CJK,Noto Sans Mono CJK,Noto Serif CJK 包含4種樣式(Regular,Italic,Bold,BoldItalic自動下載跟開箱即用。

Asciidoctor CJK Examples (https://github.com/life888888/asciidoctor-pdf-cjk-ext-gradle-examples)

life888888 avatar Feb 23 '23 06:02 life888888