Skip to content

Typst Universe rendering of README missing character support for Turkish #1862

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

Open
alerque opened this issue Feb 27, 2025 · 0 comments
Open

Comments

@alerque
Copy link
Contributor

alerque commented Feb 27, 2025

The rendering of package README.md files on the Typst Universe site uses Cascadia Mono to render code blocks. Unfortunately the site seems to be useing a webfont version of this font with a limited subset of characters available. According to the CSS, the font itself is is served from https://typst.app/assets/fonts/CascadiaMono-Regular-Sub.woff2.

This font seems to have been subsetted in such a way that it does not have the characters needed to render Turkish properly. I checked some French and German packages I found with non ASCII characters inside code blocks in their README.md files and they seemed fine, e.g. I confirmed that [öğçüé] and others were fine. Missing seem to be at least [ıİşŞğĞ]. This makes for some very sub-par rendering of my decasify package:

Image

Given that many other diacritics are supported and the upstream font has support for Turkish, I would like to request a new subset be generated with more complete coverage, possibly without any language subset optimizations at all so that future language additions don't run into the same problem.

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

No branches or pull requests

1 participant