Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
3
2øªjÜy ã ) @ sÜ d gZ ddlmZmZ ddlmZ ddlmZ ddlZddl m
Z
edddd d
ddddddddd
dddd
�Zedddddddddddddddd�Z
eddd�Zedddddddddd� Zedddddddddddddddddd�Zedddddddddddddddddd�Zedddd
ddddddddddd d!d"d#d$d%d&d'd(d)d*d+�Zeddddddddddd,�
Zed
dd-dddddddddddddeddddd.dddddddddddddd/dddd0�'ZG d1d „ d eƒZd2d3„ Zd4d5„ ZdS )6ÚFontBuilderé )ÚTTFontÚnewTable)Úcmap_classes)ÚtimestampNowé N)ÚOrderedDictg ð?iõ<_é iè é )ÚtableVersionZfontRevisionZcheckSumAdjustmentZmagicNumberÚflagsÚ
unitsPerEmÚcreatedÚmodifiedZxMinZyMinZxMaxZyMaxZmacStyleZ
lowestRecPPEMZfontDirectionHintZindexToLocFormatZglyphDataFormati )r Ú numGlyphsZ maxPointsZmaxContoursZmaxCompositePointsZmaxCompositeContoursZmaxZonesZmaxTwilightPointsZ
maxStorageZmaxFunctionDefsZmaxInstructionDefsZmaxStackElementsZmaxSizeOfInstructionsZmaxComponentElementsZmaxComponentDepthi P )r r g @) Ú
formatTypeZitalicAngleZunderlinePositionZunderlineThicknessZisFixedPitchZminMemType42ZmaxMemType42ZminMemType1ZmaxMemType1)r ÚascentÚdescentÚlineGapZadvanceWidthMaxZminLeftSideBearingZminRightSideBearingZ
xMaxExtentÚcaretSlopeRiseÚ
caretSlopeRunZcaretOffsetÚ reserved0Ú reserved1Ú reserved2Ú reserved3ÚmetricDataFormatZnumberOfHMetrics)r r r r ZadvanceHeightMaxZminTopSideBearingZminBottomSideBearingZ
yMaxExtentr r r r r r Z reserved4r ZnumberOfVMetricsé é é é é é é
é é é
é é é é é é é é é é é )Ú copyrightZ
familyNameÚ styleNameZuniqueFontIdentifierZfullNameÚversionÚpsNameZ trademarkZmanufacturerZdesignerÚdescriptionZ vendorURLZdesignerURLZlicenseDescriptionZlicenseInfoURLZtypographicFamilyZtypographicSubfamilyZcompatibleFullNameZ
sampleTextZpostScriptCIDFindfontNameZ
wwsFamilyNameZwwsSubfamilyNameZlightBackgroundPaletteZdarkBackgroundPaletteZvariationsPostScriptNamePrefix)
ZbFamilyTypeZbSerifStyleZbWeightZbProportionZ bContrastZbStrokeVariationZ bArmStyleZbLetterFormZbMidlineZbXHeighti� z????é )'r3 Ú
xAvgCharWidthZ
usWeightClassZusWidthClassZfsTypeZySubscriptXSizeZySubscriptYSizeZySubscriptXOffsetZySubscriptYOffsetZySuperscriptXSizeZySuperscriptYSizeZySuperscriptXOffsetZySuperscriptYOffsetZyStrikeoutSizeZyStrikeoutPositionZsFamilyClassZpanoseÚulUnicodeRange1ÚulUnicodeRange2ÚulUnicodeRange3ZulUnicodeRange4Z achVendIDZfsSelectionZusFirstCharIndexZusLastCharIndexZ
sTypoAscenderZsTypoDescenderZsTypoLineGapZusWinAscentZusWinDescentZulCodePageRange1ZulCodePageRange2ZsxHeightZ
sCapHeightZ
usDefaultCharZusBreakCharZusMaxContextZusLowerOpticalPointSizeZusUpperOpticalPointSizec @ s$ e Zd ZdFdd„Zdd„ Zdd„ Zd d
„ Zdd„ Zd
d„ Zdd„ Z dGdd„Z
dHdd„Zdd„ Zdd„ Z
dIdd„Zdd„ ZdJdd„Zd d!„ Zd"d#„ Zd$d%„ Zd&d'„ Zd(d)„ Zd*d+„ Zd,d-„ Zd.d/„ Zd0d1„ ZdKd2d3„ZdLd4d5„Zd6d7„ Zd8d9„ ZdMd:d;„ZdNd=d>„ZdOd?d@„Z dPdAdB„Z!dQdDdE„Z"dS )Rr NTc C sf |dkrFt dd�| _|| _tƒ }|dk s,t‚| j|||d� | jƒ n|dksRt‚|| _d|k| _dS )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.
If `font` is given, it must be a `TTFont` instance and `unitsPerEm`
must _not_ be given. The `isTTF` argument will be ignored.
NF)ZrecalcTimestamp)r
r r Úglyf)r ÚfontÚisTTFr ÚAssertionErrorÚ setupHeadÚ setupMaxp)Úselfr
r<