Searched refs:headTable (Results 1 – 12 of 12) sorted by relevance
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | _m_a_x_p.py | 63 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/ |
D | FontObject.cpp | 18 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()
|
D | PortableFontInstance.cpp | 105 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()
|
D | FontObject.h | 224 HEADTable *headTable; variable
|
/external/icu/icu4c/source/test/letest/ |
D | FontObject.cpp | 18 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()
|
D | PortableFontInstance.cpp | 106 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()
|
D | FontObject.h | 224 HEADTable *headTable; variable
|
/external/skia/src/ports/ |
D | SkTypeface_win_dw.cpp | 377 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()
|
D | SkFontHost_mac.cpp | 956 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/ |
D | GDIFontInstance.cpp | 259 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/ |
D | SkOTUtils.cpp | 153 SkOTTableHead* headTable = reinterpret_cast<SkOTTableHead*>(data + headTableOffset); in RenameFont() local 154 headTable->checksumAdjustment = SkEndian_SwapBE32(0); in RenameFont() 156 …headTable->checksumAdjustment = SkEndian_SwapBE32(SkOTTableHead::fontChecksum - unadjustedFontChec… in RenameFont()
|
/external/fonttools/Lib/fontTools/ttLib/ |
D | sfnt.py | 147 self.headTable = data 191 self.majorVersion, self.minorVersion = struct.unpack(">HH", self.headTable[4:8])
|