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
Inconsistent superscript numbers #4006
Comments
Try setting the typographic option of https://typst.app/docs/reference/text/super/ to false I suspect some of the fonts may not include all the necessary codepoints |
Yes, that is a valid workaround. Thanks |
I don't think there's anything we can do about this. The font just doesn't have more of those glyphs. |
It is probably not a good idea for all superscript cases, but for footnote numbers it might make sense to emit a warning if some numbers have superscript glyphs, but a certain one has not. |
What about only enabling the typographic option in the case the font has a complete set of script characters? The transition is the distracting part. |
That sounds like a quite good idea. |
We'll need to check how coverage looks for common fonts. |
Description
In the following code, the first three numbers of the footnotes are bold (?), and from four onward they are not anymore. However, this does only happen with some fonts (like CMU Serif or CMU Serif Extra).
Result:
and
(Using
typst 0.11.0 (2bf9f95d)
)Reproduction URL
No response
Operating system
Linux
Typst version
The text was updated successfully, but these errors were encountered: