Skip to content

Chromium new font rendering backend #18

@maximilionus

Description

@maximilionus

No more FreeType

Starting from Chromium 133 release, it no longer uses FreeType to render fonts and, as expected, no longer respects any FreeType configurations. Instead, the self-written Rust project called Skrifa 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 (in nutshell, small size fonts emboldening) is basically dead for now, as Skrifa completely ignores those parameters.

So what now?

At the quick look I made on Skrifa repo, there are no visible ways to set the settings the way FreeType allowed us to do, and considering the project goal "safety first and foremost" - I have a hard time imagining that something like that will be possible ever. 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