You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			31 lines
		
	
	
		
			661 B
		
	
	
	
		
			Python
		
	
			
		
		
	
	
			31 lines
		
	
	
		
			661 B
		
	
	
	
		
			Python
		
	
"""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
 | 
						|
 | 
						|
 | 
						|
@deprecateFunction("use logging instead", category=DeprecationWarning)
 | 
						|
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
 |