o
    h                     @   s  d gZ 	 ddlmZmZ ddlmZ ddlmZ ddlm	Z	 ddl
mZ ddlZdd	lmZ edi d
dddddddddddddddddddddddddddddddddZed ddddddddddddddd!Zed"dd#Zed$ddddddddd%	Zedi d
d d&dd'dd(dd)dd*dd+dd,dd-dd.dd/dd0dd1dd2dd3dd4dd5dZedi d
d d&dd'dd(dd6dd7dd8dd9dd-dd.dd0dd1dd2dd3dd:dd4dd;dZedi d<dd=dd>dd?dd@dAdBdCdDdEdFdGdHdIdJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd[d\d]d^d_d`dadbdcdddedfdgdhdiZe	 Zedi dBddjddkdldmdCdndAdoddpddqddrddsddtdduddvddwddxddyddzed{dd|dd}dd~dddddddddddddddddddddddddddddddddddddZG dd  d eZdd Zdd ZdS )FontBuilder   )TTFontnewTable)cmap_classes	flagCubic)Panose)timestampNow    N)OrderedDicttableVersiong      ?fontRevisioncheckSumAdjustmentmagicNumberi<_flags   
unitsPerEmi  createdmodifiedxMinyMinxMaxyMaxmacStylelowestRecPPEMfontDirectionHint   indexToLocFormatglyphDataFormat   )r   	numGlyphs	maxPointsmaxContoursmaxCompositePointsmaxCompositeContoursmaxZonesmaxTwilightPoints
maxStoragemaxFunctionDefsmaxInstructionDefsmaxStackElementsmaxSizeOfInstructionsmaxComponentElementsmaxComponentDepthi P  )r   r          @)	
formatTypeitalicAngleunderlinePositionunderlineThicknessisFixedPitchminMemType42maxMemType42minMemType1maxMemType1ascentdescentlineGapadvanceWidthMaxminLeftSideBearingminRightSideBearing
xMaxExtentcaretSlopeRisecaretSlopeRuncaretOffset	reserved0	reserved1	reserved2	reserved3metricDataFormatnumberOfHMetricsadvanceHeightMaxminTopSideBearingminBottomSideBearing
yMaxExtent	reserved4numberOfVMetrics	copyright
familyName	styleNameuniqueFontIdentifierfullName   version   psName   	trademark   manufacturer   designer	   description
   	vendorURL   designerURL   licenseDescription   licenseInfoURL   typographicFamily   typographicSubfamily   compatibleFullName   
