Searched refs:headTable (Results 1 – 13 of 13) sorted by relevance
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | _m_a_x_p.py | 61 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/ |
D | FontObject.cpp | 24 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()
|
D | PortableFontInstance.cpp | 111 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()
|
D | FontObject.h | 230 HEADTable *headTable; variable
|
/external/icu/icu4c/source/test/letest/ |
D | FontObject.cpp | 20 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()
|
D | PortableFontInstance.cpp | 108 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()
|
D | FontObject.h | 226 HEADTable *headTable; variable
|
/external/icu/icu4c/source/samples/layout/ |
D | GDIFontInstance.cpp | 265 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/ |
D | SkTypeface_win_dw.cpp | 506 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/ |
D | SkTypeface_win_dw.cpp | 514 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/ |
D | SkOTUtils.cpp | 169 SkOTTableHead* headTable = reinterpret_cast<SkOTTableHead*>(data + headTableOffset); in RenameFont() local 170 headTable->checksumAdjustment = SkEndian_SwapBE32(0); in RenameFont() 172 …headTable->checksumAdjustment = SkEndian_SwapBE32(SkOTTableHead::fontChecksum - unadjustedFontChec… in RenameFont()
|
/external/skqp/src/sfnt/ |
D | SkOTUtils.cpp | 156 SkOTTableHead* headTable = reinterpret_cast<SkOTTableHead*>(data + headTableOffset); in RenameFont() local 157 headTable->checksumAdjustment = SkEndian_SwapBE32(0); in RenameFont() 159 …headTable->checksumAdjustment = SkEndian_SwapBE32(SkOTTableHead::fontChecksum - unadjustedFontChec… in RenameFont()
|
/external/fonttools/Lib/fontTools/ttLib/ |
D | sfnt.py | 261 self.headTable = data 307 self.majorVersion, self.minorVersion = struct.unpack(">HH", self.headTable[4:8])
|