Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
553 B
Python
Raw Normal View History

"""fontTools.ttLib -- a package for dealing with TrueType fonts."""
from fontTools.misc.loggingTools import deprecateFunction
import logging
log = logging.getLogger(__name__)
2022-12-13 11:26:36 +00:00
class TTLibError(Exception):
pass
2022-12-13 11:26:36 +00:00
class TTLibFileIsCollectionError(TTLibError):
pass
2022-12-13 11:26:36 +00:00
@deprecateFunction("use logging instead", category=DeprecationWarning)
def debugmsg(msg):
import time
2022-12-13 11:26:36 +00:00
2013-11-27 04:57:33 -05:00
print(msg + time.strftime(" (%H:%M:%S)", time.localtime(time.time())))
2022-12-13 11:26:36 +00:00
from fontTools.ttLib.ttFont import *
from fontTools.ttLib.ttCollection import TTCollection