sampleText   postScriptCIDFindfontName   wwsFamilyName   wwsSubfamilyName   lightBackgroundPalette   darkBackgroundPalette   variationsPostScriptNamePrefix   xAvgCharWidthusWeightClassi  usWidthClassfsTypeySubscriptXSizeySubscriptYSizeySubscriptXOffsetySubscriptYOffsetySuperscriptXSizeySuperscriptYSizeySuperscriptXOffsetySuperscriptYOffsetyStrikeoutSizeyStrikeoutPositionsFamilyClasspanoseulUnicodeRange1ulUnicodeRange2ulUnicodeRange3ulUnicodeRange4	achVendIDz????fsSelectionusFirstCharIndexusLastCharIndexsTypoAscendersTypoDescendersTypoLineGapusWinAscentusWinDescentulCodePageRange1ulCodePageRange2sxHeight
sCapHeightusDefaultCharusBreakChar    usMaxContextusLowerOpticalPointSizeusUpperOpticalPointSizec                   @   s6  e Zd ZdGddZdd Zdd	 Zd
d Zdd Zdd Zdd Z	dHddZ
dIddZdd Zdd ZdJddZdd ZdIdd Zd!d" ZdKd#d$Zd%d& Zd'd( Zd)d* Zd+d, Zd-d. Zd/d0 Zd1d2 ZdKd3d4ZdLd5d6Zd7d8 Zd9d: ZdMd;d<ZdNd>d?Z					dOd@dAZ 			dPdBdCZ!dQdEdFZ"dS )Rr   NTr
   c                 C   sj   |du r%t dd| _|| _t }|dusJ | j||||d |   dS |du s+J || _d|v | _dS )a  Initialize a FontBuilder instance.

        If the `font` argument is not given, a new `TTFont` will be
        constructed, and `unitsPerEm` must be given. If `isTTF` is True,
        the font will be a glyf-based TTF; if `isTTF` is False it will be
        a CFF-based OTF.

        The `glyphDataFormat` argument corresponds to the `head` table field
        that defines the format of the TrueType `glyf` table (default=0).
        TrueType glyphs historically can only contain quadratic splines and static
        components, but there's a proposal to add support for cubic Bezier curves as well
        as variable composites/components at
        https://github.com/harfbuzz/boring-expansion-spec/blob/main/glyf1.md
        You can experiment with the new features by setting `glyphDataFormat` to 1.
        A ValueError is raised if `glyphDataFormat` is left at 0 but glyphs are added
        that contain cubic splines or varcomposites. This is to prevent accidentally
        creating fonts that are incompatible with existing TrueType implementations.

        If `font` is given, it must be a `TTFont` instance and `unitsPerEm`
        must _not_ be given. The `isTTF` and `glyphDataFormat` arguments will be ignored.
        NF)recalcTimestamp)r   r   r   r   glyf)r   fontisTTFr	   	setupHead	setupMaxp)selfr   r   r   r   now r   i/var/www/html/construction_image-detection-poc/venv/lib/python3.10/site-packages/fontTools/fontBuilder.py__init__9  s   zFontBuilder.__init__c                 C      | j | dS )zgSave the font. The 'file' argument can be either a pathname or a
        writable file object.
        N)r   save)r   filer   r   r   r   `     zFontBuilder.savec                 C   sR   t | }| j|< | D ]
\}}t||| q| D ]
\}}t||| q|S N)r   r   itemssetattr)r   tableTagdefaultsvaluestablekvr   r   r   _initTableWithValuesf  s   z FontBuilder._initTableWithValuesc                 C   s,   | j | }| D ]
\}}t||| q	d S r   )r   r   r   )r   r   r   r   r   r   r   r   r   _updateTableWithValuesn  s   
z"FontBuilder._updateTableWithValuesc                 K      |  dt| dS )zCreate a new `head` table and initialize it with default values,
        which can be overridden by keyword arguments.
        headN)r   _headDefaultsr   r   r   r   r   r   s     zFontBuilder.setupHeadc                 K      |  d| dS )z^Update the head table with the fields and values passed as
        keyword arguments.
        r   N)r   r   r   r   r   
updateHeady  r   zFontBuilder.updateHeadc                 C   r   )z!Set the glyph order for the font.N)r   setGlyphOrder)r   
glyphOrderr   r   r   setupGlyphOrder  s   zFontBuilder.setupGlyphOrderFc                 C   s`  g }|rt |nd}|dkr&tdd | D }t|ddd}|| n|}d}t||dd	}	z|	| j W n tjyR   |sGt	d
d}t||dd	}	Y nw ||	 t||dd}
||
 |duri }|D ]\}}}|
||krzd}||vrg ||< || ||f qlti ddd}||_|| td| jd< d| jd _|| jd _dS )a  Build the `cmap` table for the font. The `cmapping` argument should
        be a dict mapping unicode code points as integers to glyph names.

        The `uvs` argument, when passed, must be a list of tuples, describing
        Unicode Variation Sequences. These tuples have three elements:
            (unicodeValue, variationSelector, glyphName)
        `unicodeValue` and `variationSelector` are integer code points.
        `glyphName` may be None, to indicate this is the default variation.
        Text processors will then use the cmap to find the glyph name.
        Each Unicode Variation Sequence should be an officially supported
        sequence, but this is not policed.
        r
   i  c                 s   s$    | ]\}}|d k r||fV  qdS )r   Nr   ).0r   r   r   r   r   	<genexpr>  s   " z0FontBuilder.setupCharacterMap.<locals>.<genexpr>rc   r   r_   rS   r   zFcmap format 4 subtable overflowed; sort glyph order by unicode to fix.Nrg   rU   cmap)maxdictr   buildCmapSubTableappendcompiler   structerror
ValueErrorgetuvsDictr   r   tables)r   cmappinguvsallowFallback	subTableshighestUnicodecmapping_3_1subTable_3_10formatsubTable_3_1subTable_0_3r   unicodeValuevariationSelector	glyphNameuvsSubTabler   r   r   setupCharacterMap  sH   


