Home
last modified time | relevance | path

Searched refs:advanceWidth (Results 1 – 25 of 27) sorted by relevance

12

/external/fonttools/Lib/fontTools/ttLib/tables/
D_h_m_t_x.py52 advanceWidth, lsb = metrics[i*2:i*2+2]
53 if advanceWidth > 32767:
57 advanceWidth)
58 self.metrics[glyphName] = (advanceWidth, lsb)
68 advanceWidth, sideBearing = self.metrics[glyphName]
69 if advanceWidth < 0:
73 metrics.append([advanceWidth, sideBearing])
D_h_h_e_a.py94 advanceWidth, lsb = hmtxTable[name]
95 rsb = advanceWidth - lsb - boundsWidth
/external/fonttools/Tests/fontBuilder/
DfontBuilder_test.py101 for gn, advanceWidth in advanceWidths.items():
102 metrics[gn] = (advanceWidth, glyphTable[gn].xMin)
130 for gn, advanceWidth in advanceWidths.items():
131 metrics[gn] = (advanceWidth, lsb[gn])
174 for gn, advanceWidth in advanceWidths.items():
175 metrics[gn] = (advanceWidth, glyphTable[gn].xMin)
243 metrics = {gn: (advanceWidth, 0) for gn, advanceWidth in advanceWidths.items()}
/external/skia/src/sfnt/
DSkOTTable_hmtx.h24 SK_OT_USHORT advanceWidth; member
/external/cronet/third_party/icu/source/samples/layout/
Dsfnt.h214 le_uint16 advanceWidth; member
/external/icu/icu4c/source/samples/layout/
Dsfnt.h214 le_uint16 advanceWidth; member
/external/cronet/third_party/icu/source/test/perf/leperf/
DFontObject.h177 le_uint16 advanceWidth; member
DFontObject.cpp243 return SWAPW(hmtxTable->hMetrics[index].advanceWidth); in getGlyphAdvance()
Dsfnt.h355 le_uint16 advanceWidth; member
DPortableFontInstance.cpp399 advance.fX = xUnitsToPoints(SWAPW(fHMTXTable->hMetrics[index].advanceWidth)); in getGlyphAdvance()
/external/icu/icu4c/source/test/perf/leperf/
DFontObject.h177 le_uint16 advanceWidth; member
DFontObject.cpp243 return SWAPW(hmtxTable->hMetrics[index].advanceWidth); in getGlyphAdvance()
Dsfnt.h355 le_uint16 advanceWidth; member
DPortableFontInstance.cpp399 advance.fX = xUnitsToPoints(SWAPW(fHMTXTable->hMetrics[index].advanceWidth)); in getGlyphAdvance()
/external/icu/icu4c/source/test/letest/
DFontObject.h173 le_uint16 advanceWidth; member
DFontObject.cpp239 return SWAPW(hmtxTable->hMetrics[index].advanceWidth); in getGlyphAdvance()
Dsfnt.h351 le_uint16 advanceWidth; member
DPortableFontInstance.cpp391 advance.fX = xUnitsToPoints(SWAPW(fHMTXTable->hMetrics[index].advanceWidth)); in getGlyphAdvance()
/external/cronet/third_party/icu/source/test/letest/
DFontObject.h173 le_uint16 advanceWidth; member
DFontObject.cpp239 return SWAPW(hmtxTable->hMetrics[index].advanceWidth); in getGlyphAdvance()
Dsfnt.h351 le_uint16 advanceWidth; member
DPortableFontInstance.cpp391 advance.fX = xUnitsToPoints(SWAPW(fHMTXTable->hMetrics[index].advanceWidth)); in getGlyphAdvance()
/external/mesa3d/src/imgui/
Dimstb_truetype.h789 …_GetCodepointHMetrics(const stbtt_fontinfo *info, int codepoint, int *advanceWidth, int *leftSideB…
800 …tt_GetGlyphHMetrics(const stbtt_fontinfo *info, int glyph_index, int *advanceWidth, int *leftSideB…
2273 …tt_GetGlyphHMetrics(const stbtt_fontinfo *info, int glyph_index, int *advanceWidth, int *leftSideB… in stbtt_GetGlyphHMetrics() argument
2277 if (advanceWidth) *advanceWidth = ttSHORT(info->data + info->hmtx + 4*glyph_index); in stbtt_GetGlyphHMetrics()
2280 …if (advanceWidth) *advanceWidth = ttSHORT(info->data + info->hmtx + 4*(numOfLongHorMetrics-… in stbtt_GetGlyphHMetrics()
2576 …_GetCodepointHMetrics(const stbtt_fontinfo *info, int codepoint, int *advanceWidth, int *leftSideB… in stbtt_GetCodepointHMetrics() argument
2578 … stbtt_GetGlyphHMetrics(info, stbtt_FindGlyphIndex(info,codepoint), advanceWidth, leftSideBearing); in stbtt_GetCodepointHMetrics()
/external/fonttools/Lib/fontTools/ttLib/
Dwoff2.py1047 advanceWidth, lsb = advanceWidthArray[i], lsbArray[i]
1048 self.metrics[glyphName] = (advanceWidth, lsb)
/external/skia/src/pdf/
DSkPDFDevice.cpp681 void writeGlyph(uint16_t glyph, SkScalar advanceWidth, SkPoint xy) { in writeGlyph() argument
707 fXAdvance += advanceWidth; in writeGlyph()

12