Skip to content

Instantly share code, notes, and snippets.

View sovichet's full-sized avatar

Sovichet Tep sovichet

View GitHub Profile
@sovichet
sovichet / extract_custom_glyphdata.py
Last active January 7, 2024 06:58
Extract custom glyphdata from selected glyphs
import os.path
import xml.etree.ElementTree as ET
'''
Use this script in Glyphs Macro window to extract the glyph info from the
selected glyphs, and saved as a custom XML file.
'''
root = ET.Element("glyphData")
root.set("format", "2")