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
Incorrect Chinese punctuation placement when paragraph is justified #8557
FYI, this is language specific, not common to all CJK. So the issue should clarify the context of which language setting(s) this issue is relevent. More specifically whether this only applies to Chinese only, or both Chinese and Japanese.
But this clearly does not apply to modern Korean punctuation. Modern Korean punctuation closely mirrors Western convention, so commas should not appear in the middle like that. Nor does Korean punctuation use white circles instead of period.
The only case such punctuation might apply to Korean setting is when mimicking ancient vertical writing layout, for reproducing historical documents in the original layout in the digital typography. It should never apply to modern Korean horizontal left to right layout.
changed the title [-]Incorrect CJK punctuation placement when paragraph is justified[/-][+]Incorrect Chinese punctuation placement when paragraph is justified[/+]on Jun 29, 2026
Well, the problem is that you have to #set text(lang: "zh", region: "HK") (or TW). This enables the adjustment algorithm for Traditional Chinese. (It also enables many more localization features. For example, the default title of #bibliography().)
Code
#setpar(justify: true)
#settext(font: "Noto Sans CJK TC")
= Default (en)
室几內急星月借室四問詞。姊童面錯陽,幾辛戊東行九害己百丁巴正子河士節四大,隻雲太呢雄住嗎息園。苦才登上太未哪朱陽戊禾向跳?完香公不合,連害親學時田吧夕足能記直消要。
= Set to zh-HK#settext(lang: "zh", region: "HK")
室几內急星月借室四問詞。姊童面錯陽,幾辛戊東行九害己百丁巴正子河士節四大,隻雲太呢雄住嗎息園。苦才登上太未哪朱陽戊禾向跳?完香公不合,連害親學時田吧夕足能記直消要。
There're still space to improve the treatment for centered punctuation marks (e.g., #8390), but I think this issue can be closed. If you find any further specific problems, you can always open a new issue.
Activity
kyagrd commentedon Jun 28, 2026
FYI, this is language specific, not common to all CJK. So the issue should clarify the context of which language setting(s) this issue is relevent. More specifically whether this only applies to Chinese only, or both Chinese and Japanese.
But this clearly does not apply to modern Korean punctuation. Modern Korean punctuation closely mirrors Western convention, so commas should not appear in the middle like that. Nor does Korean punctuation use white circles instead of period.
The only case such punctuation might apply to Korean setting is when mimicking ancient vertical writing layout, for reproducing historical documents in the original layout in the digital typography. It should never apply to modern Korean horizontal left to right layout.
[-]Incorrect CJK punctuation placement when paragraph is justified[/-][+]Incorrect Chinese punctuation placement when paragraph is justified[/+]YDX-2147483647 commentedon Jul 1, 2026
Well, the problem is that you have to
#set text(lang: "zh", region: "HK")(or TW). This enables the adjustment algorithm for Traditional Chinese. (It also enables many more localization features. For example, the default title of#bibliography().)Code
There're still space to improve the treatment for centered punctuation marks (e.g., #8390), but I think this issue can be closed. If you find any further specific problems, you can always open a new issue.