Closed jayliaoo closed 1 year ago
Your observation is correct. A fallback font is just that, a fallback font. There are no styles for the fallback font. The first font in which the glyph is found is used. The purpose of the fallback font is to catch a missing glyph so at least the character appears in the rendered document. If you want the character to be displayed in the style that you want, then it needs to be in the main font.
If you need further assistance, please ask in the project chat at https://chat.asciidoctor.org.
but it applies to inline bold, italic, and bold_italic text. Here is an example:
*粗体中文(Bold Chinese)*
_斜体中文(Italic Chinese)_
*_粗斜体中文(Bold Italic Chinese)_*
The output is like this: They are formatted properly.
It must be the case that it is using a different font in that case that provides those characters (so the fallback font is not used). I assure you that the fallback font will not show up in bold, italic, or bold italic because there is no such font in the distribution.
I'm a user of this repo from China who needs to use English and Chinese in single documents. My theme file is as below:
My adoc file is as below:
The output is like this: As we can see, Chinese is not italic in the table title and is not bold in the table header.