zFontBuilder.setupCharacterMapc                 C   sp   t d }| jd< g |_| D ]%\}}t|tr|}nt| }t|tr*t|d}|j	|| j|||d qdS )a  Create the `name` table for the font. The `nameStrings` argument must
        be a dict, mapping nameIDs or descriptive names for the nameIDs to name
        record values. A value is either a string, or a dict, mapping language codes
        to strings, to allow localized name table entries.

        By default, both Windows (platformID=3) and Macintosh (platformID=1) name
        records are added, unless any of `windows` or `mac` arguments is False.

        The following descriptive names are available for nameIDs:

            copyright (nameID 0)
            familyName (nameID 1)
            styleName (nameID 2)
            uniqueFontIdentifier (nameID 3)
            fullName (nameID 4)
            version (nameID 5)
            psName (nameID 6)
            trademark (nameID 7)
            manufacturer (nameID 8)
            designer (nameID 9)
            description (nameID 10)
            vendorURL (nameID 11)
            designerURL (nameID 12)
            licenseDescription (nameID 13)
            licenseInfoURL (nameID 14)
            typographicFamily (nameID 16)
            typographicSubfamily (nameID 17)
            compatibleFullName (nameID 18)
            sampleText (nameID 19)
            postScriptCIDFindfontName (nameID 20)
            wwsFamilyName (nameID 21)
            wwsSubfamilyName (nameID 22)
            lightBackgroundPalette (nameID 23)
            darkBackgroundPalette (nameID 24)
            variationsPostScriptNamePrefix (nameID 25)
        nameen)ttFontnameIDwindowsmacN)
r   r   namesr   
isinstanceint_nameIDsstrr   addMultilingualName)r   nameStringsr   r   	nameTablenameName	nameValuer   r   r   r   setupNameTable  s   %


zFontBuilder.setupNameTablec                 K   s   |  dt| d|vrd| jv sJ d| jd | j d|v sAd|v sCd|v sEd|v sGd| jv s6J d	| jd | j d
S d
S d
S d
S d
S )zCreate a new `OS/2` table and initialize it with default values,
        which can be overridden by keyword arguments.
        zOS/2r|   hmtxz6the 'hmtx' table must be setup before the 'OS/2' tabler   r   r   r   z6the 'cmap' table must be setup before the 'OS/2' tableN)r   _OS2Defaultsr   recalcAvgCharWidthrecalcUnicodeRangesr   r   r   r   setupOS2  s$   zFontBuilder.setupOS2c                 C   sf  ddl m}m}m}m}m}	m}
 | jrJ d| j_	| }d|_
d|_| j|_|g|_| |_|	 }||_|
 }| D ]
\}}t||| q;d }d }| }| j |_||_|j|_| D ]
\}}t||| q^d|vr~d| jd j }|dd|ddg|_|d |j||||}| D ]\}}||_||_|||< q||_|j| td| jd< || jd _d S )Nr   )
CFFFontSetTopDictIndexTopDictCharStringsGlobalSubrsIndexPrivateDictOTTOr
   
FontMatrixr   zCFF )cffLibr   r   r   r   r   r   r   r   sfntVersionmajorminorotFont	fontNamestopDictIndexGlobalSubrsr   r   getGlyphOrdercharsetPrivater   r  privateglobalSubrsr   r   cff)r   rV   fontInfocharStringsDictprivateDictr   r   r   r   r   r   fontSetr  r  keyvaluefdSelectfdArraytopDictscalecharStringsr   
charStringr   r   r   setupCFF  sH    
	
zFontBuilder.setupCFFc                 C   s  ddl m}m}m}m}m}m}	m}
m} | j	rJ d| j
_| }d|_d|_| j
j}|d |d |_| }||_|d u r>i g}d }|
 }d |_||_|D ]$}| }|d |	 }| D ]
\}}t||| q\||_|| qK| }||_||_d| j
d j }|dd|ddg|_|d j}|d d ||||}| D ]\}}||_||_|||< q||_|j| td| j
d< || j
d _|r| | d S d S )	Nr   )r   r   r   r   r   r   FDArrayIndexFontDictr  r   r
   Tr   CFF2) r  r   r   r   r   r   r   r  r  r   r   r  r  r  r  r	  r
  stringssetCFF2r   r   r  r   cff2GetGlyphOrderFDArrayr   r  r  r  r   r  setupCFF2Regions)r   r  fdArrayListregionsr   r   r   r   r   r   r  r  r  r#  r  r  r  r  fontDictr  r  r  r  r  r  r   r  r   r   r   	setupCFF24  sT   (



