Closed xjxl520303 closed 3 months ago
It turns out Typst's default fonts do not contain any chinese glyphs. The Typst CLI and Webapp can automatically find and fallback to a font that supports the glyphs. For the plugin you need to tell it to load the correct fonts in the plugin settings, if you're using windows the font "Microsoft YaHei" works for me.
Unfortunately this is not supported on mobile, I should probably include a basic fallback for that case.
It turns out Typst's default fonts do not contain any chinese glyphs. The Typst CLI and Webapp can automatically find and fallback to a font that supports the glyphs. For the plugin you need to tell it to load the correct fonts in the plugin settings, if you're using windows the font "Microsoft YaHei" works for me.
Unfortunately this is not supported on mobile, I should probably include a basic fallback for that case.
Great! Tky, It works
Can't correctly show Chinese characters in code block typst。