googlefonts / googlefonts/glyphsLib

Rename Glyphs custom parameter handler doesn't affect kerning

Open
#1,053 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
201
Forks
56
Avg merge
17m
Merged PRs (30d)
1

Description

I don't need this in glyphsLib but I discovered in when working on babelfont: The Glyphs "Rename Glyphs" custom parameter also swaps the names of glyphs in the kerning tables as well; we just swap the outlines, meaning the kerning (or lack of kerning) of the old glyph is applied to the new glyph.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how the Glyphs "Rename Glyphs" custom parameter is handled and where kerning tables are converted. Verify how glyph-name swaps affect outlines versus kerning, then confirm the fix by checking that kerning follows the renamed glyphs, including cases with no kerning.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.