googlefonts / googlefonts/glyphsLib

glyphs2ufo, Fontinfo: do not write out empty values unless they mean something

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

Description

E.g. postscriptBlueValues and postscriptOtherBlues just clutter the fontinfo when they're empty.

Other empty lists like openTypeOS2Type have a meaning.

Contributor guide

Open the contributing guide

Research direction

Locate the glyphs2ufo and Fontinfo serialization code that handles postscriptBlueValues, postscriptOtherBlues, and openTypeOS2Type. Inspect existing tests for empty-list output and add coverage for the distinction described in the issue. Done means empty values without meaning are omitted while meaningful empty lists remain written.

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
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.