Description
macOS has two Chinese fonts, Kaiti SC and Kaiti TC. They both have three variants: regular, bold, and black.
I can use these variants in Word, but typst renders them the same:
#text("测试", font: "Kaiti SC", weight: "regular")
#text("测试", font: "Kaiti SC", weight: "bold")
#text("测试", font: "Kaiti SC", weight: "black")
And the expected result should be like Word:
So I wonder why this happens and print what fonts typst is using:
$ typst fonts --variants | rg Kaiti -A 5
Kaiti SC
- Style: Normal, Weight: 400, Stretch: FontStretch(1000)
- Style: Normal, Weight: 400, Stretch: FontStretch(1000)
- Style: Normal, Weight: 400, Stretch: FontStretch(1000)
Kaiti TC
- Style: Normal, Weight: 400, Stretch: FontStretch(1000)
- Style: Normal, Weight: 400, Stretch: FontStretch(1000)
- Style: Normal, Weight: 400, Stretch: FontStretch(1000)
Kannada MN
- Style: Normal, Weight: 400, Stretch: FontStretch(1000)
Three Normal styles with the same weight? This seems incorrect! I also tried other fonts like Heiti SC/TC and they seem correct:
$ typst fonts --variants | rg Heiti -A 5
Heiti SC
- Style: Normal, Weight: 400, Stretch: FontStretch(1000)
- Style: Normal, Weight: 300, Stretch: FontStretch(1000)
Heiti TC
- Style: Normal, Weight: 400, Stretch: FontStretch(1000)
- Style: Normal, Weight: 300, Stretch: FontStretch(1000)
Helvetica
- Style: Normal, Weight: 400, Stretch: FontStretch(1000)
- Style: Normal, Weight: 700, Stretch: FontStretch(1000)
My environment:
- macOS: 14.5 (23F79)
- typst: 0.11.1
Reproduction URL
No response
Operating system
macOS
Typst version
Description
macOS has two Chinese fonts,
Kaiti SCandKaiti TC. They both have three variants: regular, bold, and black.I can use these variants in Word, but typst renders them the same:
And the expected result should be like Word:
So I wonder why this happens and print what fonts typst is using:
Three Normal styles with the same weight? This seems incorrect! I also tried other fonts like
Heiti SC/TCand they seem correct:My environment:
Reproduction URL
No response
Operating system
macOS
Typst version