[fonttools/fonttools] 9c53dd: Round variable COLR clip edges outwards

1 view
Skip to first unread message

Behdad Esfahbod

unread,
Oct 11, 2026, 3:35:01 AM (4 days ago) Oct 11
to fontto...@googlegroups.com
Branch: refs/heads/instancer-colr-clip-rounding
Home: https://github.com/fonttools/fonttools
Commit: 9c53dd37b4459ff1c2fa77bb55fcb53b5ea239cc
https://github.com/fonttools/fonttools/commit/9c53dd37b4459ff1c2fa77bb55fcb53b5ea239cc
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 648 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