asciidoctor / asciidoctor-pdf

:page_with_curl: Asciidoctor PDF: A native PDF converter for AsciiDoc based on Asciidoctor and Prawn, written entirely in Ruby.
https://docs.asciidoctor.org/pdf-converter/latest/
MIT License
1.14k stars 501 forks source link

Can not export Chinese document #2385

Closed god464 closed 1 year ago

god464 commented 1 year ago

I'm trying to export my document accoding to this guide. Unfortunately, it can not display text correctly. But when I try to run asciidoctor-pdf -a scripts=cjk -a pdf-theme=pdf-theme=default-with-fallback-font -a pdf-fontsdir=./themes test.adoc, it can display some letters normally. What can I do?

PS:

  1. My asciidoctor-pdf version is 2.3.4.
  2. config-theme.yml is same as the doc, fonts are also downloading from doc.
mojavelinux commented 1 year ago

Please direct questions about using Asciidoctor PDF to the project chat at https://chat.asciidoctor.org. Someone there will be able to help you. The issue tracker is not a support portal.

When you post, please share a sample document so that someone else can test what you are trying to convert.