Home
last modified time | relevance | path

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

/external/fonttools/Lib/fontTools/ttLib/tables/
D_m_a_x_p.py61 headTable = ttFont['head']
95 headTable.xMin = 0
96 headTable.yMin = 0
97 headTable.xMax = 0
98 headTable.yMax = 0
100 headTable.xMin = xMin
101 headTable.yMin = yMin
102 headTable.xMax = xMax
103 headTable.yMax = yMax
111 headTable.flags = headTable.flags | 0x2
[all …]
/external/icu/icu4c/source/test/perf/leperf/
DFontObject.cpp24 headTable(NULL), hmtxTable(NULL), numGlyphs(0), numOfLongHorMetrics(0), file(NULL) in FontObject()
57 delete[] headTable; in ~FontObject()
203 if (headTable == NULL) { in getUnitsPerEM()
207 headTable = (HEADTable *) readTable(headTag, &length); in getUnitsPerEM()
210 return SWAPW(headTable->unitsPerEm); in getUnitsPerEM()
DPortableFontInstance.cpp111 const HEADTable *headTable = NULL; in PortableFontInstance() local
136 headTable = (const HEADTable *) readFontTable(headTag); in PortableFontInstance()
138 if (headTable == NULL) { in PortableFontInstance()
144 fUnitsPerEM = SWAPW(headTable->unitsPerEm); in PortableFontInstance()
145 fFontChecksum = SWAPL(headTable->checksumAdjustment); in PortableFontInstance()
146 freeFontTable(headTable); in PortableFontInstance()
DFontObject.h230 HEADTable *headTable; variable
/external/icu/icu4c/source/test/letest/
DFontObject.cpp20 headTable(NULL), hmtxTable(NULL), numGlyphs(0), numOfLongHorMetrics(0), file(NULL) in FontObject()
53 delete[] headTable; in ~FontObject()
199 if (headTable == NULL) { in getUnitsPerEM()
203 headTable = (HEADTable *) readTable(headTag, &length); in getUnitsPerEM()
206 return SWAPW(headTable->unitsPerEm); in getUnitsPerEM()
DPortableFontInstance.cpp108 const HEADTable *headTable = NULL; in PortableFontInstance() local
133 headTable = (const HEADTable *) readFontTable(headTag); in PortableFontInstance()
135 if (headTable == NULL) { in PortableFontInstance()
141 fUnitsPerEM = SWAPW(headTable->unitsPerEm); in PortableFontInstance()
142 fFontChecksum = SWAPL(headTable->checksumAdjustment); in PortableFontInstance()
143 freeFontTable(headTable); in PortableFontInstance()
DFontObject.h226 HEADTable *headTable; variable
/external/icu/icu4c/source/samples/layout/
DGDIFontInstance.cpp265 const HEADTable *headTable = NULL; in GDIFontInstance() local
269 headTable = (const HEADTable *) readFontTable(LE_HEAD_TABLE_TAG); in GDIFontInstance()
271 if (headTable == NULL) { in GDIFontInstance()
276 fUnitsPerEM = SWAPW(headTable->unitsPerEm); in GDIFontInstance()
277 freeFontTable((const void *)headTable); in GDIFontInstance()
/external/skia/src/ports/
DSkTypeface_win_dw.cpp506 AutoTDWriteTable<SkOTTableHead> headTable(fDWriteFontFace.get()); in onGetAdvancedMetrics() local
510 if (!headTable.fExists || !postTable.fExists || !hheaTable.fExists || !os2Table.fExists) { in onGetAdvancedMetrics()
558 info->fBBox = SkIRect::MakeLTRB((int32_t)SkEndian_SwapBE16((uint16_t)headTable->xMin), in onGetAdvancedMetrics()
559 (int32_t)SkEndian_SwapBE16((uint16_t)headTable->yMax), in onGetAdvancedMetrics()
560 (int32_t)SkEndian_SwapBE16((uint16_t)headTable->xMax), in onGetAdvancedMetrics()
561 (int32_t)SkEndian_SwapBE16((uint16_t)headTable->yMin)); in onGetAdvancedMetrics()
/external/skqp/src/ports/
DSkTypeface_win_dw.cpp514 AutoTDWriteTable<SkOTTableHead> headTable(fDWriteFontFace.get()); in onGetAdvancedMetrics() local
518 if (!headTable.fExists || !postTable.fExists || !hheaTable.fExists || !os2Table.fExists) { in onGetAdvancedMetrics()
566 info->fBBox = SkIRect::MakeLTRB((int32_t)SkEndian_SwapBE16((uint16_t)headTable->xMin), in onGetAdvancedMetrics()
567 (int32_t)SkEndian_SwapBE16((uint16_t)headTable->yMax), in onGetAdvancedMetrics()
568 (int32_t)SkEndian_SwapBE16((uint16_t)headTable->xMax), in onGetAdvancedMetrics()
569 (int32_t)SkEndian_SwapBE16((uint16_t)headTable->yMin)); in onGetAdvancedMetrics()
/external/skia/src/sfnt/
DSkOTUtils.cpp169 SkOTTableHead* headTable = reinterpret_cast<SkOTTableHead*>(data + headTableOffset); in RenameFont() local
170 headTable->checksumAdjustment = SkEndian_SwapBE32(0); in RenameFont()
172headTable->checksumAdjustment = SkEndian_SwapBE32(SkOTTableHead::fontChecksum - unadjustedFontChec… in RenameFont()
/external/skqp/src/sfnt/
DSkOTUtils.cpp156 SkOTTableHead* headTable = reinterpret_cast<SkOTTableHead*>(data + headTableOffset); in RenameFont() local
157 headTable->checksumAdjustment = SkEndian_SwapBE32(0); in RenameFont()
159headTable->checksumAdjustment = SkEndian_SwapBE32(SkOTTableHead::fontChecksum - unadjustedFontChec… in RenameFont()
/external/fonttools/Lib/fontTools/ttLib/
Dsfnt.py261 self.headTable = data
307 self.majorVersion, self.minorVersion = struct.unpack(">HH", self.headTable[4:8])