Skip to content

CJK-Latin-spacing not working with raw text #2702

@jiaojiaodubai

Description

@jiaojiaodubai

Description

Minimum working example

汉字`(code)`汉字

汉字 `(code)` 汉字

I tried to write the name of a function in raw text with parentheses, and then I found that there were no spaces between it and the subsequent CJK text. Logically speaking, regardless of the content in raw text, it should be considered as Latin text.

Reproduction URL

No response

Operating system

Windows

Typst version

  • I am using the latest version of Typst

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcjkChinese, Japanese, Korean typography.textRelated to the text category, which is all about text handling, shaping, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions