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

Seems does not support Microsoft YaHei font #752

Closed
zylthinking opened this issue Apr 12, 2023 · 1 comment
Closed

Seems does not support Microsoft YaHei font #752

zylthinking opened this issue Apr 12, 2023 · 1 comment
Labels
bug Something isn't working text Text layout, shaping, internationalization, etc.

Comments

@zylthinking
Copy link

zylthinking commented Apr 12, 2023

#set text(font: "Microsoft YaHei", size: 8pt)

Has no visual effect.
typst --font-path /path/to/yahei-dir fonts does not list it.

@reknih reknih added bug Something isn't working text Text layout, shaping, internationalization, etc. labels Apr 12, 2023
@zylthinking
Copy link
Author

zylthinking commented Apr 13, 2023

I found the cause: the font file does not contains an extension like .ttf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working text Text layout, shaping, internationalization, etc.
Projects
None yet
Development

No branches or pull requests

2 participants