googlefonts / googlefonts/glyphsLib
Exporting and round-tripping userData
Open
- Dominant language
- Python
- Stars
- 202
- Forks
- 57
- Avg merge
- 17m
- Merged PRs (30d)
- 1
Description
In #911 I extended some support for userData in GSAnchor objects, but other things in the Glyphs API can take userData: we currently don't write out the userData for GSInstance, GSFeature (not needed?), GSComponent, GSPath, and GSGuide.
I also didn't make the GSAnchor userData round-trappable, so that should be fixed.
Contributor guide
Research direction
Review issue #911 first, then trace the Glyphs API serialization and round-trip paths for GSAnchor, GSInstance, GSFeature, GSComponent, GSPath, and GSGuide. Run the existing round-trip tests and verify that supported userData is written and restored for each applicable object.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100