zFontBuilder.setupCFF2c                 C   s   ddl m}m}m} ddlm} d| jv sJ dd| jv s"J ddd	 | jd jD }|||}|tt	t
|d d
d}|||g}	||	d}
| jd jjd }|
|_|jD ]}|
|j_qYd S )Nr   )buildVarRegionListbuildVarDatabuildVarStore)VarStoreDatafvarzfvar must to be set up firstr   zCFF2 must to be set up firstc                 S      g | ]}|j qS r   axisTag)r   ar   r   r   
<listcomp>w      z0FontBuilder.setupCFF2Regions.<locals>.<listcomp>F)optimize)
otVarStorer
   )varLib.builderr*  r+  r,  r  r-  r   axeslistrangelenr  r	  VarStorer$  r  vstore)r   r'  r*  r+  r,  r-  axisTagsvarRegionListvarDatavarStorer=  r  r(  r   r   r   r%  q  s   



zFontBuilder.setupCFF2Regionsc                 C   s   | j sJ |r/| jd jdkr/| D ]\}}|jdkr.tdd |jD r.td|dqtd| jd< td| jd< || jd _	t
| jd	rQ| jj| jd _|rY|   d
S d
S )a  Create the `glyf` table from a dict, that maps glyph names
        to `fontTools.ttLib.tables._g_l_y_f.Glyph` objects, for example
        as made by `fontTools.pens.ttGlyphPen.TTGlyphPen`.

        If `calcGlyphBounds` is True, the bounds of all glyphs will be
        calculated. Only pass False if your glyph objects already have
        their bounding box values set.

        If `validateGlyphFormat` is True, raise ValueError if any of the glyphs contains
        cubic curves or is a variable composite but head.glyphDataFormat=0.
        Set it to False to skip the check if you know in advance all the glyphs are
        compatible with the specified glyphDataFormat.
        r   r
   c                 s   s    | ]}|t @ V  qd S r   r   )r   fr   r   r   r     s    z(FontBuilder.setupGlyf.<locals>.<genexpr>zGlyph zt has cubic Bezier outlines, but glyphDataFormat=0; either convert to quadratics with cu2qu or set glyphDataFormat=1.locar   r   N)r   r   r   r   numberOfContoursanyr   r   r   glyphshasattrr   calcGlyphBounds)r   rF  rH  validateGlyphFormatr   gr   r   r   	setupGlyf  s    

zFontBuilder.setupGlyfc                 C   s   t | j|| dS )a  Adds an font variations table to the font.

        Args:
            axes (list): See below.
            instances (list): See below.

        ``axes`` should be a list of axes, with each axis either supplied as
        a py:class:`.designspaceLib.AxisDescriptor` object, or a tuple in the
        format ```tupletag, minValue, defaultValue, maxValue, name``.
        The ``name`` is either a string, or a dict, mapping language codes
        to strings, to allow localized name table entries.

        ```instances`` should be a list of instances, with each instance either
        supplied as a py:class:`.designspaceLib.InstanceDescriptor` object, or a
        dict with keys ``location`` (mapping of axis tags to float values),
        ``stylename`` and (optionally) ``postscriptfontname``.
        The ``stylename`` is either a string, or a dict, mapping language codes
        to strings, to allow localized name table entries.
        N)addFvarr   )r   r8  	instancesr   r   r   	setupFvar  s   zFontBuilder.setupFvarc                 C   sT   ddl m} d| jvrtddd | jd jD }tt|}|| j||| dS )zAdds an axis variations table to the font.

        Args:
            axes (list): A list of py:class:`.designspaceLib.AxisDescriptor` objects.
        r   )	_add_avarr.  z*'fvar' table is missing; can't add 'avar'.c                 S   r/  r   r0  )r   axisr   r   r   r3    r4  z)FontBuilder.setupAvar.<locals>.<listcomp>N)varLibrO  r   KeyErrorr8  r   	enumerate)r   r8  mappingsrO  r>  r   r   r   	setupAvar  s   
zFontBuilder.setupAvarc                 C   s(   t d }| jd< d|_d|_||_d S )Ngvarr   r
   )r   r   rT   reserved
variations)r   rX  rV  r   r   r   	setupGvar  s   
zFontBuilder.setupGvarc                 C   s(   | j d }|j D ]}|| q
dS )zCalculate the bounding boxes of all glyphs in the `glyf` table.
        This is usually not called explicitly by client code.
        r   N)r   rF  r   recalcBounds)r   
