Searched refs:hheaTable (Results 1 - 10 of 10) sorted by relevance
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/ |
H A D | HheaTests.java | 38 HorizontalHeaderTable hheaTable = font.getTable(Tag.hhea); in testAdvanceWidthMax() 39 assertEquals(1234, hheaTable.advanceWidthMax()); in testAdvanceWidthMax() 50 HorizontalHeaderTable hheaTable = font.getTable(Tag.hhea); in testNumHMetrics() 51 assertEquals(12, hheaTable.numberOfHMetrics()); in testNumHMetrics()
|
/third_party/icu/icu4c/source/test/perf/leperf/ |
H A D | PortableFontInstance.cpp | 112 const HHEATable *hheaTable = NULL; in PortableFontInstance() local 164 hheaTable = (HHEATable *) readFontTable(hheaTag); in PortableFontInstance() 166 if (hheaTable == NULL) { in PortableFontInstance() 172 fAscent = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->ascent)); in PortableFontInstance() 173 fDescent = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->descent)); in PortableFontInstance() 174 fLeading = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->lineGap)); in PortableFontInstance() 176 fNumLongHorMetrics = SWAPW(hheaTable->numOfLongHorMetrics); in PortableFontInstance() 178 freeFontTable((void *) hheaTable); in PortableFontInstance()
|
H A D | FontObject.cpp | 220 HHEATable *hheaTable; in getGlyphAdvance() local 226 hheaTable = (HHEATable *) readTable(hheaTag, &length); in getGlyphAdvance() 227 numOfLongHorMetrics = SWAPW(hheaTable->numOfLongHorMetrics); in getGlyphAdvance() 228 deleteTable(hheaTable); in getGlyphAdvance()
|
/third_party/icu/icu4c/source/test/letest/ |
H A D | PortableFontInstance.cpp | 109 const HHEATable *hheaTable = NULL; in PortableFontInstance() local 161 hheaTable = (HHEATable *) readFontTable(hheaTag); in PortableFontInstance() 163 if (hheaTable == NULL) { in PortableFontInstance() 169 fAscent = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->ascent)); in PortableFontInstance() 170 fDescent = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->descent)); in PortableFontInstance() 171 fLeading = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->lineGap)); in PortableFontInstance() 173 fNumLongHorMetrics = SWAPW(hheaTable->numOfLongHorMetrics); in PortableFontInstance() 175 freeFontTable((void *) hheaTable); in PortableFontInstance()
|
H A D | FontObject.cpp | 216 HHEATable *hheaTable; in getGlyphAdvance() local 222 hheaTable = (HHEATable *) readTable(hheaTag, &length); in getGlyphAdvance() 223 numOfLongHorMetrics = SWAPW(hheaTable->numOfLongHorMetrics); in getGlyphAdvance() 224 deleteTable(hheaTable); in getGlyphAdvance()
|
/third_party/icu/icu4c/source/samples/layout/ |
H A D | GDIFontInstance.cpp | 266 const HHEATable *hheaTable = NULL; in GDIFontInstance() local 279 hheaTable = (HHEATable *) readFontTable(LE_HHEA_TABLE_TAG); in GDIFontInstance() 281 if (hheaTable == NULL) { in GDIFontInstance() 286 fAscent = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->ascent)); in GDIFontInstance() 287 fDescent = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->descent)); in GDIFontInstance() 288 fLeading = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->lineGap)); in GDIFontInstance() 290 freeFontTable((const void *) hheaTable); in GDIFontInstance()
|
/third_party/skia/third_party/externals/icu/source/samples/layout/ |
H A D | GDIFontInstance.cpp | 266 const HHEATable *hheaTable = NULL; in GDIFontInstance() local 279 hheaTable = (HHEATable *) readFontTable(LE_HHEA_TABLE_TAG); in GDIFontInstance() 281 if (hheaTable == NULL) { in GDIFontInstance() 286 fAscent = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->ascent)); in GDIFontInstance() 287 fDescent = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->descent)); in GDIFontInstance() 288 fLeading = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->lineGap)); in GDIFontInstance() 290 freeFontTable((const void *) hheaTable); in GDIFontInstance()
|
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/tools/subsetter/ |
H A D | RenumberingSubsetTest.java | 110 HorizontalHeaderTable hheaTable = dstFont.getTable(Tag.hhea); in testHorizontalHeader() 111 assertEquals(3, hheaTable.numberOfHMetrics()); in testHorizontalHeader() 112 assertEquals(1229, hheaTable.advanceWidthMax()); in testHorizontalHeader()
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/fontinfo/ |
H A D | FontInfo.java | 88 HorizontalHeaderTable hheaTable = (HorizontalHeaderTable) FontUtils.getTable(font, Tag.hhea); in listFontMetrics() 100 Arrays.asList(new String[] { "hhea ascender", String.format("%d", hheaTable.ascender()) })); in listFontMetrics() 102 new String[] { "hhea descender", String.format("%d", hheaTable.descender()) })); in listFontMetrics() 104 new String[] { "hhea typographic line gap", String.format("%d", hheaTable.lineGap()) })); in listFontMetrics()
|
/third_party/skia/src/ports/ |
H A D | SkTypeface_win_dw.cpp | 539 AutoTDWriteTable<SkOTTableHorizontalHeader> hheaTable(fDWriteFontFace.get()); 541 if (!headTable.fExists || !postTable.fExists || !hheaTable.fExists || !os2Table.fExists) { 557 (1 == SkEndian_SwapBE16(hheaTable->numberOfHMetrics)));
|
Completed in 8 milliseconds