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
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") |