glyphTableglyphr   r   r   rH    s   
zFontBuilder.calcGlyphBoundsc                 C   r   )zCreate a new `hmtx` table, for horizontal metrics.

        The `metrics` argument must be a dict, mapping glyph names to
        `(width, leftSidebearing)` tuples.
        r   NsetupMetricsr   metricsr   r   r   setupHorizontalMetrics     z"FontBuilder.setupHorizontalMetricsc                 C   r   )zCreate a new `vmtx` table, for horizontal metrics.

        The `metrics` argument must be a dict, mapping glyph names to
        `(height, topSidebearing)` tuples.
        vmtxNr]  r_  r   r   r   setupVerticalMetrics  rb  z FontBuilder.setupVerticalMetricsc                 C   s^   |dv sJ t | }| j|< i }|D ]}|| \}}tt|tt|f||< q||_dS )z<See `setupHorizontalMetrics()` and `setupVerticalMetrics()`.)r   rc  N)r   r   r   roundr`  )r   r   r`  mtxTableroundedMetricsgnwlsbr   r   r   r^    s   
zFontBuilder.setupMetricsc                 K   r   )z{Create a new `hhea` table initialize it with default values,
        which can be overridden by keyword arguments.
        hheaN)r   _hheaDefaultsr   r   r   r   setupHorizontalHeader  r   z!FontBuilder.setupHorizontalHeaderc                 K   r   )z{Create a new `vhea` table initialize it with default values,
        which can be overridden by keyword arguments.
        vheaN)r   _vheaDefaultsr   r   r   r   setupVerticalHeader  r   zFontBuilder.setupVerticalHeaderc                    s   |du r-i  |D ]}|| }| vrd |< q |  d7  < qt   fddddd }| di ti |d	 | jd }d|_d|_|D ]}|| ||< qEdS )
aY  Create a new `VORG` table. The `verticalOrigins` argument must be
        a dict, mapping glyph names to vertical origin values.

        The `defaultVerticalOrigin` argument should be the most common vertical
        origin value. If omitted, this value will be derived from the actual
        values in the `verticalOrigins` argument.
        Nr   c                    s    |  S r   r   )vorgbagr   r   <lambda>  s    z2FontBuilder.setupVerticalOrigins.<locals>.<lambda>T)r  reverser
   VORG)VOriginRecordsdefaultVertOriginY)sortedr   r   r   majorVersionminorVersion)r   verticalOriginsdefaultVerticalOriginrh  rq  	vorgTabler   rr  r   setupVerticalOrigins  s.   


z FontBuilder.setupVerticalOriginsc                 K   sF   d| j v }| dt|}| js|r|rd|_g |_i |_dS d|_dS )zCreate a new `post` table and initialize it with default values,
        which can be overridden by keyword arguments.
        r   postg       @r.   N)r   r   _postDefaultsr   r/   
extraNamesmapping)r   keepGlyphNamesr   isCFF2	postTabler   r   r   	setupPost  s   


zFontBuilder.setupPostc                 C   s"   | j rt}nt}| d|i  dS )zCreate a new `maxp` table. This is called implicitly by FontBuilder
        itself and is usually not called by client code.
        maxpN)r   _maxpDefaultsTTF_maxpDefaultsOTFr   )r   r   r   r   r   r   '  s   zFontBuilder.setupMaxpc                 C   s"   t dddg d}| di | dS )zThis adds an empty DSIG table to the font to make some MS applications
        happy. This does not properly sign the font.
        r   r
   )	ulVersionusFlag	usNumSigssignatureRecordsDSIGN)r   r   r   r   r   r   setupDummyDSIG1  s   zFontBuilder.setupDummyDSIGc                 C   s$   ddl m} || j||||d dS )a  Add OpenType features to the font from a string containing
        Feature File syntax.

        The `filename` argument is used in error messages and to determine
        where to look for "include" files.

        The optional `tables` argument can be a list of OTL tables tags to
        build, allowing the caller to only build selected OTL tables. See
        `fontTools.feaLib` for details.

        The optional `debug` argument controls whether to add source debugging
        information to the font in the `Debg` table.
        r   )addOpenTypeFeaturesFromString)filenamer   debugN)feaLib.builderr  r   )r   featuresr  r   r  r  r   r   r   addOpenTypeFeatures=  s   
