googlefonts / googlefonts/glyphsLib
glyphsLib does not handle localized names in Glyphs
- Dominant language
- Python
- Stars
- 201
- Forks
- 56
- Avg merge
- 17m
- Merged PRs (30d)
- 1
Description
I'm working on a font that has a localized name in Glyphs. While I see the key showing up in the UFO's lib file, it isn't being processed and put into the UFO fontinfo NameRecords. As such, the font that is generated out of fonttools lacks the proper localized name.
Here is the relevant key from the lib file:
com.schriftgestaltung.customParameter.GSFont.localizedFamilyName
Japanese;しっぽりアンチック
Here is a sample Glyphs file that has a localized name:
[ShipporiAntiqueMKanaLantenOnly.glyphs.zip](https://github.com/googlefonts/glyphsLib/files/5503589/ShipporiAntiqueMKanaLantenOnly.glyphs.zip)
Contributor guide
Research direction
Start by reproducing the issue with the provided ShipporiAntiqueMKanaLantenOnly.glyphs sample and inspect how com.schriftgestaltung.customParameter.GSFont.localizedFamilyName is transferred from the Glyphs lib into UFO fontinfo NameRecords. Done means the localized Japanese name is present in NameRecords and the generated font from fonttools contains the proper localized name.
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
- 35/100