Created
July 12, 2022 17:35
-
-
Save madig/b226c5feff330f64691ed71085c1e0d5 to your computer and use it in GitHub Desktop.
Embed glyph metadata in source file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# MenuTitle: Embed Glyph Metadata in Current Font | |
"""Embeds production name, category and sub category into each glyph of the | |
current font.""" | |
for glyph in Glyphs.font.glyphs: | |
glyph.storeProductionName = True | |
glyph.storeSubCategory = True | |
glyph.storeCategory = True |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Mh, likely not, because we are working around the fact that glyphsLib behavior does not match Glyphs.app behavior (exhibit A: googlefonts/glyphsLib#756). Glyphs.app itself does not need this.