Home
last modified time | relevance | path

Searched refs:headTable (Results 1 - 11 of 11) sorted by relevance

/third_party/icu/icu4c/source/test/perf/leperf/
H A 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()
H A 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()
H A DFontObject.h230 HEADTable *headTable; member in FontObject
/third_party/icu/icu4c/source/test/letest/
H A 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()
H A 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()
H A DFontObject.h226 HEADTable *headTable; member in FontObject
/third_party/icu/icu4c/source/samples/layout/
H A 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()
/third_party/skia/third_party/externals/icu/source/samples/layout/
H A 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()
/third_party/skia/src/ports/
H A DSkTypeface_win_dw.cpp537 AutoTDWriteTable<SkOTTableHead> headTable(fDWriteFontFace.get());
541 if (!headTable.fExists || !postTable.fExists || !hheaTable.fExists || !os2Table.fExists) {
589 info->fBBox = SkIRect::MakeLTRB((int32_t)SkEndian_SwapBE16((uint16_t)headTable->xMin),
590 (int32_t)SkEndian_SwapBE16((uint16_t)headTable->yMax),
591 (int32_t)SkEndian_SwapBE16((uint16_t)headTable->xMax),
592 (int32_t)SkEndian_SwapBE16((uint16_t)headTable->yMin));
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/fontinfo/
H A DFontInfo.java87 FontHeaderTable headTable = (FontHeaderTable) FontUtils.getTable(font, Tag.head); in listFontMetrics()
92 new String[] { "Units per em", String.format("%d", headTable.unitsPerEm()) })); in listFontMetrics()
94 "[xMin, xMax]", String.format("[%d, %d]", headTable.xMin(), headTable.xMax()) })); in listFontMetrics()
96 "[yMin, yMax]", String.format("[%d, %d]", headTable.yMin(), headTable.yMax()) })); in listFontMetrics()
98 "Smallest readable size (px per em)", String.format("%d", headTable.lowestRecPPEM()) })); in listFontMetrics()
/third_party/skia/src/sfnt/
H A DSkOTUtils.cpp169 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 - unadjustedFontChecksum); in RenameFont()

Completed in 8 milliseconds