zFontBuilder.addOpenTypeFeaturesrvrnc                 C   s4   ddl m} d| jvrtd|j| j||d dS )z|Add conditional substitutions to a Variable Font.

        See `fontTools.varLib.featureVars.addFeatureVariations`.
        r   )featureVarsr.  z5'fvar' table is missing; can't add FeatureVariations.)
featureTagN)rQ  r  r   rR  addFeatureVariations)r   conditionalSubstitutionsr  r  r   r   r   r  Q  s   

z FontBuilder.addFeatureVariationsc           	   	   C   s6   ddl m} | j }||||||||d| jd< dS )zqBuild new COLR table using color layers dictionary.

        Cf. `fontTools.colorLib.builder.buildCOLR`.
        r
   )	buildCOLR)rT   glyphMaprA  varIndexMap	clipBoxesallowLayerReuseCOLRN)fontTools.colorLib.builderr  r   getReverseGlyphMap)	r   colorLayersrT   rA  r  r  r  r  r  r   r   r   	setupCOLR_  s   
zFontBuilder.setupCOLRc                 C   s0   ddl m} |||||| jdd| jd< dS )zBuild new CPAL table using list of palettes.

        Optionally build CPAL v1 table using paletteTypes, paletteLabels and
        paletteEntryLabels.

        Cf. `fontTools.colorLib.builder.buildCPAL`.
        r
   )	buildCPALr   )paletteTypespaletteLabelspaletteEntryLabelsr   CPALN)r  r  r   r   )r   palettesr  r  r  r  r   r   r   	setupCPALy  s   
zFontBuilder.setupCPALr   c              	   C   sL   ddl m} d| jv sJ d|| j|||tdd | jd jD d dS )	zBuild a new 'STAT' table.

        See `fontTools.otlLib.builder.buildStatTable` for details about
        the arguments.
        r   )buildStatTabler   zname must to be set up firstc                 s       | ]}|j d kV  qdS r   N
platformIDr   nrr   r   r   r         z(FontBuilder.setupStat.<locals>.<genexpr>)macNamesN)otlLib.builderr  r   rE  r   )r   r8  	locationselidedFallbackNamer  r   r   r   	setupStat  s   
zFontBuilder.setupStat)NNTr
   )NF)TT)NNr   )T)NNF)r  )NNNNT)NNN)Nr   )#__name__
__module____qualname__r   r   r   r   r   r   r   r   r   r   r  r)  r%  rK  rN  rU  rY  rH  ra  rd  r^  rm  rp  r  r  r   r  r  r  r  r  r  r   r   r   r   r   8  sR    
'

63
3=
 








c                 C   s(   t | |}| |_||_||_d|_|S )Nr
   )r   r   r  	platEncIDlanguage)r   r   r  r  subTabler   r   r   r     s   r   c                 C   s  ddl m}m} |sJ td}| d }tdd t|ddD }d	}|r)d
| }|D ]J}	| }
t|	trA|	\|
_|
_	|
_
|
_}n|	j|	j|	j|	j|	jf\|
_|
_	|
_
|
_}|	jr\d|
_t|trft|d}|j|| |d|
_|j|
 q+|D ]L}t|tr|d }|d }|d}n|j}|jp|j}|j}t|trt|d}| }|j|| |d|_|d ur|j||d|_ ||_!|j"| qx|| d< d S )Nr   )AxisNamedInstancer.  r   c                 s   r  r  r  r  r   r   r   r     r  zaddFvar.<locals>.<genexpr>r   r   ))r   r   i	  ))r   r
   r
   r   )r   r   location	stylenamepostscriptfontname)	platforms)#ttLib.tables._f_v_a_rr  r  r   rE  getattrr   tupler1  minValuedefaultValuemaxValuetagminimumdefaultmaximumr   hiddenr   r   r   r   
axisNameIDr8  r   r   r  localisedStyleNamerP   postScriptFontNamesubfamilyNameIDaddNamepostscriptNameIDcoordinatesrM  )r   r8  rM  r  r  r.  r   r  r  axis_defrP  r   instancer  psnameinstr   r   r   rL    sb   





rL  r   )__all__ttLibr   r   ttLib.tables._c_m_a_pr   ttLib.tables._g_l_y_fr   ttLib.tables.O_S_2f_2r   misc.timeToolsr	   r   collectionsr   r   r   r  r  r  rl  ro  r   _panoseDefaultsr   objectr   r   rL  r   r   r   r   <module>   s:    	
	
	
	
 	
 !"#$%&'+    p	