googlefonts / googlefonts/glyphsLib
glyphs2ufo, Fontinfo: do not write out empty values unless they mean something
Open
- 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
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