Adding a symbol makes the PDF huge #4078
Replies: 4 comments 4 replies
-
Related: #895 |
Beta Was this translation helpful? Give feedback.
-
Which Typst version are you using? (From |
Beta Was this translation helpful? Give feedback.
-
It's one of two things. Either the subsetting @PgBiel mentioned, or because those symbols can become emojis depending on the font used. Unless you explicitly set an emoji font, the font used will vary between your computer and the web-app depending on the fallback font used. Moreover, emojis are broken in pdf in the current release (they work on main). |
Beta Was this translation helpful? Give feedback.
-
It is most likely #3777 it should be fixed on main. |
Beta Was this translation helpful? Give feedback.
-
Description
I'm compiling on ArchLinux, and using any
sym
symbol increases the PDF size by about 9.7MB.I cannot reproduce it on the web app (see below link), but with the same code, it can be reliably reproduced on my laptop.
Is it a matter of fonts (I'm using Noto Fonts by default)? How to fix it?
If it's a font issue, maybe a compiler warning could be useful?
Thanks!
Reproduction URL
https://typst.app/project/rnjf_mj61DhePSKMgYy1aa
Operating system
Linux
Typst version
Beta Was this translation helpful? Give feedback.
All reactions