-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Letters are not correctly aligned in a grid or table when using some Chinese fonts #1610
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workingneeds-investigationMore investigation is necessary.More investigation is necessary.textRelated to the text category, which is all about text handling, shaping, etc.Related to the text category, which is all about text handling, shaping, etc.
Description
Description
When different fonts are used, they may be not correctly aligned. The font used in the example is Fangzheng Hei GBK (FZHTK.TTF which can be downloaded from https://github.com/Universebenzene/wps-office-fonts/). And this can also cause problems in list or enum
#grid(columns: (2em, 2em), text(font:"Arial")[123], text(font:"FZHei-B01")[123])
#text(font:("Arial","FZHei-B01"))[+ 壹]
Reproduction URL
No response
Operating system
Windows
Typst version
- I am using the latest version of Typst
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingneeds-investigationMore investigation is necessary.More investigation is necessary.textRelated to the text category, which is all about text handling, shaping, etc.Related to the text category, which is all about text handling, shaping, etc.
