Better HN
topnewbestaskshowjobs
Log inSign up

drott

24 karma · joined Mar 19, 2025 (1y ago) · 3 submissions

Submissions

comment 1y ago · link · parent

In the viewer, press '/' and configure hinting to full, or modify the source in gm/fontations.cpp and call SkFont::setHinting(SkFontHinting::kFull) or kNormal.

comment 1y ago · link · parent

Yes, Skrifa executes TrueType hints and has a new autohinting implementation written in Rust. We use these modes in Chrome.

comment 1y ago · link · parent

We're using https://cxx.rs/ to create the bindings and FFI interface. That's not provided with Fontations, but this bit is part of the Chromium and Skia integration. The code is here: https://source.chromium.org/chromium/chromium/src/+/main:thi...