Home
last modified time | relevance | path

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

/third_party/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
/third_party/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
/third_party/flutter/skia/third_party/externals/icu/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()
/third_party/skia/third_party/externals/icu/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()
/third_party/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()
/third_party/flutter/skia/src/ports/
DSkTypeface_win_dw.cpp457 AutoTDWriteTable<SkOTTableHead> headTable(fDWriteFontFace.get()); in onGetAdvancedMetrics() local
461 if (!headTable.fExists || !postTable.fExists || !hheaTable.fExists || !os2Table.fExists) { in onGetAdvancedMetrics()
509 info->fBBox = SkIRect::MakeLTRB((int32_t)SkEndian_SwapBE16((uint16_t)headTable->xMin), in onGetAdvancedMetrics()
510 (int32_t)SkEndian_SwapBE16((uint16_t)headTable->yMax), in onGetAdvancedMetrics()
511 (int32_t)SkEndian_SwapBE16((uint16_t)headTable->xMax), in onGetAdvancedMetrics()
512 (int32_t)SkEndian_SwapBE16((uint16_t)headTable->yMin)); in onGetAdvancedMetrics()
/third_party/skia/src/ports/
DSkTypeface_win_dw.cpp537 AutoTDWriteTable<SkOTTableHead> headTable(fDWriteFontFace.get()); in onGetAdvancedMetrics() local
541 if (!headTable.fExists || !postTable.fExists || !hheaTable.fExists || !os2Table.fExists) { in onGetAdvancedMetrics()
589 info->fBBox = SkIRect::MakeLTRB((int32_t)SkEndian_SwapBE16((uint16_t)headTable->xMin), in onGetAdvancedMetrics()
590 (int32_t)SkEndian_SwapBE16((uint16_t)headTable->yMax), in onGetAdvancedMetrics()
591 (int32_t)SkEndian_SwapBE16((uint16_t)headTable->xMax), in onGetAdvancedMetrics()
592 (int32_t)SkEndian_SwapBE16((uint16_t)headTable->yMin)); in onGetAdvancedMetrics()
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/fontinfo/
DFontInfo.java87 FontHeaderTable headTable = (FontHeaderTable) FontUtils.getTable(font, Tag.head); in listFontMetrics() local
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/third_party/externals/sfntly/java/src/com/google/typography/font/tools/fontinfo/
DFontInfo.java87 FontHeaderTable headTable = (FontHeaderTable) FontUtils.getTable(font, Tag.head); in listFontMetrics() local
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/flutter/skia/src/sfnt/
DSkOTUtils.cpp167 SkOTTableHead* headTable = reinterpret_cast<SkOTTableHead*>(data + headTableOffset); in RenameFont() local
168 headTable->checksumAdjustment = SkEndian_SwapBE32(0); in RenameFont()
170headTable->checksumAdjustment = SkEndian_SwapBE32(SkOTTableHead::fontChecksum - unadjustedFontChec… in RenameFont()
/third_party/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()