UNPKG

fonteditor-core

Version:

fonts (ttf, woff, woff2, eot, svg, otf) parse, write, transform, glyph adjust.

182 lines (180 loc) 4.62 kB
/** * @file 空的ttf格式json对象 * @author mengke01(kekee000@gmail.com) */ /* eslint-disable */ export default { "version": 1, "numTables": 10, "searchRange": 128, "entrySelector": 3, "rangeShift": 64, "head": { "version": 1, "fontRevision": 1, "checkSumAdjustment": 0, "magickNumber": 1594834165, "flags": 11, "unitsPerEm": 1024, "created": 1428940800000, "modified": 1428940800000, "xMin": 34, "yMin": 0, "xMax": 306, "yMax": 682, "macStyle": 0, "lowestRecPPEM": 8, "fontDirectionHint": 2, "indexToLocFormat": 0, "glyphDataFormat": 0 }, "glyf": [{ "contours": [ [{ "x": 34, "y": 0, "onCurve": true }, { "x": 34, "y": 682, "onCurve": true }, { "x": 306, "y": 682, "onCurve": true }, { "x": 306, "y": 0, "onCurve": true }], [{ "x": 68, "y": 34, "onCurve": true }, { "x": 272, "y": 34, "onCurve": true }, { "x": 272, "y": 648, "onCurve": true }, { "x": 68, "y": 648, "onCurve": true }] ], "xMin": 34, "yMin": 0, "xMax": 306, "yMax": 682, "advanceWidth": 374, "leftSideBearing": 34, "name": ".notdef" }], "cmap": {}, "name": { "fontFamily": "fonteditor", "fontSubFamily": "Medium", "uniqueSubFamily": "FontEditor 1.0 : fonteditor", "version": "Version 1.0 ; FontEditor (v0.0.1)", "postScriptName": "fonteditor", "fullName": "fonteditor" }, "hhea": { "version": 1, "ascent": 812, "descent": -212, "lineGap": 92, "advanceWidthMax": 374, "minLeftSideBearing": 34, "minRightSideBearing": 68, "xMaxExtent": 306, "caretSlopeRise": 1, "caretSlopeRun": 0, "caretOffset": 0, "reserved0": 0, "reserved1": 0, "reserved2": 0, "reserved3": 0, "metricDataFormat": 0, "numOfLongHorMetrics": 1 }, "post": { "italicAngle": 0, "postoints": 65411, "underlinePosition": 50, "underlineThickness": 0, "isFixedPitch": 0, "minMemType42": 0, "maxMemType42": 0, "minMemType1": 0, "maxMemType1": 1, "format": 2 }, "maxp": { "version": 1.0, "numGlyphs": 0, "maxPoints": 0, "maxContours": 0, "maxCompositePoints": 0, "maxCompositeContours": 0, "maxZones": 0, "maxTwilightPoints": 0, "maxStorage": 0, "maxFunctionDefs": 0, "maxStackElements": 0, "maxSizeOfInstructions": 0, "maxComponentElements": 0, "maxComponentDepth": 0 }, "OS/2": { "version": 4, "xAvgCharWidth": 1031, "usWeightClass": 400, "usWidthClass": 5, "fsType": 0, "ySubscriptXSize": 665, "ySubscriptYSize": 716, "ySubscriptXOffset": 0, "ySubscriptYOffset": 143, "ySuperscriptXSize": 665, "ySuperscriptYSize": 716, "ySuperscriptXOffset": 0, "ySuperscriptYOffset": 491, "yStrikeoutSize": 51, "yStrikeoutPosition": 265, "sFamilyClass": 0, "bFamilyType": 2, "bSerifStyle": 0, "bWeight": 6, "bProportion": 3, "bContrast": 0, "bStrokeVariation": 0, "bArmStyle": 0, "bLetterform": 0, "bMidline": 0, "bXHeight": 0, "ulUnicodeRange1": 1, "ulUnicodeRange2": 268435456, "ulUnicodeRange3": 0, "ulUnicodeRange4": 0, "achVendID": "PfEd", "fsSelection": 192, "usFirstCharIndex": 65535, "usLastCharIndex": -1, "sTypoAscender": 812, "sTypoDescender": -212, "sTypoLineGap": 92, "usWinAscent": 812, "usWinDescent": 212, "ulCodePageRange1": 1, "ulCodePageRange2": 0, "sxHeight": 792, "sCapHeight": 0, "usDefaultChar": 0, "usBreakChar": 32, "usMaxContext": 1 } };