Skip to content

Conversation

@wmedrano
Copy link
Contributor

@wmedrano wmedrano commented Dec 26, 2025

Fonts can either be scaled by Skrifa or with manual transforms. The TODO comment mis-attributes drawing inaccuracies to colr fonts, but it is actually due to the use of transforms. Transforms (especially with translation) should be applied after scaling.

  • Before
    • Color fonts use manual scaling
    • Non-Color fonts use Skrifa's built-in scaling
  • After
    • Glyphs using colr transforms will use manual scaling
    • Glyphs without colr transforms will use Skrifa's built-in scaling

@wmedrano wmedrano force-pushed the wmedrano branch 5 times, most recently from 4669620 to a29ddf8 Compare January 2, 2026 20:02
- Refactor the code to make choice more explicit
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

Successfully merging this pull request may close these issues.

1 participant