Skip to content

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

Open
@alerque

Description

@alerque

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions