+
    5i                          ^ 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   d   \	        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
ValueErrorgetGlyphSetgetGlyphOrderr   r   drawglyphglyphDataFormatsave)
input_pathoutput_pathkwargsfontr	   qu2cu_kwargsglyphSet
glyphOrderr   	glyphNamer   ttpenpens   &&,          Y/Users/agent/.openclaw/workspace/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 ~788!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                  ^ 8:  d   VP                  R%4       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\1        VR,R-R.7      NK  	  pp\3        VP                  ^ 8  VP                  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 )0z7Convert 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))typer1   r4   r2   z-cz--all-cubicF
store_truez whether to only use cubic curves)r4   r,   r2   z-oz--output-fileNOUTPUTz&output filename for the converted TTF.)r4   r1   r2   z-dz--output-dir	DIRECTORYz-output directory where to save converted TTFsz,--conversion-error must be greater than zero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conversion_errorerrorverboseloggingbasicConfiglenr-   output_file
output_dirospathexistsmkdirisdirjoinbasenamer   dictr   zipr&   )argsparseroutput_parseroptionsr=   rO   poutput_pathsr   r   r   s   &          r%   _mainr_   .   s   $$'2F
Iy?T?TU
4	   k'1E
K   /   779M6   <   %G1$CD???	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LL)N)rP   r@   rK   fontTools.misc.cliToolsr   fontTools.ttLibr   fontTools.pens.qu2cuPenr   fontTools.pens.ttGlyphPenr   rC   	getLoggerr   r&   r_    r'   r%   <module>rf      s<    	   6 " , 0  
		,	-@S:r'   