Download .venv/lib/python3.12/site-packages/fontTools/ttLib/__init__.py from FaustDerLegende/split: direct link, hf CLI and curl.
- Browser
- Download file 660 Bytes
-
https://huggingface.co/datasets/FaustDerLegende/split/resolve/main/.venv/lib/python3.12/site-packages/fontTools/ttLib/__init__.py
- Command line
-
hf download hf://datasets/FaustDerLegende/split/.venv/lib/python3.12/site-packages/fontTools/ttLib/__init__.py
-
curl -L -o __init__.py https://huggingface.co/datasets/FaustDerLegende/split/resolve/main/.venv/lib/python3.12/site-packages/fontTools/ttLib/__init__.py
660 Bytes
| """fontTools.ttLib -- a package for dealing with TrueType fonts.""" | |
| from fontTools.config import OPTIONS | |
| from fontTools.misc.loggingTools import deprecateFunction | |
| import logging | |
| log = logging.getLogger(__name__) | |
| OPTIMIZE_FONT_SPEED = OPTIONS["fontTools.ttLib:OPTIMIZE_FONT_SPEED"] | |
| class TTLibError(Exception): | |
| pass | |
| class TTLibFileIsCollectionError(TTLibError): | |
| pass | |
| def debugmsg(msg): | |
| import time | |
| print(msg + time.strftime(" (%H:%M:%S)", time.localtime(time.time()))) | |
| from fontTools.ttLib.ttFont import * | |
| from fontTools.ttLib.ttCollection import TTCollection | |