This file contains hidden or 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 textwrap | |
| import urllib.request | |
| from io import BytesIO | |
| from zipfile import ZipFile | |
| from adobe_glyphs import adobe_glyphs | |
| # FONT_URL = "http://web.archive.org/web/20110531171921if_/http://www.adobe.com/content/dam/Adobe/en/devnet/font/pdfs/Core14_AFMs.zip" | |
| FONT_URL = "https://download.macromedia.com/pub/developer/opentype/tech-notes/Core14_AFMs.zip" |
This file contains hidden or 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 datetime | |
| import time | |
| from pathlib import Path | |
| from fontTools import ttLib | |
| from fontTools import ttx | |
| from fontTools.misc import timeTools | |
| XML_DIRECTORY = Path('ttx') |