MCPcopy Create free account
hub / github.com/Code-Bullet/Jump-King / makeHeadTable

Function makeHeadTable

libraries/p5.js:4922–4942  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

4920}
4921
4922function makeHeadTable(options) {
4923 return new table.Table('head', [
4924 {name: 'version', type: 'FIXED', value: 0x00010000},
4925 {name: 'fontRevision', type: 'FIXED', value: 0x00010000},
4926 {name: 'checkSumAdjustment', type: 'ULONG', value: 0},
4927 {name: 'magicNumber', type: 'ULONG', value: 0x5F0F3CF5},
4928 {name: 'flags', type: 'USHORT', value: 0},
4929 {name: 'unitsPerEm', type: 'USHORT', value: 1000},
4930 {name: 'created', type: 'LONGDATETIME', value: 0},
4931 {name: 'modified', type: 'LONGDATETIME', value: 0},
4932 {name: 'xMin', type: 'SHORT', value: 0},
4933 {name: 'yMin', type: 'SHORT', value: 0},
4934 {name: 'xMax', type: 'SHORT', value: 0},
4935 {name: 'yMax', type: 'SHORT', value: 0},
4936 {name: 'macStyle', type: 'USHORT', value: 0},
4937 {name: 'lowestRecPPEM', type: 'USHORT', value: 0},
4938 {name: 'fontDirectionHint', type: 'SHORT', value: 2},
4939 {name: 'indexToLocFormat', type: 'SHORT', value: 0},
4940 {name: 'glyphDataFormat', type: 'SHORT', value: 0}
4941 ], options);
4942}
4943
4944exports.parse = parseHeadTable;
4945exports.make = makeHeadTable;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected