Skip to content

builder: a .glyphs source without customParameters is not variable - #1230

Merged
simoncozens merged 1 commit into
mainfrom
is-variable-without-custom-parameters
Oct 7, 2026
Merged

simoncozens merged 1 commit into
mainfrom
is-variable-without-custom-parameters

Conversation

@felipesanches

Copy link
Copy Markdown
Member

File.is_variable indexed the font-level customParameters list, which a single-master .glyphs file need not have, so the fontc path (which asks every source whether it is variable) crashed with KeyError. Treat a missing list as empty.

This is needed by googlefonts/fontc_crater#100

Assisted by an AI agent (Claude Opus 5.5)

File.is_variable indexed the font-level customParameters list, which a
single-master .glyphs file need not have, so the fontc path (which asks
every source whether it is variable) crashed with KeyError. Treat a
missing list as empty.

Assisted by an AI agent (Claude Opus 5.5)
@simoncozens
simoncozens merged commit d8a6e22 into main Oct 7, 2026
16 of 17 checks passed
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.

2 participants