+
    i                         ^ RI t ^ RIt^ RIt^ RIHt ^ RIHt ^ RIHt ^ RI	H
t
 ^ RIt]P                  ! R4      tR	R ltR	R ltR# )
    N)makeOutputFileName)TTFont)Qu2CuPen)
TTGlyphPenzfontTools.qu2cuc                    \        V 4      p\        P                  R V 4       VR,          '       d   / MRpRVRVR,          VR,          P                  ,          RVR,          /pRV9  g   Q R	4       hVP	                  4       pVP                  4       pVR
,          pV FG  p	Wi,          p
\        V4      p\        V3/ VB pV
P                  V4       VP                  RR7      W&   KI  	  ^VR,          n
        VR,          '       d   \        P                  RV4       \        P                  RV4       VP                  V4       R# )zConverting curves for %s
dump_statsNstatsmax_err
max_err_emhead	all_cubicgvarzCannot convert variable fontglyfT)dropImpliedOnCurvesz	Stats: %sz	Saving %s)r   loggerinfo
unitsPerEmgetGlyphSetgetGlyphOrderr   r   drawglyphglyphDataFormatsave)
input_pathoutput_pathkwargsfontr	   qu2cu_kwargsglyphSet
glyphOrderr   	glyphNamer   ttpenpens   &&,          s/Users/tonyclaw/.openclaw/workspace/skills/math-calculator/venv/lib/python3.14/site-packages/fontTools/qu2cu/cli.py_font_to_cubicr%      s   *D
KK*J7&&BDE6,'$v,*A*AAVK(L ===!H##%J<D	#8$u--

3++$+?   $%DL lK'
KK[)IIk    c           	        \         P                  ! RR7      pVP                  RR\        P                  R7       VP                  RRRR	R
7       VP                  RRR^ R7       VP                  RR\
        RRRR7       VP                  RRRRRR7       VP                  4       pVP                  RRRRRR 7       VP                  R!R"RR#R$R 7       VP                  V 4      pVP                  '       g   R%pMVP                  ^8X  d   R&pMR'p\        P                  ! VR(7       \        VP                  4      ^8  d$   VP                  '       d   VP                  R)4       VP                  '       d   VP                  p\         P"                  P%                  V4      '       g   \         P&                  ! V4       M=\         P"                  P)                  V4      '       g   VP                  R*V,          4       VP                   Uu. uF@  p\         P"                  P+                  V\         P"                  P-                  V4      4      NKB  	  ppMGVP                  '       d   VP                  .pM'VP                   Uu. uF  p\/        VR+R,R-7      NK  	  pp\1        VP                  ^ 8  VP2                  VP4                  R.7      p\7        VP                  V4       F  w  r\9        W3/ VB  K  	  R# u upi u upi )/z7Convert an OpenType font from quadratic to cubic curvesqu2cu)progz	--versionversion)actionr*   infiles+INPUTz%one or more input TTF source file(s).)nargsmetavarhelpz-vz	--verbosecount)r+   defaultz-ez--conversion-errorERRORgMbP?z<maxiumum approximation error measured in EM (default: 0.001))typer0   r3   r1   z-cz--all-cubicF
store_truez whether to only use cubic curves)r3   r+   r1   z-oz--output-fileNOUTPUTz&output filename for the converted TTF.)r3   r0   r1   z-dz--output-dir	DIRECTORYz-output directory where to save converted TTFsWARNINGINFODEBUG)levelz2-o/--output-file can't be used with multile inputsz'%s' is not a directoryTz.cubic)	overWritesuffix)r   r   r   )argparseArgumentParseradd_argument	fontTools__version__floatadd_mutually_exclusive_group
parse_argsverboseloggingbasicConfiglenr,   output_fileerror
output_dirospathexistsmkdirisdirjoinbasenamer   dictconversion_errorr   zipr%   )argsparseroutput_parseroptionsr<   rM   poutput_pathsr   r   r   s   &          r$   _mainr^   -   s   $$'2F
Iy?T?TU
4	   k'1E
K   /   779M6   <   %G???	A	e$
7??aG$7$7$7IJ''
ww~~j))HHZ z**LL2Z?@CJ??
CRaBGGLLRWW%5%5a%89? 	 
 
			++, __
$ qDB$ 	 

 ??Q&++##F $'w#E
z9&9 $F#

s   AK2=K7)N)rN   r?   rH   fontTools.misc.cliToolsr   fontTools.ttLibr   fontTools.pens.qu2cuPenr   fontTools.pens.ttGlyphPenr   rB   	getLoggerr   r%   r^    r&   r$   <module>re      s;    	   6 " , 0  
		,	->P:r&   