You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Chinese text spacing and bold rendering issues #590
When using Typst to typeset Chinese text, I noticed two major issues affecting the appearance of Chinese documents in the online editor:
Uneven character spacing: The spacing between Chinese characters is inconsistent, resulting in unnatural typography.
Incorrect bold rendering: Some Chinese characters appear overly bold or have an inconsistent boldness compared to others, which disrupts the uniformity of the text.
Both of these issues make the Chinese text look less professional and harder to read.
Steps to Reproduce:
Open the Typst online editor.
Enter a block of Chinese text.
Observe the preview panel on the right side.
Expected Behavior:
Chinese text should have consistent spacing between characters, similar to professionally typeset documents.
Bold styles should apply uniformly to Chinese characters without any unusual or exaggerated thickness.
Actual Behavior:
The spacing between Chinese characters is uneven, and the layout looks unnatural.
Some Chinese characters appear in a strange, exaggerated bold style, even when the rest of the text looks normal.
Screenshots:
Suggestions:
Include Chinese-compatible fonts, such as Noto Sans SC or Source Han Sans, as default options.
Adjust the rendering rules for bold text to ensure uniform thickness across all Chinese characters.
Implement proper spacing rules specific to Chinese typesetting, including adjustments for punctuation.
Thank you for your attention to this issue! I believe improving Typst's support for Chinese text will greatly enhance its usability for users worldwide.
changed the title [-][Bug] Chinese text spacing and bold rendering issues in Typst editor[/-][+]Chinese text spacing and bold rendering issues[/+]on Sep 18, 2025
Better out of the box behavior for Chinese desirable, but as-is, this is not a bug per se, so I'll close this. I've opened the more general issue #720 instead.
Activity
ShiningYangYXN commentedon Aug 14, 2025
Place the following code at the top of your file to solve your problem.
For more features, use the following instead.
[-][Bug] Chinese text spacing and bold rendering issues in Typst editor[/-][+]Chinese text spacing and bold rendering issues[/+]laurmaedje commentedon Sep 18, 2025
Better out of the box behavior for Chinese desirable, but as-is, this is not a bug per se, so I'll close this. I've opened the more general issue #720 instead.