
    h}                     |    S SK r S SKJrJrJr  S SK7  S SKJr  SS jr\	S:X  a  \ R                  " \" 5       5        gg)    N)OPTIMIZE_FONT_SPEED
TTLibErrorTTLibFileIsCollectionError)*)TTCollectionc           	         SSK Jn  U c  [        R                  SS n SSKnUR                  SSSS9nUR                  S	S	S
SS9  UR                  SSSSSS9  UR                  SSSSSS9  UR                  SSSSS9  UR                  SSSSS9  UR                  S S!S"S#S$9  UR                  S%S&SS'S(9  UR                  S)S*S"S+S$9  UR                  S,S-S"S.S$9  UR                  S/SS0S19  UR                  U 5      nUR                  b  [        UR                  5      OSnUR                  nUR                  nUR                  nUR                  n	UR                  n
UR                  nUR                   n/ nUR"                   H;  n [%        UU
UUUS29nU(       a  XR&                  [(        '   UR+                  U5        M=     U	c4  US4L a  S
/n	O+U(       a"  1 S5kR5                  WR7                  5       5      n	O/ n	U H=  nS6U	;   a  UR9                  5         S
U	;  a  U	OUR7                  5        H  nUU     M
     M?     Ub^  [;        U5      S:X  a  XS   l        US   R=                  U5        gUb  [?        S75      e[/        5       nUUl        UR=                  U5        gg! [,         a)    [/        XS39nUR1                  UR2                  5         GMM  f = f)8a  Open/save fonts with TTFont() or TTCollection()

  ./fonttools ttLib [-oFILE] [-yNUMBER] files...

If multiple files are given on the command-line,
they are each opened (as a font or collection),
and added to the font list.

If -o (output-file) argument is given, the font
list is then saved to the output file, either as
a single font, if there is only one font, or as
a collection otherwise.

If -y (font-number) argument is given, only the
specified font from collections is opened.

The above allow extracting a single font from a
collection, or combining multiple fonts into a
collection.

If --lazy or --no-lazy are give, those are passed
to the TTFont() or TTCollection() constructors.
r   )configLoggerN   zfonttools ttLibz/Open/save fonts with TTFont() or TTCollection()a"  
		If multiple files are given on the command-line,
		they are each opened (as a font or collection),
		and added to the font list.

		The above, when combined with -o / --output,
		allows for extracting a single font from a
		collection, or combining multiple fonts into a
		collection.
		)descriptionepilogfontr   z
Font file.)metavarnargshelpz-tz--tabletableappendzTables to decompile.)r   actionr   z-oz--outputFILEzOutput file.)r   defaultr   z-yNUMBERz%Font number to load from collections.z--lazy
store_truezLoad fonts lazily.)r   r   r   z	--no-lazylazystore_falsezLoad fonts immediately.)destr   r   z--flavorflavorz)Flavor of output font. 'woff' or 'woff2'.)r   r   r   z--no-recalc-timestamprecalcTimestampz,Keep the original font 'modified' timestamp.z-brecalcBBoxeszGDon't recalc glyph bounding boxes: use the values in the original font.z--optimize-font-speedzEnable optimizations that prioritize speed over file size. This mainly affects how glyf table and gvar / VARC tables are compiled.)r   r   )r   r   
fontNumberr   )r   F>   VARCglyfgvar
GlyphOrderz"Cannot set flavor for collections.) 	fontToolsr	   sysargvargparseArgumentParseradd_argument
parse_argsyintoutputr   r   r   r   r   optimize_font_speedr   TTFontcfgr   r   r   r   extendfontsintersectionkeysgetGlyphOrderlensaver   )argsr	   r'   parseroptionsr   outFiler   r   tablesr   r   optimizeFontSpeedr2   fr   
collectionr   s                     J/var/www/html/env/lib/python3.13/site-packages/fontTools/ttLib/__main__.pymainrA      s9   0 '|xx|$$E	 % F cM
i@V   j&$^   h1X   t:N   &=V   8	   ;	   V	   Q	   %G#*99#8WYYdJnnG<<D^^F]]F''L--O33E\\	+) /%D !0A,-LL   ~5=UF-::499;GFF6! "&0VdiikAEK B  u:?$!HO!HMM'"! !EFF%J$JOOG$ # * 	+%a3JLL))**	+s   7J.KK__main__)N)r%   fontTools.ttLibr   r   r   fontTools.ttLib.ttFontfontTools.ttLib.ttCollectionr   rA   __name__exit     r@   <module>rJ      s8    
 W W $ 5I%X zHHTV rI   