You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Well that is interesting... It is embedded as a Type3 font, which should only happen with color fonts, but it confirms my suspicion that it's a CFF2 font because if the font doesn't have a glyf or CFF table we automatically consider it as a color font:
I've also encountered this problem. Indeed, the Noto Sans font isn't working; however, the IPA font (an older, well-established TTF font for Japanese) does render.
Activity
DeepSpaceTravel commentedon Mar 13, 2025
Fonts correctly picked up by the OS

MDLC01 commentedon Mar 13, 2025
Is the font detected by Typst? You can check that with
typst fonts.DeepSpaceTravel commentedon Mar 13, 2025
It does pick up the font
Also, I didn't know the command exist. Ty
liuguangxi commentedon Mar 13, 2025
Maybe Variable Font couldn't be well processed by Typst.
LaurenzV commentedon Mar 13, 2025
Could you send the resulting PDF? I suspect that it's a CFF2 font, which is currently not supported by Typst.
DeepSpaceTravel commentedon Mar 13, 2025
Here's a stripped down version of the original pdf
sample.pdf
Edit: Re-Upload the file with specified font
LaurenzV commentedon Mar 13, 2025
Well that is interesting... It is embedded as a Type3 font, which should only happen with color fonts, but it confirms my suspicion that it's a CFF2 font because if the font doesn't have a
glyforCFFtable we automatically consider it as a color font:typst/crates/typst-library/src/text/font/color.rs
Lines 19 to 28 in 1b2714e
The glyph in the PDF stream is literally drawn as a tofus:
which makes me wonder why that happens, because ttf-parser does support CFF2 fonts. @laurmaedje Any ideas?
DeepSpaceTravel commentedon Mar 16, 2025
Update: With same font and typst file.
This behavior is NOT observed on Windows platform.
(i.e. The syntax works as expected on Windows.)
Edit: The font is called :
Noto Sans TCon Windows,However, Linux reads it as
Noto Sans CJK TCBut it should be the same font
tani commentedon May 23, 2025
I've also encountered this problem. Indeed, the Noto Sans font isn't working; however, the IPA font (an older, well-established TTF font for Japanese) does render.
conao3 commentedon May 23, 2025
Variable fonts problem? #185
lumingzh commentedon Jun 11, 2025
Should be variable fonts problem, you can try install non-vf fonts like Source Han Sans/Serif SC otf fonts and use them instead.
YDX-2147483647 commentedon Jun 5, 2026
#8425 has just been merged. This issue can be closed if there's no further problem. See also #8434.