Home
last modified time | relevance | path

Searched refs:headTable (Results 1 – 12 of 12) sorted by relevance

/external/fonttools/Lib/fontTools/ttLib/tables/
D_m_a_x_p.py63 headTable = ttFont['head']
97 headTable.xMin = 0
98 headTable.yMin = 0
99 headTable.xMax = 0
100 headTable.yMax = 0
102 headTable.xMin = xMin
103 headTable.yMin = yMin
104 headTable.xMax = xMax
105 headTable.yMax = yMax
112 headTable.flags = headTable.flags | 0x2
[all …]
/external/icu/icu4c/source/test/perf/leperf/
DFontObject.cpp18 headTable(NULL), hmtxTable(NULL), numGlyphs(0), numOfLongHorMetrics(0), file(NULL) in FontObject()
51 delete[] headTable; in ~FontObject()
197 if (headTable == NULL) { in getUnitsPerEM()
201 headTable = (HEADTable *) readTable(headTag, &length); in getUnitsPerEM()
204 return SWAPW(headTable->unitsPerEm); in getUnitsPerEM()
DPortableFontInstance.cpp105 const HEADTable *headTable = NULL; in PortableFontInstance() local
130 headTable = (const HEADTable *) readFontTable(headTag); in PortableFontInstance()
132 if (headTable == NULL) { in PortableFontInstance()
138 fUnitsPerEM = SWAPW(headTable->unitsPerEm); in PortableFontInstance()
139 fFontChecksum = SWAPL(headTable->checksumAdjustment); in PortableFontInstance()
140 freeFontTable(headTable); in PortableFontInstance()
DFontObject.h224 HEADTable *headTable; variable
/external/icu/icu4c/source/test/letest/
DFontObject.cpp18 headTable(NULL), hmtxTable(NULL), numGlyphs(0), numOfLongHorMetrics(0), file(NULL) in FontObject()
51 delete[] headTable; in ~FontObject()
197 if (headTable == NULL) { in getUnitsPerEM()
201 headTable = (HEADTable *) readTable(headTag, &length); in getUnitsPerEM()
204 return SWAPW(headTable->unitsPerEm); in getUnitsPerEM()
DPortableFontInstance.cpp106 const HEADTable *headTable = NULL; in PortableFontInstance() local
131 headTable = (const HEADTable *) readFontTable(headTag); in PortableFontInstance()
133 if (headTable == NULL) { in PortableFontInstance()
139 fUnitsPerEM = SWAPW(headTable->unitsPerEm); in PortableFontInstance()
140 fFontChecksum = SWAPL(headTable->checksumAdjustment); in PortableFontInstance()
141 freeFontTable(headTable); in PortableFontInstance()
DFontObject.h224 HEADTable *headTable; variable
/external/skia/src/ports/
DSkTypeface_win_dw.cpp377 AutoTDWriteTable<SkOTTableHead> headTable(fDWriteFontFace.get()); in onGetAdvancedTypefaceMetrics() local
381 if (!headTable.fExists || !postTable.fExists || !hheaTable.fExists || !os2Table.fExists) { in onGetAdvancedTypefaceMetrics()
419 info->fBBox = SkIRect::MakeLTRB((int32_t)SkEndian_SwapBE16((uint16_t)headTable->xMin), in onGetAdvancedTypefaceMetrics()
420 (int32_t)SkEndian_SwapBE16((uint16_t)headTable->yMax), in onGetAdvancedTypefaceMetrics()
421 (int32_t)SkEndian_SwapBE16((uint16_t)headTable->xMax), in onGetAdvancedTypefaceMetrics()
422 (int32_t)SkEndian_SwapBE16((uint16_t)headTable->yMin)); in onGetAdvancedTypefaceMetrics()
DSkFontHost_mac.cpp956 AutoCGTable<SkOTTableHead> headTable(fCGFont); in generateBBoxes() local
957 if (!headTable.fData) { in generateBBoxes()
974 SkOTTableHead::IndexToLocFormat locaFormat = headTable->indexToLocFormat; in generateBBoxes()
/external/icu/icu4c/source/samples/layout/
DGDIFontInstance.cpp259 const HEADTable *headTable = NULL; in GDIFontInstance() local
263 headTable = (const HEADTable *) readFontTable(LE_HEAD_TABLE_TAG); in GDIFontInstance()
265 if (headTable == NULL) { in GDIFontInstance()
270 fUnitsPerEM = SWAPW(headTable->unitsPerEm); in GDIFontInstance()
271 freeFontTable((const void *)headTable); in GDIFontInstance()
/external/skia/src/sfnt/
DSkOTUtils.cpp153 SkOTTableHead* headTable = reinterpret_cast<SkOTTableHead*>(data + headTableOffset); in RenameFont() local
154 headTable->checksumAdjustment = SkEndian_SwapBE32(0); in RenameFont()
156headTable->checksumAdjustment = SkEndian_SwapBE32(SkOTTableHead::fontChecksum - unadjustedFontChec… in RenameFont()
/external/fonttools/Lib/fontTools/ttLib/
Dsfnt.py147 self.headTable = data
191 self.majorVersion, self.minorVersion = struct.unpack(">HH", self.headTable[4:8])