Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

有序、无序列表 中文与序号无法对齐 #8

Open
dongguaguaguagua opened this issue Apr 16, 2024 · 1 comment
Open

有序、无序列表 中文与序号无法对齐 #8

dongguaguaguagua opened this issue Apr 16, 2024 · 1 comment

Comments

@dongguaguaguagua
Copy link

+ 12345678
+ 中文字体明显下沉
+ abcd efgh
图片

使用的是默认的方正字体。系统MacOS14, typst 0.11.0[latest]

jinhao-huang added a commit that referenced this issue Apr 22, 2024
@jinhao-huang
Copy link
Owner

问题已经确认。

这个问题是因为列表使用了多个字体(英文Times New Roman,中文方正书宋),不同字体使用列表的时候会导致内容下沉。

我在 FixIndenSink 分支提交了临时修复代码,在列表中时临时将字体统一为方正书宋。正式的修复可能需要等待 Typst 官方。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants