Branch: refs/heads/main
Home:
https://github.com/fonttools/fonttools
Commit: 82add4f1506691115d0469517a3e9cb74ba17682
https://github.com/fonttools/fonttools/commit/82add4f1506691115d0469517a3e9cb74ba17682
Author: Behdad Esfahbod <
beh...@behdad.org>
Date: 2026-10-05 (Mon, 05 Oct 2026)
Changed paths:
M Lib/fontTools/ttLib/ttGlyphSet.py
M Tests/ttLib/ttGlyphSet_test.py
Log Message:
-----------
[VARC] Report current font coordinates for reset components (#4239)
RESET_UNSPECIFIED_AXES resets inherited coordinates to the font's
current settings, not to zero. Drawing already uses those settings,
but rawLocation passed to addVarComponent pens still contains zeroes
for unspecified axes, so replaying the component changes its outline.
Overlay the original font location on the full zero-filled location
before adding component overrides. Test segment and point pens at
default and non-default locations, with and without inherited axes,
and compare replayed recordings with directly decomposed outlines.
Testing: full pytest suite, 5004 passed; Black check.
Assisted-by: OpenAI Codex
To unsubscribe from these emails, change your notification settings at
https://github.com/fonttools/fonttools/settings/notifications