Skip to content

Chinese text spacing and bold rendering issues #590

@songyuc

Description

@songyuc

Description

When using Typst to typeset Chinese text, I noticed two major issues affecting the appearance of Chinese documents in the online editor:

  1. Uneven character spacing: The spacing between Chinese characters is inconsistent, resulting in unnatural typography.
  2. 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:

  1. Open the Typst online editor.
  2. Enter a block of Chinese text.
  3. Observe the preview panel on the right side.

Expected Behavior:

  1. Chinese text should have consistent spacing between characters, similar to professionally typeset documents.
  2. Bold styles should apply uniformly to Chinese characters without any unusual or exaggerated thickness.

Actual Behavior:

  1. The spacing between Chinese characters is uneven, and the layout looks unnatural.
  2. Some Chinese characters appear in a strange, exaggerated bold style, even when the rest of the text looks normal.

Screenshots:

Image

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.

Reproduction URL

No response

Browsers

Microsoft Edge

OS

Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working.editorRelated to the text/markup editor.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions