[fonttools/fonttools] cb92ea: Round variable COLR clip edges outwards

2 views
Skip to first unread message

Behdad Esfahbod

unread,
Oct 11, 2026, 2:47:46 AM (4 days ago) Oct 11
to fontto...@googlegroups.com
Branch: refs/heads/instancer-colr-clip-rounding
Home: https://github.com/fonttools/fonttools
Commit: cb92ea2b91aa5fe5c0a0daac099069d3b4d5b327
https://github.com/fonttools/fonttools/commit/cb92ea2b91aa5fe5c0a0daac099069d3b4d5b327
Author: Behdad Esfahbod <beh...@behdad.org>
Date: 2026-10-11 (Sun, 11 Oct 2026)

Changed paths:
M Lib/fontTools/varLib/instancer/colr.py
M Tests/varLib/instancer/colr_test.py

Log Message:
-----------
Round variable COLR clip edges outwards

Round minimum clip edges down and maximum edges up when folding
variation deltas. Nearest rounding can shrink the clip box and cut
painted pixels.

Cover signed fractional deltas, the default location, and direct and
composed instances in both axis orders at ordinary coordinate values.
All 664 related tests passed, with 3 optional pathops tests skipped.

Assisted-by: Codex



To unsubscribe from these emails, change your notification settings at https://github.com/fonttools/fonttools/settings/notifications
Reply all
Reply to author
Forward
0 new messages