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

Chinese fonts cannot be displayed in typst #141

Open
shuen2023 opened this issue Apr 30, 2024 · 6 comments
Open

Chinese fonts cannot be displayed in typst #141

shuen2023 opened this issue Apr 30, 2024 · 6 comments

Comments

@shuen2023
Copy link

I try to define font file. Place the downloaded ttf file in the folder. But when I edit the typst file preview, it doesn't show up.

@soupslurpr
Copy link
Owner

Did you follow this comment?: typst/typst#416 (comment)

@shuen2023
Copy link
Author

Did you follow this comment?: typst/typst#416 (comment)

Yes I have seen that. But it doesn't seem to work
Screenshot_20240430_112259_com huawei filemanager
Screenshot_20240430_112354_dev soupslurpr beautyxt

@soupslurpr
Copy link
Owner

Hm, have you tried capitalizing the w or maybe wenkai.ttf? Also could you share the file with me so I can try?

@shuen2023
Copy link
Author

嗯,您尝试过将 w 或 wenkai.ttf 大写吗?另外您可以与我分享该文件以便我尝试吗?
Okay, thank you。

wenkai.zip

@soupslurpr
Copy link
Owner

Hm, oddly, it seems that the capability to use custom fonts is completely broken?

@shuen2023
Copy link
Author

Hm, oddly, it seems that the capability to use custom fonts is completely broken?

I do not know why either. I changed several fonts but still can't preview properly.

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