/third_party/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
|
/third_party/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
|
/third_party/flutter/skia/third_party/externals/icu/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()
|
/third_party/skia/third_party/externals/icu/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()
|
/third_party/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()
|
/third_party/flutter/skia/src/ports/ |
D | SkTypeface_win_dw.cpp | 457 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/ |
D | SkTypeface_win_dw.cpp | 537 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/ |
D | FontInfo.java | 87 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/ |
D | FontInfo.java | 87 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/ |
D | SkOTUtils.cpp | 167 SkOTTableHead* headTable = reinterpret_cast<SkOTTableHead*>(data + headTableOffset); in RenameFont() local 168 headTable->checksumAdjustment = SkEndian_SwapBE32(0); in RenameFont() 170 …headTable->checksumAdjustment = SkEndian_SwapBE32(SkOTTableHead::fontChecksum - unadjustedFontChec… in RenameFont()
|
/third_party/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()
|