Skip to content

Chromium new font rendering backend #18

Description

@maximilionus

FreeType no more

Starting from release 133, Chromium no longer uses FreeType to render fonts and, as expected, no longer respects any FreeType configurations. Instead, the Rust project called Skrifa (developed by Google) is used now for font rendering.

Google developers justify this change as a more memory-safe approach to the font rendering in their blog post.

What's broken now?

The full scale of broken stuff is yet to be determined, but multiple reports, including #14 from this repo, state that one of the main goals of this project, stem-darkening (fonts emboldening) is basically dead for now, as Skrifa completely ignores those parameters.

So what now?

After the quick look at the Skrifa repo, there is not a single way to replicate the required functionality, and considering the project goal, "safety first and foremost" - I have a hard time imagining that something like that will be possible. But we'll see.


Update 1: Temporary solution below.

Update 2: Chromium completely dropped the FreeType support. More detailed report here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwontfixThis will not be worked on

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions