Files
intellecton/venv/lib/python3.12/site-packages/fontTools/__pycache__/fontBuilder.cpython-312.pyc
T

280 lines
36 KiB
Plaintext
Raw Normal View History

Ë
zRjè…ãóädgZ ddlmZmZddlmZddlmZddlm Z ddl
m Z ddl Z dd l
mZednid
d d d d
dddddddddddddddddddddddddddddŽZed dddddddddddddd¬!«Zed"d¬#«Zed$dddddddd¬%« Zednid
d “d&dd'dd(dd)dd*dd+dd,dd-dd.dd/dd0dd1dd2dd3dd4dd5dŽZednid
d “d&dd'dd(dd6dd7dd8dd9dd-dd.dd0dd1dd2dd3dd:dd4dd;dŽZednid<dd=dd>dd?dd@dA“dBdC“dDdE“dFdG“dHdI“dJdK“dLdM“dNdO“dPdQ“dRdS“dTdU“dVdW“dXdY“dZd[“d\d]“d^d_“d`da“dbdc“ddde“dfdg“dhdi“ŽZdj„ZGdk„de«Zdl„Zdm„Zy)oÚ 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ÚmaxComponentDepthiP)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écótd/iddddddddd d
d dd dd
ddddddddddddddddddt«ddddddddddddddddd dd!dd"dd#dd$dd%dd&dd'dd(dd)dd*d+“d,dd-dd.dŽS)0NrUrÚ
xAvgCharWidthr Ú
usWeightClassiÚ usWidthClassrVÚfsTyperTÚ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ÚusUpperOpticalPointSize©)Údictr óúX/home/antigravity/intellecton/venv/lib/python3.12/site-packages/fontTools/fontBuilder.pyÚ_getOS2Defaultsr© Ü ò( Ùð( áð( ñð( ñð ( ñ
ð ( ñ ð
( ñð( ñð( ñð( ñð( ñð( ñð( ñð( ñð( ñð( ñ ð!( ô"Œxð#( ñ$ð%( ñ&ð'( ñ(ð)( ñ*ð+( ñ,ð-( ñ.ð/( ñ0ð1( ñ2ð3( ñ4ð5( ñ6ð7( ñ8ð9( ñ:ð;( ñ<ð=( ñ>ð?( ñ@ðA( ñBðC( ñDðE( ñFðG( ñHðI( ñJðK( ñL!"ðM( ñN!"ðO( ð(cóüeZdZd#dZdZdZdZdZdZdZ d$d „Z
d%d
Z d Z d Z
d&d
ZdZd%dZdZd'dZdZdZdZdZdZdZdZdZd'dZd(dZdZdZd)dZd*dZ d+d „Z! d,d!„Z"d-d"„Z#y).rNcóÈ|€Ltd¬«|_||_t«}|J|j ||||¬«|j «y|J||_d|v|_y)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)rrrrÚglyf)rÚfontÚisTTFr
Ú setupHeadÚ setupMaxp)ÚselfrrÚnowsÚ__init__zFontBuilder.__init__9svð, ˆ¨uÔ5ˆDŒI؈DŒJÜ“.ˆCØÐ  N‰NØØØ /ð
ô
ð
N‰NÕ àÐ ˆDŒIØ 4˜ˆDJr§có:|jj|«y)zgSave the font. The 'file' argument can be either a pathname or a
writable file object.
N)Úsave)ÚfileszFontBuilder.save`sð
cóÎt|«x}|j|<|j«D]\}}t|||«Œ|j«D]\}}t|||«Œ|S©N)rÚitemsÚsetattr)ÚtableTagÚdefaultsÚvaluesÚtableÚvsÚ_initTableWithValuesz FontBuilder._initTableWithValuesfsjÜ&.¨xÓ&8Ð8ˆ ˜—N‘NÓ !‰DˆAˆqÜ E˜1˜aÕ ð—LL“Nò !‰DˆAˆ E˜1˜aÕ ðˆ cól|j|}|j«D]\}}t|||«Œy))r¿sÚ_updateTableWithValuesz"FontBuilder._updateTableWithValuesns5Ø ˜Ø—L‘L“Nò !‰DˆAˆqÜ E˜1˜ ñ !r§c ó2|jdt|«y)zCreate a new `head` table and initialize it with default values,
which can be overridden by keyword arguments.
ÚheadN)Ú
_headDefaults©szFontBuilder.setupHeadsóð
×! &¬-¸Õ@r§c ó(|jd|«y)z^Update the head table with the fields and values passed as
keyword arguments.
N)sÚ
updateHeadzFontBuilder.updateHeadysð
×# F¨FÕ3r§có:|jj|«y)z!Set the glyph order for the font.N)Ú
setGlyphOrder)Ú
glyphOrdersÚsetupGlyphOrderzFontBuilder.setupGlyphOrdersà ×Ñ 
Õ+r§có.g}|r t|«nd}|dkDr@td|j«D««}t|ddd«}|j |«n|}d}t||dd«} | j |j «|j | «t||dd«}
|j |
«|hi} |D];\} }
}|j| «|k(rd
}|
| vrg| |
<| |
j | |f«Œ=tid dd «}| |_ |j |«td
«|j d
<d|j d
_
||j d
_y
#tj$r!|s td «d}t||dd«} YŒwxYw)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ÿÿc3ó6K|]\}}|dksŒ ||fŒy­w)r Nr¥)Ú.0rÀsú <genexpr>z0FontBuilder.setupCharacterMap.<locals>.<genexpr>“sèø€ÒS©4¨1¨aÀqÈ7Ã{  A¤ÑSùs
 rdrr`rTrzFcmap format 4 subtable overflowed; sort glyph order by unicode to fix.NrhrVÚcmap)Úmaxr¦ÚbuildCmapSubTableÚappendÚcompiler®ÚstructÚerrorÚ
ValueErrorÚgetÚuvsDictrr
Útables)ÚcmappingÚuvsÚ
allowFallbackÚ subTablesÚhighestUnicodeÚ cmapping_3_1Ú
subTable_3_10ÚformatÚ subTable_3_1Ú subTable_0_3rÝÚ unicodeValueÚvariationSelectorÚ glyphNameÚ uvsSubTablesÚsetupCharacterMapzFontBuilder.setupCharacterMapƒðˆ Ù*2œ˜Xœ¸ˆØ ˜FÒ ÑS°8·>±>Ó3CÔSˆ-¨h¸¸A¸rÓBˆMØ × Ñ ˜]Õ #ˆL؈ܰv¸qÀ!Ó ð IØ × Ñ  §¡Ô  ×ј԰v¸qÀ!ÓDˆ Ø×Ñ˜Ô ˆˆGØ>Aò
MÑ: ÐØ—<<  ÓÒ:à $$¨GÑ3Ø13Ð*×1°<ÀÐ2KÕ

Mô,¨B°°A°qÓ9ˆKØ")ˆKÔ Ø × Ñ ˜ $ ,ˆØ)*ˆÔ&Ø#,ˆÕ øô7|‰|ò Iá Ü ØððˆFÜ,¨\¸6À1ÀaÓH IúsÁ*E Å 0FÆFcó&td«x}|jd<g|_|j«D]]\}}t |t
«r|}n t |}t |t«r t|¬«}|j||j|||¬«Œ_y)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ÚnamesrºÚ
isinstanceÚintÚ_nameIDsÚstrr¦ÚaddMultilingualName)Ú nameStringsrôÚ nameTableÚnameNameÚ nameValuerósÚsetupNameTablezFontBuilder.setupNameTable¹sôJ)1°Ó(8ÐD—II˜ˆ Œà#.×#4Ñ#4Ó#6ò Ñ ˆH˜(¤CÔ!‘ä! (Ñ+ܘ)¤SÔ  IÔ. Ø ×  $§)¡)°FÀGÐQTð

ñ c ó^|jdt«|«d|vr=d|jvsJd«|jdj|j«d|vsMd|vsHd|vsCd|vs>d|jvsJd «|jdj |j«y
y
y
y
y
) zCreate a new `OS/2` table and initialize it with default values,
which can be overridden by keyword arguments.
zOS/2r~Úhmtxz6the 'hmtx' table must be setup before the 'OS/2' tablerŽrrz6the 'cmap' table must be setup before the 'OS/2' tableN)ÚrecalcAvgCharWidthÚrecalcUnicodeRangesrÈsÚsetupOS2zFontBuilder.setupOS2ìð
×! &¬/Ó*;¸   ˜$Ÿ)™)Ñ
Hà
HØ I‰I × ·±Ô  Ñ       Fј$Ÿ)™)Ñ
Hà
HØ I‰I × 1°$·)±)Õ 
(r§có’ddlm}m}m}m}m} m}
|jrJd|j_ |«} d| _
d| _ |j| _ |g| _
|«| _| «} | | _|
«}
|j!«D]\}}t#|
||«Œd}d}|«}|jj%«|_|
|_| j|_|j!«D]\}}t#|||«Œd|vr)d|jdj*z }|dd|ddg|_|d|j&| |
||«}|j!«D]\}}|
|_| |_|||<Œ||_| jj3|«t5d«|jd<| |jd_y)Nr)Ú
CFFFontSetÚ TopDictIndexÚTopDictÚ CharStringsÚGlobalSubrsIndexÚ PrivateDictÚOTTOr Ú
FontMatrixrÆzCFF )ÚcffLibrrr r
r r Ú sfntVersionÚmajorÚminorÚotFontÚ fontNamesÚ topDictIndexÚ GlobalSubrsrºÚ
getGlyphOrderÚcharsetÚPrivaterrÚprivateÚ globalSubrsr×rÚcff)rWÚfontInfoÚcharStringsDictÚ privateDictrrr r
r r ÚfontSetrrÚkeyÚvalueÚfdSelectÚfdArrayÚtopDictÚscaleÚ charStringsrëÚ
charStringsÚsetupCFFzFontBuilder.setupCFF÷
÷
ð—:ˆ~Ø &ˆ ‰ ÔÙ“,ˆØˆŒ
؈Œ
ØŸˆŒØ#˜HˆÔÙ+›~ˆÔá ØÔÙ“-ˆØ )‰JˆCÜ G˜S %Õ ˆØˆá“)ˆØŸ)™)׌،ØÔØ"Ÿ.™.Ó )‰JˆCÜ G˜S   ˜ ˜Ÿ ™  )×4ˆEØ"'¨¨A¨u°a¸Ð!;ˆ á '—// ¸À7ó
ˆ ð&5×%:Ñ%:Ó%<ò !ˆIzØ!(ˆ Ø%0ˆ "Ø%/ˆK˜ Ò *ˆÔà×Ñ×# GÔ$ ,ˆØ 'ˆÕcóÆddlm}m}m}m}m}m} m}
m} |jrJd|j_ |«} d| _ d| _
|jj}
|d|
d«| _|«}|| _|ig}d}|
«}d|_||_|D]^}| «}|j%d«| «}|j'«D]\}}t)|||«Œ||_|j-|«Œ`|«}|
|_||_d|jdj2z }|dd|ddg|_|dj*}|dd||||«}|j'«D]\}}||_||_|||<Œ||_| jj-|«t;d«|jd<| |jd_|r|j?|«yy) Nr)rrr r
r r Ú FDArrayIndexÚFontDictr
rr TrÆÚCFF2) rrrr r
r r r+r,rrrrrrÚstringsÚsetCFF2rºrr×Úcff2GetGlyphOrderÚFDArrayrrrrrrÚsetupCFF2Regions)rÚ fdArrayListÚregionsrrr r
r r r+r,r r0rr#r$rÚfontDictrr!r"r%r&r'r(sÚ setupCFF2zFontBuilder.setupCFF24÷
÷
ó
ð—:ˆ~Ø &ˆ ‰ ÔÙ“,ˆØˆŒ
؈Œ
à ŸI™I×Ù+¨DÐ2CÀTÓJˆÔá ØÔà Рؘ$ˆK؈ٓ.ˆØˆŒØÔØ %ˆKÙ“zˆ × Ñ ˜ !“mˆ)×
-
˜  eÕ
&ˆ Ø N‰N˜ “)ˆØ$5ˆÔŒØD—I‘I˜fÑØ# Q¨¨5°!°QÐÔà˜!‘*×Ù! $¨¨k¸7ÀHÈgÓVˆ Ø%4×%:Ñ%:Ó%<ò !ˆIzØ!(ˆ Ø%0ˆ "Ø%/ˆK˜ Ò *ˆÔà×Ñ×# GÔ$ ,ˆØ 'ˆÔá Ø × !   c óddlm}m}m}ddlm}d|j vsJd«d|j vsJd«|j djDcgc]}|jŒ}}|||«}|ttt|«««dd¬ «} ||| g«}
||
¬
«} |j djjd } | | _| jD]}
| |
j _Œycc}w) Nr)ÚbuildVarRegionListÚ buildVarDataÚ
buildVarStore)Ú VarStoreDataÚfvarzfvar must to be set up firstr-zCFF2 must to be set up firstF)Úoptimize)Ú
otVarStorer )ÚvarLib.builderr8r9r:rr;ÚaxesÚaxisTagÚlistÚrangeÚlenrrÚVarStorer1rÚvstore)r4r8r9r:r;ÚaxisTagsÚ
varRegionListÚvarDataÚvarStorerFr%r5sr2zFontBuilder.setupCFF2RegionsqߘŸÑBÐ$BÓ˜ŸÑBÐ$BÓ"Ø'+§y¡y°Ñ'8×'=Ñ'=Ö> !A—I“IÐ>ˆÐ*¨7°HÓ=ˆ
Ùœt¤E¬#¨g«,Ó$7Ó8¸$ÈÔÙ  °° ÓÙ¨ÔØ—))˜#×'×4°QÑØÔØŸò -ˆHØ&,ˆH× Ñ Õ  -ùò?sÁC=có,|jsJ|ro|jdjdk(rS|j«D]@\}}|jdkDsŒt d|j D««sŒ3td|d«td«|jd<td«|jd<||jd_ t|jd«r(|jj|jd_ |r|j«y y )
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 c3ó.K|]
}|tzŒy­wr)Úfsz(FontBuilder.setupGlyf.<locals>.<genexpr>“sèø€Ò1QÀA°!´iµ-Ñ1QùszGlyph zt has cubic Bezier outlines, but glyphDataFormat=0; either convert to quadratics with cu2qu or set glyphDataFormat=1.Úlocar­N)
rÚnumberOfContoursÚanyrrÚglyphsÚhasattrrÎÚcalcGlyphBounds)rRrTÚvalidateGlyphFormatrïÚgsÚ setupGlyfzFontBuilder.setupGlyfðzŠzЈzá  4§9¡9¨VÑ#4×#DÑ#DÈÒ#IØ!Ÿ<™<
×Ó)¬cÑ1QÈÏÉÔ1QÕ.QÜ   ð)\ð\óðð
ô% ,ˆÜ$ ,ˆØ#)ˆÔ Ü 4—99˜ +Ø+/¯9©9×+?Ñ+?ˆDI‰I Ô Ø × Ñ Õ  có2t|j||«y)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@Ú instancessÚ setupFvarzFontBuilder.setupFvar¡sô*  ˜4 Õ+r§cóþddlm}d|jvr td«|jdjDcgc]}|j
Œ}}t
t|««}||j|||«ycc}w)z˜Adds 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'.N)ÚvarLibr]ÚKeyErrorr@rAr Ú enumerate)r@Úmappingsr]ÚaxisrHsÚ setupAvarzFontBuilder.setupAvar¸skõ ˜ŸÑ Ð Hà-1¯Y©Y°vÑ->×-CÑ-CÖD TD—L“LÐDˆÐœ9 T›?ÓÙ$—))˜T 8¨XÕ6ùòEs»A:cóbtd«x}|jd<d|_d|_||_y)gvarrr ©rrUÚreservedÚ
variations©rhresÚ setupGvarzFontBuilder.setupGvarÇó/Ü#+¨FÓ#3Јty‰y˜Ñ ؈Œ ؈Œ
Øcóbtd«x}|jd<d|_d|_||_y)GVARrr rfrisÚ setupGVARzFontBuilder.setupGVARÍrkcó‚|jd}|jj«D]}|j|«Œy)z†Calculate the bounding boxes of all glyphs in the `glyf` table.
This is usually not called explicitly by client code.
r­N)rRÚ recalcBounds)Ú
glyphTableÚglyphsrTzFontBuilder.calcGlyphBoundsÓs>ð—YY˜&ˆ
Ø×&× +ˆ × Ñ ˜  +r§có(|jd|«y)z­Create a new `hmtx` table, for horizontal metrics.
The `metrics` argument must be a dict, mapping glyph names to
`(width, leftSidebearing)` tuples.
rÚ setupMetrics©ÚmetricssÚsetupHorizontalMetricsz"FontBuilder.setupHorizontalMetricsÛóð
×ј& *r§có(|jd|«y)z­Create a new `vmtx` table, for horizontal metrics.
The `metrics` argument must be a dict, mapping glyph names to
`(height, topSidebearing)` tuples.
ÚvmtxNrtrvsÚsetupVerticalMetricsz FontBuilder.setupVerticalMetricsãrycóÊ|dvsJt|«x}|j|<i}|D]5}||\}}tt|««tt|««f||<Œ7||_y)z<See `setupHorizontalMetrics()` and `setupVerticalMetrics()`.)rr{N)rÚroundrw)rwÚmtxTableÚroundedMetricsÚgnÚlsbsruzFontBuilder.setupMetricsësuàÐ+Ü)1°(Ó);Ð;ˆ4—99˜ˆØò @ˆ˜R‘[‰FˆAˆsÜ!$¤U¨1£X£´´E¸#³J³Ð!?ˆN˜2Ò ð @ð*ˆÕc ó2|jdt|«y)z{Create a new `hhea` table initialize it with default values,
which can be overridden by keyword arguments.
ÚhheaN)Ú
_hheaDefaultsrÈsÚsetupHorizontalHeaderz!FontBuilder.setupHorizontalHeaderõc ó2|jdt|«y)z{Create a new `vhea` table initialize it with default values,
which can be overridden by keyword arguments.
ÚvheaN)Ú
_vheaDefaultsrÈsÚsetupVerticalHeaderzFontBuilder.setupVerticalHeaderûcó|€9iŠ|D]}||}|vrd|<Œ|xxdz
cc<Œ tˆfdd¬«d}|jditi|¬««|jd}d|_d|_|D]
}||||<Œ y) aYCreate 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.
Nrcó|S)ÚvorgÚbags €r¨ú<lambda>z2FontBuilder.setupVerticalOrigins.<locals>.<lambda>s ø€ c¨$¡i€T)r!Úreverser ÚVORG)ÚVOriginRecordsÚdefaultVertOriginY)ÚsortedrÂÚ majorVersionÚ minorVersion)ÚverticalOriginsÚdefaultVerticalOriginrÚ vorgTablers @r¨ÚsetupVerticalOriginsz FontBuilder.setupVerticalOriginsø€ð ˆCØ
#Ø& *ؘs?Ø !’Ià˜“I ‘N”Ið 
%+ØÓô%àñ%Ð 
× Ø Ü  Ð7LÔ 
ð
—II˜%ˆ Ø!"ˆ ÔØ!"ˆ ÔØ 0ˆ+¨BÑ/ˆIbŠMñ 0r§c ó¨d|jv}|jdt|«}|js|r|rd|_g|_i|_yd|_y)zCreate a new `post` table and initialize it with default values,