Skip to content

Add font exceptions for Kaiti SC and Kaiti TC#4616

Merged
laurmaedje merged 3 commits intotypst:mainfrom
Leedehai:kaiti-exceptions
Aug 5, 2024
Merged

Add font exceptions for Kaiti SC and Kaiti TC#4616
laurmaedje merged 3 commits intotypst:mainfrom
Leedehai:kaiti-exceptions

Conversation

@Leedehai
Copy link
Copy Markdown
Contributor

@Leedehai Leedehai commented Jul 25, 2024

Fixes #4532. Tested on macOS:

#text("测试", font: "Kaiti SC", weight: "regular")
#text("测试", font: "Kaiti SC", weight: "bold")
#text("测试", font: "Kaiti SC", weight: "black")
Output PDF
Before Screenshot 2024-07-24 at 22 42 24
After Screenshot 2024-07-24 at 22 41 32

@laurmaedje laurmaedje added this pull request to the merge queue Aug 5, 2024
@laurmaedje
Copy link
Copy Markdown
Member

Thanks!

Merged via the queue into typst:main with commit 5e187a5 Aug 5, 2024
@Leedehai Leedehai deleted the kaiti-exceptions branch August 5, 2024 13:39
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

Successfully merging this pull request may close these issues.

Unable to get correct variants of macOS's Chinese fonts Kaiti SC and Kaiti TC

2 participants