+
    f7i  c                   s    ^ 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# )
i    N)makeOutputFileName)TTFont)Qu2CuPen)
TTGlyphPenzfontTools.qu2cuc                 s   \        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statsZmax_err
max_err_emZhead	all_cubicZgvarzCannot convert variable fontglyfT)ZdropImpliedOnCurvesz	Stats: %sz	Saving %s)r   loggerZinfoZ
unitsPerEmZgetGlyphSetZgetGlyphOrderr   r   ZdrawglyphZglyphDataFormatZsave)
input_pathoutput_pathkwargsZfontr   Zqu2cu_kwargsZglyphSetZ
glyphOrderr   Z	glyphNamer
   ZttpenZpens   &&,          :/usr/lib64/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           	     s   \         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 curvesZqu2cu)Zprogz	--versionversion)actionr   infilesZ+ZINPUTz%one or more input TTF source file(s).)Znargsmetavarhelpz-vz	--verboseZcount)r   defaultz-ez--conversion-errorZERRORgMbP?z<maxiumum approximation error measured in EM (default: 0.001))Ztyper   r   r   z-cz--all-cubicFZ
store_truez whether to only use cubic curves)r   r   r   z-oz--output-fileNZOUTPUTz&output filename for the converted TTF.)r   r   r   z-dz--output-dirZ	DIRECTORYz-output directory where to save converted TTFsZWARNINGZINFOZDEBUG)levelz2-o/--output-file can't be used with multile inputsz'%s' is not a directoryTz.cubic)Z	overWriteZsuffix)r   r   r   )argparseZArgumentParserZadd_argument	fontToolsZ__version__ZfloatZadd_mutually_exclusive_groupZ
parse_argsZverboseloggingZbasicConfigZlenr   Zoutput_fileZerror
output_dirosZpathZexistsZmkdirZisdirZjoinZbasenamer    ZdictZconversion_errorr   Zzipr   )ZargsZparserZoutput_parserZoptionsr   r   ZpZ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)r   r   r   ZfontTools.misc.cliToolsr    ZfontTools.ttLibr   ZfontTools.pens.qu2cuPenr   ZfontTools.pens.ttGlyphPenr   r   Z	getLoggerr	   r   r   ) r   r   <module>r      s;    	   6 " , 0  
		,	->P:r   