L i UdZddlmZddlZddlZddlZddlZddlmZddl m Z ddlm Z ddl m Z mZmZmZmZmZddlmZdd lmZdd lmZdd lmZdd lmZdd lmZmZm Z ddl!er(ddlm"Z"ddl#m$Z$m%Z%m&Z&m'Z'm(Z(m)Z)m*Z*m+Z+m,Z,ddl-m.Z.ddl/m0Z0e1e2e1e2e2ffZ3e1e2efZ4ee5ee2Z6e1e2efZ7e1e2e7fZ8ejrZ:gdZ;deZUdd?ZVdd@ZWddAZXddBZYe5eZddCZ[dDeyy(a A library for importing .ufo files and their descendants. Refer to http://unifiedfontobject.org for the UFO specification. The main interfaces are the :class:`.UFOReader` and :class:`.UFOWriter` classes, which support versions 1, 2, and 3 of the UFO specification. Set variables are available for external use that list the font info attribute names for the `fontinfo.plist` formats. These are: - :obj:`.fontInfoAttributesVersion1` - :obj:`.fontInfoAttributesVersion2` - :obj:`.fontInfoAttributesVersion3` A set listing the `fontinfo.plist` attributes that were deprecated in version 2 is available for external use: - :obj:`.deprecatedFontInfoAttributesVersion2` Functions that do basic validation on values for `fontinfo.plist` are available for external use. These are - :func:`.validateFontInfoVersion2ValueForAttribute` - :func:`.validateFontInfoVersion3ValueForAttribute` Value conversion functions are available for converting `fontinfo.plist` values between the possible format versions. - :func:`.convertFontInfoValueForAttributeFromVersion1ToVersion2` - :func:`.convertFontInfoValueForAttributeFromVersion2ToVersion1` - :func:`.convertFontInfoValueForAttributeFromVersion2ToVersion3` - :func:`.convertFontInfoValueForAttributeFromVersion3ToVersion2` ) annotationsN) OrderedDict)deepcopy)fsdecode)IO TYPE_CHECKINGAnyOptionalUnioncast) filesystem)plistlib)%convertUFO1OrUFO2KerningToUFO3Kerning) UFOLibError)userNameToFileName)BaseFormatVersionnormalizeFormatVersion numberTypes)*)Logger) GlyphNameToFileNameFuncK KerningDict KerningGroups KerningNestedPathOrFSPathStrUFOFormatVersionInputV)FSGlyphSet)haveFS makeUFOPathr UFOReader UFOWriterUFOReaderWriterUFOFileStructurefontInfoAttributesVersion1fontInfoAttributesVersion2fontInfoAttributesVersion3$deprecatedFontInfoAttributesVersion2)validateFontInfoVersion2ValueForAttribute)validateFontInfoVersion3ValueForAttribute6convertFontInfoValueForAttributeFromVersion1ToVersion26convertFontInfoValueForAttributeFromVersion2ToVersion1 list[str]__all__z3.0.0str __version__rloggerglyphsDEFAULT_GLYPHS_DIRNAMEdata DATA_DIRNAMEimagesIMAGES_DIRNAMEzmetainfo.plistMETAINFO_FILENAMEzfontinfo.plistFONTINFO_FILENAMEz lib.plist LIB_FILENAMEz groups.plistGROUPS_FILENAMEz kerning.plistKERNING_FILENAMEz features.feaFEATURES_FILENAMEzlayercontents.plistLAYERCONTENTS_FILENAMEzlayerinfo.plistLAYERINFO_FILENAMEzpublic.defaultDEFAULT_LAYER_NAMEceZdZdZdZdZy)UFOFormatVersion)r)r)rN)__name__ __module__ __qualname__ FORMAT_1_0 FORMAT_2_0 FORMAT_3_0_/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/fontTools/ufoLib/__init__.pyrFrFsJJJrQrFceZdZdZdZy)r(zippackageN)rJrKrLZIPPACKAGErPrQrRr(r(s CGrQr(c@eZdZUer ded<ded<d dZd d dZd dZy) _UFOBaseIOr fsbool_havePreviousFilec |jjt|dgj}||j Sy#tj j tj jf$rYywxYw)a Returns the modification time for the file at the given path, as a floating point number giving the number of seconds since the epoch. The path must be relative to the UFO path. Returns None if the file does not exist. details) namespacesN)rZgetinformodified timestamperrorsMissingInfoNamespaceResourceNotFound)selfpathdts rRgetFileModificationTimez"_UFOBaseIO.getFileModificationTimesl $YKHQQB~||~%  .. 0J0JK  s1A7B?BNc l |jj|d5}tj|cdddS#1swYyxYw#tjj $r#|t d|d|jd|cYSt$r#}t d|d|jd|d}~wwxYw)a Read a property list relative to the UFO filesystem's root. Raises UFOLibError if the file is missing and default is None, otherwise default is returned. The errors that could be raised during the reading of a plist are unpredictable and/or too large to list, so, a blind try: except: is done. If an exception occurs, a UFOLibError will be raised. rbN'z' is missing on z. This file is requiredz' could not be read on : )rZopenrloadrcrer Exception)rffileNamedefaultfes rR _getPlistz_UFOBaseIO._getPlists Sh- (}}Q' ( ( (yy)) !FNPTPWPWX S(+B477)2aSQR R Ss7A = A AA A =B3B3B..B3c F|jrm tj|}|j j |r||j j|k(ry|j j||y|j j|d5} tj|| dddy#t$r#}t d|d|j d|d}~wwxYw#t$r#}t d|d|j d|d}~wwxYw#1swYyxYw)a Write a property list to a file relative to the UFO filesystem's root. Do this sort of atomically, making it harder to corrupt existing files, for example when plistlib encounters an error halfway during write. This also checks to see if text matches the text that is already in the file at path. If so, the file is not rewritten so that the modification date is preserved. The errors that could be raised during the writing of a plist are unpredictable and/or too large to list, so, a blind try: except: is done. If an exception occurs, a UFOLibError will be raised. rlz' could not be written on z- because the data is not properly formatted: Nwbmode) r\rdumpsrprrZexists readbytes writebytesrndump)rfrqobjr8rtfps rR _writePlistz_UFOBaseIO._writePlists  ! ! ~~c* ww~~h'DDGG4E4Eh4O,O GG  x .hT2 bMM#r*   !@H$''STV !%$TWWa1  sAB9DC(9 C%C  C%( D1DDDD )rgrreturnzOptional[float]N)rqr3rrz Optional[Any]rr )rqr3rr rNone)rJrKrLr__annotations__rirurrPrQrRrYrYs   S0"rQrYceZdZUdZd)d*dZd+dZeedZded<d,dZ ee d Z ed-d Z d.d Z ee d Z ded <d/dZd0dZ d1 d2dZd1d3dZd1d4dZd5dZd1d6dZ d1 d7dZd8dZd1d9dZd:dZd1d;dZd1d3dZd+dZddZ d? d@d Z dA dBd!Z dCd"Z!d1d=d#Z"dDd$Z#d1dEd%Z$dFd&Z%dGd'Z&dHd(Z'y)Ir%aNRead the various components of a .ufo. Attributes: path: An :class:`os.PathLike` object pointing to the .ufo. validate: A boolean indicating if the data read should be validated. Defaults to `True`. By default read data is validated. Set ``validate`` to ``False`` to not validate the data. rgct|ttjjfst |dr|j }t|tr$t|} |tjur#tjj|dd}ntjj|}|tjur|j#dDcgc])}|j$r|j&dk7r |j&+}}t)|d k(r4|j+|d tj,j. |_nt!d t)|z||_d |_||_nt|tjjrI|} |j5||_ |j9d}d|_tj<|_n!t?dtA|jBztE||_#||_$d|_% |jM|y#tjj$r}t!d|d|d}~wwxYwcc}w#tjj6$rt!d|zwxYw#tjj:$rt|}YwxYw#t $r|jOwxYw)N __fspath__Futf-8writeencodingunable to open 'z': /__MACOSXrGrfactory+Expected exactly 1 root directory, found %dTthe filesystem '%s' is closedz7Expected a path string or fs.base.FS object, found '%s'validate)( isinstancer3rZbaser hasattrr_sniffFileStructurer(rVzipfsZipFSosfsOSFSrc CreateFailedrscandiris_dirnamelenopendirsubfs ClosingSubFS _shouldClose_fileStructurecheckFilesystemClosed getsyspath NoSysPathrW TypeErrortyperJr_path _validate_upConvertedKerningData readMetaInfoclose) rfrgr structureparentFSrtprootDirsr s rR__init__zUFOReader.__init__s$bggjj 12wt\7R??$D dC +D1I C 0 4 44!xx~~d%'~RH!ww||D1H,000 &--c2xxAFFj$8FF x=A%#+"2"2  RXX-B-B#3#DG&EH U #'+D "+D  bggjj )!J %  "% '!,,S1 !&D "2":":D It*%%& #4. 'AE$    x  0s99)) C!$4TF#aS"ABB C 699-- J!"AD"HII J 99&& ': '&  JJL  sI$AH<.I2#I7;J&)K<I/I**I/7,J#&(KKK0cRddl}|jdtd|jS)NrzBThe 'path' attribute is deprecated; use the 'fs' attribute insteadrH stacklevel)warningswarnDeprecationWarningrrfrs rR _get_pathzUFOReader._get_path?s+ P   zzrQz!The path of the UFO (DEPRECATED).docpropertycfddl}|jdtd|jjS)NrzIThe 'formatVersion' attribute is deprecated; use the 'formatVersionTuple'rHr)rrr_formatVersionmajorrs rR_get_formatVersionzUFOReader._get_formatVersionKs3 W   ""(((rQzIThe (major) format version of the UFO. DEPRECATED: Use formatVersionTuplec|jS)z|The (major, minor) format version of the UFO. This is determined by reading metainfo.plist during __init__. )rrfs rRformatVersionTuplezUFOReader.formatVersionTupleZs """rQc|jSr)rrs rR_get_fileStructurezUFOReader._get_fileStructureas"""rQzVThe file structure of the UFO: either UFOFileStructure.ZIP or UFOFileStructure.PACKAGE fileStructurec2|jr[|j}||jdk7r td|j}||jdk7r tdy |j}|rd}t |t s t||j D]]\}}t |ts t|t |ts t||D]}t |trt|_t i|ji||_t|jdt|jd|j\} }} | |jd<||jd<| |jd <y ) ap Up convert kerning and groups in UFO 1 and 2. The data will be held internally until each bit of data has been retrieved. The conversion of both must be done at once, so the raw data is cached and an error is raised if one bit of data becomes obsolete before it is called. ``validate`` will validate the data. originalKerningzSThe data in kerning.plist has been modified since it was converted to UFO 3 format.originalGroupszRThe data in groups.plist has been modified since it was converted to UFO 3 format.z'groups.plist is not properly formatted.)kerningrgroupsrrrgroupRenameMapsN) r _readKerningr _readGroupsrdictitemsr3listrr getGlyphSet) rfr testKerning testGroupsrinvalidFormatMessage groupName glyphList glyphNamerconversionMapss rR_upConvertKerningzUFOReader._upConvertKerningns  ' '++-Kd::;LMM!i))+JT99:JKK!hL %%'F'P$!&$/%&:;;,2LLND(Iy%i5)*>??' 48)*>??%.D ))S9"-.B"CCD D,0 $ 1 1 3% ,D (/T,,->?556FGH  "/ +GV^ 7>D ( ( 35;D ( ( 2>LD ( (): ;rQc |jjt|S#tjj$rYywxYw)z Returns the bytes in the file at the given path. The path must be relative to the UFO's filesystem root. Returns None if the file does not exist. N)rZr|rrcre)rfrgs rRreadBytesFromPathzUFOReader.readBytesFromPaths<  77$$Xd^4 4yy))  s#&AANct|} ||jj|dS|jj|d|S#tjj$rYywxYw)a Returns a file (or file-like) object for the file at the given path. The path must be relative to the UFO path. Returns None if the file does not exist. By default the file is opened in binary mode (reads bytes). If encoding is passed, the file is opened in text mode (reads str). Note: The caller is responsible for closing the open file. Nrkrxrryr)rrZrnrcre)rfrgrs rRgetReadFileForPathzUFOReader.getReadFileForPathsd~ ww||Dt|44ww||DsX|FFyy))  sA A A*)A*c | |j}|jt}|rt|ts t d |d}|jdd} t||f}||d <|S#t $r t dtd|jwxYw#t$rb}d|d |d td|j}|rdd l m }|||tj}tjd ||Yd}~d}~wwxYw)z Read metainfo.plist and return raw data. Only used for internal operations. ``validate`` will validate the read data, by default it is set to the class's validate value, can be overridden. Nz)metainfo.plist is not properly formatted. formatVersionz#Missing required formatVersion in '' on formatVersionMinorrzUnsupported UFO format (.z) in 'UnsupportedUFOFormatz^%s. Assuming the latest supported version (%s). Some data may be skipped or parsed incorrectlyr)rrur<rrrKeyErrorrZ setdefaultrF ValueErrorfontTools.ufoLib.errorsrrrr5warning) rfrr8formatVersionMajorrrrtunsupportedMsgrs rR _readMetaInfozUFOReader._readMetaInfos<  ~~H~~/0 JtT2IJ J !%o!6  "__-A1E ,.@BT-UVM$&3 !" 5 56G5HdggYW   *+=*>a@R?ST()twwi9 H*>:A,446M NNA    s%A. B.)B D#ADDc<|j|}|d|_y)z Read metainfo.plist and set formatVersion. Only used for internal operations. ``validate`` will validate the read data, by default it is set to the class's validate value, can be overridden. rrN)rrrfrr8s rRrzUFOReader.readMetaInfos%!!8!4"#78rQc|jti}|jD]8\}}|jdst t j |||<:|S)N)z public.kern1.z public.kern2.)rur?r startswithrrfromkeys)rfrrrs rRrzUFOReader._readGroupss^4$*LLN J Iy##$FG$()=)=i)H$Iy! J rQc| |j}|jtjkr/|j |t t |jd}n|j}|rt|\}}|s t||S)z Read groups.plist. Returns a dict. ``validate`` will validate the read data, by default it is set to the class's validate value, can be overridden. r) rrrFrOrr rrrgroupsValidatorr)rfrrvalidmessages rR readGroupszUFOReader.readGroupss  ~~H   !1!>(+   "2"="= =2 0 T*$*/M$' 0C=QMB=QM  $4$?$? ?,0399;- ,((! T*=&+ d#  ,C=QM  & &*:*E*E*K*K K,0399;- ,((! T*=&+ d#  ,&d&9&9: : 4]CM 3 3 56 KD% dE* " !c s  F##F;c2|jti}|Sr)rur@)rfr8s rRrzUFOReader._readKerningxs~~.3 rQcX| |j}|jtjkr/|j |t t |jd}n|j}|rt|\}}|s t|i}|D]}||D]}|||}||||f<|S)z Read kerning.plist. Returns a dict. ``validate`` will validate the kerning data, by default it is set to the class's validate value, can be overridden. r) rrrFrOrr rrrkerningValidatorr) rfr kerningNestedrrrleftrightrs rR readKerningzUFOReader.readKerning|s  ~~H   !1!fontLibValidatorr)rfrr8rrs rRreadLibzUFOReader.readLibsG  ~~H~~lB/ -d3NE7!'** rQc |jjtdd5}|jcdddS#1swYyxYw#tjj $rYywxYw)zr Read features.fea. Return a string. The returned string is empty if the file is missing. rz utf-8-sigrN)rZrnrAreadrcre)rfrss rR readFeatureszUFOReader.readFeaturessY  /{K qvvx   yy))  s+"A > A AA A A*)A*c|jtjkr ttfgS|j t }|r&t||j\}}|s t||S)z Rebuild the layer contents list by checking what glyphsets are available on disk. ``validate`` will validate the layer contents. ) rrFrOrDr7rurBlayerContentsValidatorrZr)rfrcontentsrerrors rR_readLayerContentszUFOReader._readLayerContentssa   !1!>"89 1(DGGDLE5!%((rQcx| |j}|j|}|Dcgc]\}}| }}}|Scc}}w)z Get the ordered layer names from layercontents.plist. ``validate`` will validate the data, by default it is set to the class's validate value, can be overridden. )rr+)rfr layerContents layerName directoryName layerNamess rR getLayerNameszUFOReader.getLayerNamessG  ~~H//9 @MN$>L   NNM  00,0GI // = 5B  1O1O+0    FRS S U3J !00%'#   yy)) UYK/FykQRST T Us .B 0Cc| |j}|j||d}|j}i}|jD]+\}}|D]!}||vr||j ||g||<#-|S)zf Return a dictionary that maps unicode values (ints) to lists of glyph names. T)r7r8)rr getUnicodesrappend) rfr.rglyphSet allUnicodescmaprunicodescodes rRgetCharacterMappingzUFOReader.getCharacterMappings  ~~H## HD$ **, %'#.#4#4#6 - Ix  -4<J%%i0"+DJ  - -  rQc |jjt|_ |jjjDcgc]}|jdc}S#tjj $rgcYStjj $r tdwxYwcc}w#tjj$rgcYSwxYw)z Returns a list of all files in the data directory. The returned paths will be relative to the UFO. This will not list directory names, only file names. Thus, empty directories will be skipped. z6The UFO contains a "data" file instead of a directory.r) rZrr9_dataFSrcreDirectoryExpectedrwalkfileslstrip ResourceError)rfrs rRgetDataDirectoryListingz!UFOReader.getDataDirectoryListing,s X77??<8DL  ,0<<+<+<+B+B+DEaAHHSME Eyy)) Iyy** XVW W X Fyy&& I s4$A(&B9 B4%B9(B1 (B14B99CCc|jtjkrgS| |j} |jj t x|_}g}|jdD]}|jr|rS|j|jd5}t!|\}}dddsI|j#|je|j#|j|S#tjj$rgcYStjj$r tdwxYw#1swYxYw)a$ Returns a list of all image file names in the images directory. Each of the images will have been verified to have the PNG signature. ``validate`` will validate the data, by default it is set to the class's validate value, can be overridden. Nz9The UFO contains an "images" file instead of a directory.rrk)fileObj)rrFrOrrZrr; _imagesFSrcrerJrrrrnr pngValidatorrA)rfrimagesFSresultrgrrr*s rRgetImageDirectoryListingz"UFOReader.getImageDirectoryListingAs   !1!>%%h/D 'T2LE5!%(( " ;77??>: ;yy)) P 5hZuTWWINO O Ps* B(C(CCCC9DcR|jr|jjyyr)rrZrrs rRrzUFOReader.closes    GGMMO rQc|SrrPrs rR __enter__zUFOReader.__enter__s rQc$|jyr)r)rfexc_type exc_valueexc_tbs rR__exit__zUFOReader.__exit__s  rQ)T)rgrrr[rrrr3)rint)rztuple[int, int])rr )rr[rr)rgrrzOptional[bytes]r)rgrr Optional[str]rz#Optional[Union[IO[bytes], IO[str]]])rOptional[bool]rdict[str, Any])rrhrr)rdict[str, list[str]])rrhrrj)rrhrKerningGroupRenameMaps)rr[rrirr rrhrr)rr)rrhrr)rr[rzlist[tuple[str, str]])rrhrr1)rrhrr3)NNN)r.rgr7rhr8rhrr"NN)r.rgrrhrzdict[int, list[str]])rr1)rqrrbytes)rqrrrhrrnrr)rr%)rar rbr rcr rr)(rJrKrL__doc__rrrrgrrrrrrrrrrrrrrrrrrr!r&r+r1r4rrGrOrVrYr\rr_rdrPrQrRr%r%s IZi-PQD(Q) WM ## #' FM82Ml 8<'4 ,.(T9,*.K&K K< 7v<$  V$$('+(, ,  , %, & ,  , ^KO&9G 0*"H :rQr%cJeZdZUdZ d! d"dZd#dZeedZded< d$dZ d%d Z d& d'd Z d( d)d Z e Z d*d Zd*d Zd+dZ d, d-dZd,d.dZ d, d/dZd,d0dZd,d1dZ d2 d3dZd4dZ d5 d6dZ d7 d8dZ d9 d:dZ d; ddZd?dZ d, d@dZ d, dAdZ d, dBdZ!d*fd Z"xZ#S)Cr&aDWrite the various components of a .ufo. Attributes: path: An :class:`os.PathLike` object pointing to the .ufo. formatVersion: the UFO format version as a tuple of integers (major, minor), or as a single integer for the major digit only (minor is implied to be 0). By default, the latest formatVersion will be used; currently it is 3.0, which is equivalent to formatVersion=(3, 0). fileCreator: The creator of the .ufo file. Defaults to `com.github.fonttools.ufoLib`. structure: The internal structure of the .ufo file: either `ZIP` or `PACKAGE`. validate: A boolean indicating if the data read should be validated. Defaults to `True`. By default, the written data will be validated before writing. Set ``validate`` to ``False`` if you do not want to validate the data. Validation can also be overriden on a per-method level if desired. Raises: UnsupportedUFOFormat: An exception indicating that the requested UFO formatVersion is not supported. fileCreatorc t|t}t |dr|j }t|trtjj|}tjj|}|r2t|} |" t|}|| urutd| d|d| }n`|tj }tjj#|} | r-tjj%| std |z|tj&ur~|rt(j*j-} t(j.j1|d 5} t(j2j5| | ddd| j7d D cgc])} | j8r| j:d k7r | j:+}} t=|dk7rtdt=|z|d}nutjj?tjjA|ddz}t(j.j1|dd } | jC|| jE|t(jFjH|_n&t(jJjM|d|_||_'||_(d|_)nt|t(jTjVr|} |jY||_ |j_d }|r.|tj urddl1}|jedtfdtj |_'|jth|_(d|_)n!tkdtm|jnztq||_9||_:||_;d|_<||_=d}|jPr1|j}|}|d}||kDrddlm}|d|d|di|_?|/|jd k\r t|j||_?n0|j(jtrtti|_?|jy#t$r}ddlm}|d||d}~wwxYw#t$rtd|zwxYw#1swYTxYwcc} w#t(jZj\$rtd|zwxYw#t(jZj`$rt|}YwxYw)!NrrzUnsupported UFO format: rz&Invalid or unsupported structure: '%s'z"A UFO with a different structure (z%) already exists at the given path: 'rlz.Cannot write to '%s': directory does not existrr#rrrGr.ufoTrrcreaterz?The 'structure' argument is not used when input is an FS objectrHrFz-Expected a path string or fs object, found %srrz2The UFO located at this path is a higher version (z) than the version (z6) that is trying to be written. This is not supported.rI)FrrFrrrrrrr3osrgnormpathr{rr(rrWdirnameisdirrVrZtempfsTempFSrrcopycopy_fsrrrrsplitextbasenamemakedirrrrrrrr\rrr rrcrrrrr UserWarningr<rrrJrrr _fileCreator_downConversionKerningDatarrr-rrr+r7rD_writeMetaInfo)rfrgrrrrrrtrhavePreviousFileexistingStructuredirNamerorigFSrrrootDirr rpreviousFormatVersionmetaInfos rRrzUFOWriter.__init__s 2=BRSM 4 &??$D dC 77##D)D!ww~~d3 $7$=!($4Y$? !(99)9JDR !2I$ 0 8 8I''//$/277==#9%H4O,000#$&99#3#3#5Hw?:69:"*!1!1#!6 88*(< H  8}))I!(m, #+1+!gg..rww/?/?/EFqIFRG!xx~~d$~QH$$W-#**7BHH.F.FF U  #3":":D %/%6%67H%ID " %D ?$t*BUBUU  d^ +'LP'!!%  ! !))8)99-- J!"AD"HII J 99&& ': 'sSR R=%!S!.S%S*T R:#R55R:=SS"*,T(UUc|jSr)rrs rR_get_fileCreatorzUFOWriter._get_fileCreatorVs   rQzMThe file creator of the UFO. This is set into metainfo.plist during __init__.rrct|ts tdt|}t|}|jj |std|z|jj |rtd|z|jj tjj|d|jj|r7tjj|j||j|ytjj|j||j|y)z Copy the sourcePath in the provided UFOReader to destPath in this writer. The paths must be relative. This works with both individual files and directories. z,The reader must be an instance of UFOReader.z.The reader does not have data located at "%s".z!A file named "%s" already exists.TrecreateN) rr%rrrZr{makedirsrgryrzr}copy_dir copy_file)rfreader sourcePathdestPaths rRcopyFromReaderzUFOWriter.copyFromReader`s&),LM Mj) H%yy +@:M  77>>( #AHLM M 2TB 99??: & GG  VYY DGGX F GG  fiiTWWh GrQc&t|}|jr:|jj|r||jj |k(ry |jj ||y#tj j$rtd|ztj j$rY|jjtjj|d|jj ||YywxYw)ae Write bytes to a path relative to the UFO filesystem's root. If writing to an existing UFO, check to see if data matches the data that is already in the file at path; if so, the file is not rewritten so that the modification date is preserved. If needed, the directory tree for the given path will be built. NzA directory exists at '%s'Tr) rr\rZisfiler|r}rc FileExpectedrrerrgry)rfrgr8s rRwriteBytesToPathzUFOWriter.writeBytesToPathys~  ! !ww~~d#0A0A$0G(G + GG  tT *yy%% C:TAB Byy)) + GG  RWW__T2T  B GG  tT * +sA00BDDc t|} |jj|||S#tjj$r}|d}|dk(rYd}~y|dk(s |dk(s|dk(r]|jj tj j|d |jj|||cYd}~SYd}~yd}~wtjj$r#}td |d |jd |d}~wwxYw) ag Returns a file (or file-like) object for the file at the given path. The path must be relative to the UFO path. Returns None if the file does not exist and the mode is "r" or "rb. An encoding may be passed if the file is opened in text mode. Note: The caller is responsible for closing the open file. rrrNwaxTrrrrm) rrZrnrcrerrgryrNr)rfrgryrrtms rRgetFileObjectForPathzUFOWriter.getFileObjectForPaths~ L77<<4(<C Cyy)) HQACxcQ#Xc  !6 Fww||Dth|GG*2 yy&& L 0eDGG9BqcJK K Ls.+D  CA&C=D  D (DD ct|} |jj||rMtjj|}|r+tjj|j|yyy#tjj$r|jj |Ytjj $r |std|d|jYwxYw)a_ Remove the file (or directory) at path. The path must be relative to the UFO. Raises UFOLibError if the path doesn't exist. If force=True, ignore non-existent paths. If the directory where 'path' is located becomes empty, it will be automatically removed, unless 'removeEmptyParents' is False. rlz' does not exist on N) rrZremovercr removetreererrgrytools remove_empty)rfrgforceremoveEmptyParentsparents rR removePathzUFOWriter.removePaths~ K GGNN4 WW__T*F%%dggv6  yy%% % GG  t $yy)) K!AdV+?y"IJJ KsA888C.29C.-C.c|j}|8tjj|r tj|dyyy#t $r }t jd|Yd}~yd}~wwxYw)z Set the UFO modification time to the current time. This is never called automatically. It is up to the caller to call this when finished working on the UFO. NzFailed to set modified time: %s)rrwrgr{utimeOSErrorr5r)rfrgrts rRsetModificationTimezUFOWriter.setModificationTimesd zz  t 4 Et$!5  E@!DD EsA A1A,,A1ct|j|jj}|jjdk7r|jj|d<|j t |y)N)creatorrrr)rrrrminorrr<)rfrs rRrzUFOWriter._writeMetaInfosb%%--33     $ $ )-1-@-@-F-FH) * *H5rQc|jtjk\ryi}dD]+}t||j D] \}}|||< -t ||_y)aW Set maps defining the renaming that should be done when writing groups and kerning in UFO 1 and UFO 2. This will effectively undo the conversion done when UFOReader reads this data. The dictionary should have this form:: { "side1" : {"group name to use when writing" : "group name in data"}, "side2" : {"group name to use when writing" : "group name in data"} } This is the same form returned by UFOReader's getKerningGroupConversionRenameMaps method. Nr)groupRenameMap)rrFrOrrrr)rfmapsremapside writeNamedataNames rR#setKerningGroupConversionRenameMapsz-UFOWriter.setKerningGroupConversionRenameMapssn   "2"="= = & ,D'+DJ,<,<,>'? ,# 8"+h , ,+/e*D'rQcT| |j}|rt|\}}|s t||jtj krz|j n|j d}i}t|jD]\}}||vr |||<t|jD]\}}||vr ||}|||<|}i} |jD]\} } t| | | <| r|jt| y|jr|jtddyy)z Write groups.plist. This method requires a dict of glyph groups as an argument. ``validate`` will validate the data, by default it is set to the class's validate value, can be overridden. NrTFrr) rrrrrFrOrrrrr?r\r) rfrrrrrremappedGroupsrr) groupsNewkeyrs rR writeGroupszUFOWriter.writeGroupssB  ~~H ,V4NE7!'**   "2"="= =//;334DEEN#'v||~"6 0h5='/t$ 0#'v||~"6 0hu$T{'/t$  0 $F  ,,. )JC!%[IcN )    _i 8  # # OOO4EO R$rQcV| |j}i}ttjD]$}t ||s t ||}| |||<&|jtjk(r|rt|}nv|jtjk(rt|}|rLt|}n@|jtjk(r#t|}|r t|}t!|}|r|j#t$|yy#t $rtd|zwxYw)a Write info.plist. This method requires an object that supports getting attributes that follow the fontinfo.plist version 2 specification. Attributes will be taken from the given object and written into the file. ``validate`` will validate the data, by default it is set to the class's validate value, can be overridden. NzMThe supplied info object does not support getting a necessary attribute (%s).)rrr keysrgetattrrrrrFrOrrN&_convertFontInfoDataVersion3ToVersion2validateInfoVersion2DatarM&_convertFontInfoDataVersion2ToVersion1rr=)rfrrinfoDatarrs rR writeInfozUFOWriter.writeInfo6s,  ~~H<AACD 'DtT"#D$/E =!& '   "2"="= =3H=  $4$?$? ?=hGH3H=  $4$?$? ?=hGH3H==hGH    . 9 -&%gs DD(c| |j}|rd}t|s t|t|j D]\}}t |tt fs t|t|dk(s t|t |dts t|t |dts t|t |trt||jtjkrn|jb|jd}i}t|j D]3\\}} }|j||}|j| | } |||| f<5|}i} |jD]\} } || | f}| | vri| | <|| | | <| r|j!t"| y|j$r|j't"dd yy) a Write kerning.plist. This method requires a dict of kerning pairs as an argument. This performs basic structural validation of the kerning, but it does not check for compliance with the spec in regards to conflicting pairs. The assumption is that the kerning data being passed is standards compliant. ``validate`` will validate the data, by default it is set to the class's validate value, can be overridden. Nz&The kerning is not properly formatted.rHrrGrTFr)r isDictEnoughrrrrtuplerr3rrrFrOrrrrr@r\r) rfrrrpairrrremappedKerningrr kerningDictrrs rR writeKerningzUFOWriter.writeKerningds  ~~H #K (!"677#GMMO4 < e!$u 6%&:;;4yA~%&:;;!$q'3/%&:;;!$q'3/%&:;;!%5%&:;; <   "2"="= =//;334DEE O)-gmmo)> 6% %/ %/05u - 6&G%' "<<> -KD%D%K(E;&$& D!',K e $  -    -{ ;  # # OO,DUO S$rQc| |j}|rt|\}}|s t||r|jt|y|j r|j tddyy)z Write lib.plist. This method requires a lib dict as an argument. ``validate`` will validate the data, by default it is set to the class's validate value, can be overridden. NTFr)rr rrr>r\r)rflibDictrrrs rRwriteLibzUFOWriter.writeLibse  ~~H -g6NE7!'**    \7 3  # # OOLO O$rQcD| |j}|jtjk(r t d|rt |t s t d|r&|jt|jdy|jr|jtddyy)zd Write features.fea. This method requires a features string as an argument. Nz4features.fea is not allowed in UFO Format Version 1.zThe features are not text.utf8TFr) rrrFrMrrr3rrAencoder\r)rffeaturesrs rR writeFeatureszUFOWriter.writeFeaturess  ~~H   "2"="= =TU U h,!">??   ! !"3X__V5L M  # # OO-TeO T$rQc| |j}|jtjkry|%g}|D]}|t}|j ||}n#t |jj}|r:t|t|jjk7r td|Dcgc]}|||j|f}}|jt|ycc}w)z Write the layercontents.plist file. This method *must* be called after all glyph sets have been written. NzMThe layer order content does not match the glyph sets that have been created.) rrrFrOrDrArr-rsetrrrB)rf layerOrderrnewOrderr.r-s rRwriteLayerContentszUFOWriter.writeLayerContentss  ~~H   !1!Could not locate a glyph set directory for the layer named %s.)rr-rr7r)rfr.foundDirectoryexistingLayerNamer/s rR_findDirectoryForLayerNamez$UFOWriter._findDirectoryForLayerNames{04T5G5G5M5M5O0P  , } ]6L%L!."i/!.  P rQct| |j}| |j}|jtjkr'|r|#t d|jj d|9|r7|j jD]\}}|tk(s|}|t}n| |s t d|jtjkr|j||||S|jj tjj k(r|j||||||St|j)aW Return the GlyphSet object associated with the appropriate glyph directory in the .ufo. If layerName is None, the default glyph set will be used. The defaultLayer flag indictes that the layer should be saved into the default glyphs directory. ``validateRead`` will validate the read data, by default it is set to the class's validate value, can be overridden. ``validateWrte`` will validate the written data, by default it is set to the class's validate value, can be overridden. ``expectContentsFile`` will raise a GlifLibError if a contents.plist file is not found on the glyph set file system. This should be set to ``True`` if you are reading an existing UFO and ``False`` if you use ``getGlyphSet`` to create a fresh glyph set. z,Only the default layer can be writen in UFO rz5A layer name must be provided for non-default layers.)glyphNameToFileNameFuncr9)r. defaultLayerrr9) rrrFrOrrr-rr7rD_getDefaultGlyphSet_getGlyphSetFormatVersion3r ) rfr.rrr7r8r9rr;s rRrzUFOWriter.getGlyphSets\4  >>L   NNM   !1!t?R?R?X?X>YYZ[   040B0B0H0H0J 2,!9 66 1I 2 .  |UV V   !1!s rRrzUFOWriter._getDefaultGlyphSet8sC 6WW__%;d_K  $;!00%'1   rQc0ddlm}|rO|jjD]2\}} | tk(r||k7st d|z||k(s)t d| t d||jvr|j|} nL|rt} nC|jjD chc]} | j} } t|| d} |jj| d } | |j|<|| ||j||| Scc} w) Nrr!z@Another layer ('%s') is already mapped to the default directory.z8The layer name is already mapped to a non-default layer.z'leyerName' cannot be None.glyphs.existingprefixTrr) r:r"r-rr7rrvalueslowerrrZrr) rfr7r8r.rrr9r"rr;drr>s rRrz$UFOWriter._getGlyphSetFormatVersion3Ks? 6 040B0B0H0H0J ,!9 66(I5)^/0')3%R   9: : ** ***95I2 04/A/A/H/H/JK!AGGIKK. WW__Y_> (19% $;!00%'1   Ls(Dc|jtjkry|7||k(r2|j|tk7r|sy|j|tk(rT|rRy|t }||jvrt d|z|r+t|jjvr t d|j|}|rt}nC|jjDchc]}|j}}t||d}| |j|=||j|<|jj||dycc}w)z Rename a glyph set. Note: if a GlyphSet object has already been retrieved for layerName, it is up to the caller to inform that object that the directory it represents has changed. Nz A layer named %s already exists.zA default layer already exists.rrTru) rrFrOr-r7rDrrrrrrZmovedir)rfr. newLayerNamer oldDirectory newDirectoryrrs rRrenameGlyphSetzUFOWriter.renameGlyphSetsG   !1!""9-1GG$!!),0FF<#1 t111!"D|"STT 6$:L:L:S:S:U U!"CDD66yA 1L151C1C1J1J1LM MHM-x L  ""9-+7<(  l4@NsEc|jtjkry|j|}|j |d||j |=yy)z: Remove the glyph set matching layerName. NF)r)rrFrOrrr-)rfr.rs rRdeleteGlyphSetzUFOWriter.deleteGlyphSetsW   !1!?rQc(| |j}|jtjkr#t d|jj dt |}|rt|\}}|s t ||jtd||y)zg Write data to fileName in the images directory. The data must be a valid PNG. NImages are not allowed in UFO rr[r) rrrFrOrrrrSrr;)rfrqr8rrr*s rR writeImagezUFOWriter.writeImages  ~~H   !1!*!HX,>+?@ArQc| |j}|jtjkr#t d|jj dt dt|}t dt|}|j|||y)z Copy the sourceFileName in the provided UFOReader to destFileName in this writer. This uses the most memory efficient method possible for copying the data possible. Nrrr) rrrFrOrrr;rr)rfrsourceFileName destFileNamerrrs rRcopyImageFromReaderzUFOWriter.copyImageFromReaders  ~~H   !1!? FJ9rQc|jr|jtjurtj j tj j|jddz}tjj|jdd5}tjj|j|j|dddt|Ay#1swYxYw)NrrtTrr)r\rr(rVrwrgrrrrZrrr}r~rsuperr)rfrdestFS __class__s rRrzUFOWriter.closes  ! !d&9&9=M=Q=Q&Qgg&&rww'7'7 'CDQG&PG $I BV)@A B   B Bs ":C33C<)Nzcom.github.fonttools.ufoLibNT) rgrrrrrr3rzOptional[UFOFileStructure]rr[rrre)rr%rrrrrr)rgrr8rnrr)rN)rgrryr3rrgrzOptional[IO[Any]])FT)rgrrr[rr[rrro)rrkrrr)rrrrhrrrl)rrrrhrr)rLibDictrrhrr)rr3rrhrrrm)rLayerOrderListrrhrr)r.rgrr3)NTNNNF)r.rgrr[rrr7rhr8rhr9r[rr")NF) r7r[r8r[rrr9r[rr")NTNF)r7r[r8r[r.rgrr[rrr9r[rr")F)r.rgrrgrr[rr)r.rgrr)rqrr8rnrr)rqrrr)rqrr8rnrrhrr)rqrrrhrr) rr%rrrrrrhrr)$rJrKrLrprrrrrrrrrrremoveFileForPathrrrrrrrrrrrrrrrrrrrrr __classcell__)rs@rRr&r&s404804 XX-X X . X  X Xx!% [KHH-4H@GH H2+."&    @NR77$(7FJ7 72# E 6E4AE5S#5S/=5S 5Sr*:^@D7T"7T.<7T 7TvP*U(MQ@(@;I@ @>$$(!;?'+(,#(@; @;@;"9 @; % @; & @;!@; @;L<@#(    "9  !    .$(!;?#(9 9 9 ! 9  9 "9 9 !9  9 ~# 4A 4A$4A 4A  4Al .L@$( DDD! D  D4$( B B! B  B($( :: : : ! :  :,rQr&c tj|rtjStj j |rtjStj j|rtd|ztd|z)zReturn UFOFileStructure.ZIP if the UFO at path 'ufo_path' (str) is a zip file, else return UFOFileStructure.PACKAGE if 'ufo_path' is a directory. Raise UFOLibError if it is a file with unknown structure, or if the path does not exist. z7The specified UFO does not have a known structure: '%s'zNo such file or directory: '%s') zipfile is_zipfiler(rVrwrgrzrWrr)ufo_paths rRrr'sr(#### x '''  ! E P  ;hFGGrQctjj|\}}djdj|jddddg}tjj||S)a" Return a .ufo pathname. >>> makeUFOPath("directory/something.ext") == ( ... os.path.join('directory', 'something.ufo')) True >>> makeUFOPath("directory/something.another.thing.ext") == ( ... os.path.join('directory', 'something.another.thing.ufo')) True rNufo)rwrgsplitjoin)rgdirrs rRr$r$:sZ d#IC 88SXXdjjocr23U; (noteyearfondIDnoticelicensexHeightascenderdesignerfondNamefontNamefullNamemenuNamettVendoruniqueID capHeight copyright createdBy descender fontStyle msCharSet otMacName styleName trademark ttVersion vendorURL widthName familyName licenseURL slantAngle ttUniqueID unitsPerEm weightName designerURL italicAngle otStyleName weightValue defaultWidth otFamilyName versionMajor versionMinorzset[str]r)rO)rrJstyleMapFamilyNamestyleMapStyleName)rrr[r\r6rDrKrSrFr:rCr;rVr5openTypeHeadCreatedopenTypeHeadLowestRecPPEMopenTypeHeadFlags integerList)rrropenTypeHheaAscenderopenTypeHheaDescenderopenTypeHheaLineGapopenTypeHheaCaretSlopeRiseopenTypeHheaCaretSlopeRunopenTypeHheaCaretOffsetopenTypeNameDesigneropenTypeNameDesignerURLopenTypeNameManufactureropenTypeNameManufacturerURLopenTypeNameLicenseopenTypeNameLicenseURLopenTypeNameVersionopenTypeNameUniqueIDopenTypeNameDescriptionopenTypeNamePreferredFamilyName"openTypeNamePreferredSubfamilyNameopenTypeNameCompatibleFullNameopenTypeNameSampleTextopenTypeNameWWSFamilyNameopenTypeNameWWSSubfamilyNameopenTypeOS2WidthClassopenTypeOS2WeightClassopenTypeOS2SelectionopenTypeOS2VendorIDopenTypeOS2PanoseopenTypeOS2FamilyClassopenTypeOS2UnicodeRangesopenTypeOS2CodePageRangesopenTypeOS2TypoAscenderopenTypeOS2TypoDescenderopenTypeOS2TypoLineGapopenTypeOS2WinAscentopenTypeOS2WinDescentopenTypeOS2TypeopenTypeOS2SubscriptXSizeopenTypeOS2SubscriptYSizeopenTypeOS2SubscriptXOffsetopenTypeOS2SubscriptYOffsetopenTypeOS2SuperscriptXSizeopenTypeOS2SuperscriptYSizeopenTypeOS2SuperscriptXOffsetopenTypeOS2SuperscriptYOffsetopenTypeOS2StrikeoutSizeopenTypeOS2StrikeoutPositionopenTypeVheaVertTypoAscenderopenTypeVheaVertTypoDescenderopenTypeVheaVertTypoLineGapopenTypeVheaCaretSlopeRiseopenTypeVheaCaretSlopeRunopenTypeVheaCaretOffsetpostscriptFontNamepostscriptFullNamepostscriptSlantAnglepostscriptUniqueIDpostscriptUnderlineThicknesspostscriptUnderlinePositionpostscriptIsFixedPitchpostscriptBlueValuespostscriptOtherBluespostscriptFamilyBluespostscriptFamilyOtherBluespostscriptStemSnapHpostscriptStemSnapVpostscriptBlueFuzzpostscriptBlueShift) postscriptBlueScalepostscriptForceBoldpostscriptDefaultWidthXpostscriptNominalWidthXpostscriptWeightNamepostscriptDefaultCharacterpostscriptWindowsCharacterSetmacintoshFONDFamilyIDmacintoshFONDNameFontInfoAttributesr r*r openTypeGaspRangeRecordsdictListopenTypeNameRecordswoffMajorVersionwoffMinorVersionwoffMetadataUniqueIDwoffMetadataVendorwoffMetadataCredits)woffMetadataDescriptionwoffMetadataLicensewoffMetadataCopyrightwoffMetadataTrademarkwoffMetadataLicenseewoffMetadataExtensions guidelinesr+rcVi}t|jD] \}}|||< |Sr)rr)rflippedrrs rR _flipDictrs2G1779o U NrQr@r<rUrErMr9rPrLrRr8rZrWrIrTrrXrArBrrrr) r>r7r=rYrQr?rGrNrHzdict[str, str]fontInfoAttributesVersion1To2regularitalicboldz bold italic)r2rG !zdict[int, str]_fontStyle1To2zdict[str, int]_fontStyle2To1rGrHrIr+r,r-r.) zUltra-condensedzExtra-condensed CondensedzSemi-condensedzMedium (normal)z Semi-expandedExpandedzExtra-expandedzUltra-expanded_widthName1To2_widthName2To1NormalAllmediumMediumM )zdict[int, int]_msCharSet1To2_msCharSet2To1ct|trt||k(r t|}||dk(r,tj |}|t d|d|d|}na|dk(r,t j |}|t d|d|d|}n0|dk(r+tj |}|t d|d|d|}tj ||}||fS)z Convert value from version 1 to version 2 format. Returns the new attribute name and the converted value. If the value is None, None will be returned for the new value. rGCannot convert value () for attribute rrNrH) rfloatrfrrrrrrrrvs rRr/r/B s% u: JE  ; +9+=+=e+DAy!,UI5EdV1ME [ ""5)Ay!,UI5EdV1ME [ ""5)Ay!,UI5EdV1ME ( , ,T4 8D ;rQc|P|dk(rtj|}n5|dk(rtj|}n|dk(rtj|}tj||}||fS)z Convert value from version 2 to version 1 format. Returns the new attribute name and the converted value. If the value is None, None will be returned for the new value. r^rxr)rrrrfontInfoAttributesVersion2To1rrs rRr0r0h sq  & &"&&u-E , ,"&&u-E 4 4"&&u-E ( , ,T4 8D ;rQci}t|jD]A\}}|dk(r|dk(rt||\}}|tvr)|t d|d|d|||<C|S)NrXrrrr)rrr/r*rr8 convertedrrnewAttrnewValues rRr r { sIDJJL)& e = Ub[ R %  4 4  =( 1A'!L & '%&& rQci}t|jD]6\}}t||\}}|tvr|t d|d|d|||<8|S)Nrrr)rrr0r)rrs rRrr sIDJJL) & eR %  4 4  =( 1A'!L & ' & rQ>r\rrr`_ufo2To3NonNegativeInt_ufo2To3NonNegativeIntOrFloat>rercrrdrrrhrrrrr`rrrrrrrrrrrr_ufo2To3FloatToIntc|tvr t|}|t vr t t|}||fS|tvr5 tt|}|t |k(r t |}||k7r|}||fS#ttf$rt d|zwxYw#ttf$rt d|zwxYw#ttf$rt d|zwxYw)z Convert value from version 2 to version 3 format. Returns the new attribute name and the converted value. If the value is None, None will be returned for the new value. zCould not convert value for %s.) rroundrrrrrfabsrrrs rR6convertFontInfoValueForAttributeFromVersion2ToVersion3r s  !! H%LE %% HE OE ; . . Hc%j!A A;AA :E ;!I& H?$FG G H I& H?$FG G H I& H?$FG G Hs! A7BB97BB69Cc ||fS)z Convert value from version 3 to version 2 format. Returns the new attribute name and the converted value. If the value is None, None will be returned for the new value. rPrs rR6convertFontInfoValueForAttributeFromVersion3ToVersion2r s ;rQci}t|jD]"\}}t||\}}|tvr|||<$|Sr)rrrr*rs rRrr sYIDJJL)& eR %  4 4 % ' & rQcti}t|jD]\}}t||\}}|||<|Sr)rrr)r8rrrs rRr r  sKIDJJL) eL % e $  rQ__main__)rrrr()rgrrr3)rr3rr rr[)rrirri)rz dict[K, V]rz dict[V, K])rr3rr rztuple[str, Any])r8rirri)rp __future__renumloggingrwr collectionsrr}rrtypingrrr r r r fontTools.miscr rZrfontTools.ufoLib.convertersrrrfontTools.ufoLib.filenamesrfontTools.ufoLib.utilsrrrfontTools.ufoLib.validatorsrfontTools.annotationsrrrrrrrrrfontTools.misc.filesystem._baser r:r"rr3rkr rr AttributeDataDictr_haveFSr#r2rr4 getLoggerrJr5r7r9r;r<r=r>r?r@rArBrCrDrFEnumr(rYr%r&r'rr$r-rr.rranger*r/r1r3r4r)"fontInfoStyleMapStyleNameValidatorrfr$fontInfoOpenTypeHeadCreatedValidatorgenericIntListValidator&fontInfoOpenTypeOS2WidthClassValidator'fontInfoOpenTypeOS2WeightClassValidator*fontInfoVersion2OpenTypeOS2PanoseValidator'fontInfoOpenTypeOS2FamilyClassValidatorr[ fontInfoPostscriptBluesValidator%fontInfoPostscriptOtherBluesValidator fontInfoPostscriptStemsValidator.fontInfoPostscriptWindowsCharacterSetValidatorr rrr*r updategenericNonNegativeIntValidator!genericNonNegativeNumberValidator*fontInfoVersion3OpenTypeOS2PanoseValidator)fontInfoOpenTypeGaspRangeRecordsValidator$fontInfoOpenTypeNameRecordsValidator%fontInfoWOFFMetadataUniqueIDValidator#fontInfoWOFFMetadataVendorValidator$fontInfoWOFFMetadataCreditsValidator(fontInfoWOFFMetadataDescriptionValidator$fontInfoWOFFMetadataLicenseValidator&fontInfoWOFFMetadataCopyrightValidator&fontInfoWOFFMetadataTrademarkValidator%fontInfoWOFFMetadataLicenseeValidator'fontInfoWOFFMetadataExtensionsValidatorguidelinesValidatorr+rrdataDictrrrrr,rrrrrrr/r0r rrrrrrrr doctesttestmodrPrQrRr9s D#  #@@+#M/9 *   31c4S>12 sCx.$x}-.cN#001 $ S#""8,,'& c)3))3) c%%'#''3'33+C+*C*( tyyOOnt  t xy  y zH& #64(4,/35B<.@ )@1F#YF59%3-5H'H6:5B<6H()H,> >)(H)VM;$C.M;3M;$C.M; !C M;DcNM;DcNM; DcNM;3M;3M;$S%L)M;C<(M;t#u&M;C<(M; 3,'!M;"4eS\*#M;$ DcN%M;&4 !E'M;, C!$C.?M;@ 3AM;Bt#u6CM;DDcNEM;Ft~GM;H#IM;J"4S>KM;L4S>MM;NdnOM;P4S>QM;RDcNSM;Tt~UM;V&t~WM;X)$C.YM;Z%dn[M;\dn]M;^ 3_M;`#DcNaM;bT !GcM;hd !HiM;nD .8oM;x4S>yM;z +U{M;@d +RAM;F .<!GM;P  .="QM;Zt#u6[M;\3, 7]M;^de 5_M;`DsEl3aM;bTU|4cM;dt .3eM;n CO TE O "4S>!O" #DcN#O$ !$C.%O& %F! 'O, %F" -O2 $Ts^3O4 $Ts^5O6 &t~7O8 &t~9O: &t~;O< &t~=O> (3?O@ (3AOB #DcNCOD '#EOF #D,U% GOL t,P MOR '#SOT (3UOV &t~WOX "4S>YOZ D%C [O` D%C aOf &K! gOl d&I mOr t&J sOx$(&N$  $&J "&&L" "&&L" !%&K! #'&M# 5HI]OQd(++N+S+S+U'VHV>DDFG:ND(x'%9!":>DDFG:ND(x'%9!":1$1&1,1+ 1 . 1 $ 1*1&1(1 '1517111(1+1 %!1"$#1$%%#-($$(071~:!**G H'*+H+M+M+O'P$  " "+>!::q " "+>!::xuxx"q"q"q" "  "  """""""""" !""#"$ )","+>!:: # ###L &0*$+x H8 <   zGOOrQ