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

raw文本框汉字字体不正确 #3

Open
Hibanaw opened this issue Apr 8, 2023 · 3 comments
Open

raw文本框汉字字体不正确 #3

Hibanaw opened this issue Apr 8, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@Hibanaw
Copy link

Hibanaw commented Apr 8, 2023

raw文本框汉字字体不正确,目前会fallback到一些奇怪的字体上。

@werifu
Copy link
Owner

werifu commented Apr 8, 2023

给点截图or复现方式?以及说明下运行环境之类的信息

@Hibanaw
Copy link
Author

Hibanaw commented Apr 8, 2023

OS: Windows 11
typst version: 0.1.0

image

我的临时方案是在project中加一段

show raw: set text(
    font: ("consolas", "heiti sc")
  )

@werifu
Copy link
Owner

werifu commented Apr 8, 2023

因为我之前参照的模板没有关于报告中贴代码块的格式,所以我的模板还没有定义代码块,我可能需要确定后加上

@werifu werifu added the bug Something isn't working label Apr 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants