Searched refs:hheaTable (Results 1 – 7 of 7) sorted by relevance
109 const HHEATable *hheaTable = NULL; in PortableFontInstance() local161 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()
216 HHEATable *hheaTable; in getGlyphAdvance() local222 hheaTable = (HHEATable *) readTable(hheaTag, &length); in getGlyphAdvance()223 numOfLongHorMetrics = SWAPW(hheaTable->numOfLongHorMetrics); in getGlyphAdvance()224 deleteTable(hheaTable); in getGlyphAdvance()
112 const HHEATable *hheaTable = NULL; in PortableFontInstance() local164 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()
220 HHEATable *hheaTable; in getGlyphAdvance() local226 hheaTable = (HHEATable *) readTable(hheaTag, &length); in getGlyphAdvance()227 numOfLongHorMetrics = SWAPW(hheaTable->numOfLongHorMetrics); in getGlyphAdvance()228 deleteTable(hheaTable); in getGlyphAdvance()
266 const HHEATable *hheaTable = NULL; in GDIFontInstance() local279 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()
516 AutoTDWriteTable<SkOTTableHorizontalHeader> hheaTable(fDWriteFontFace.get()); in onGetAdvancedMetrics() local518 if (!headTable.fExists || !postTable.fExists || !hheaTable.fExists || !os2Table.fExists) { in onGetAdvancedMetrics()534 (1 == SkEndian_SwapBE16(hheaTable->numberOfHMetrics))); in onGetAdvancedMetrics()
508 AutoTDWriteTable<SkOTTableHorizontalHeader> hheaTable(fDWriteFontFace.get()); in onGetAdvancedMetrics() local510 if (!headTable.fExists || !postTable.fExists || !hheaTable.fExists || !os2Table.fExists) { in onGetAdvancedMetrics()526 (1 == SkEndian_SwapBE16(hheaTable->numberOfHMetrics))); in onGetAdvancedMetrics()