Home
last modified time | relevance | path

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

/external/fonttools/Lib/fontTools/ttLib/tables/
D_h_m_t_x.py54 advanceWidth, lsb = metrics[i*2:i*2+2]
55 if advanceWidth > 32767:
59 advanceWidth)
60 self.metrics[glyphName] = (advanceWidth, lsb)
70 advanceWidth, sideBearing = self.metrics[glyphName]
71 if advanceWidth < 0:
75 metrics.append([advanceWidth, sideBearing])
D_h_h_e_a.py80 advanceWidth, lsb = hmtxTable[name]
81 rsb = advanceWidth - lsb - boundsWidth
/external/fonttools/Tests/fontBuilder/
DfontBuilder_test.py77 for gn, advanceWidth in advanceWidths.items():
78 metrics[gn] = (advanceWidth, glyphTable[gn].xMin)
103 for gn, advanceWidth in advanceWidths.items():
104 metrics[gn] = (advanceWidth, 100) # XXX lsb from glyph
149 for gn, advanceWidth in advanceWidths.items():
150 metrics[gn] = (advanceWidth, glyphTable[gn].xMin)
221 metrics = {gn: (advanceWidth, 0) for gn, advanceWidth in advanceWidths.items()}
/external/icu/icu4c/source/samples/layout/
Dsfnt.h214 le_uint16 advanceWidth; member
/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/u-boot/drivers/video/
Dstb_truetype.h695 …_GetCodepointHMetrics(const stbtt_fontinfo *info, int codepoint, int *advanceWidth, int *leftSideB…
706 …tt_GetGlyphHMetrics(const stbtt_fontinfo *info, int glyph_index, int *advanceWidth, int *leftSideB…
1471 …tt_GetGlyphHMetrics(const stbtt_fontinfo *info, int glyph_index, int *advanceWidth, int *leftSideB… in stbtt_GetGlyphHMetrics() argument
1475 if (advanceWidth) *advanceWidth = ttSHORT(info->data + info->hmtx + 4*glyph_index); in stbtt_GetGlyphHMetrics()
1478 …if (advanceWidth) *advanceWidth = ttSHORT(info->data + info->hmtx + 4*(numOfLongHorMetrics-… in stbtt_GetGlyphHMetrics()
1520 …_GetCodepointHMetrics(const stbtt_fontinfo *info, int codepoint, int *advanceWidth, int *leftSideB… in stbtt_GetCodepointHMetrics() argument
1522 … stbtt_GetGlyphHMetrics(info, stbtt_FindGlyphIndex(info,codepoint), advanceWidth, leftSideBearing); in stbtt_GetCodepointHMetrics()
/external/skia/src/pdf/
DSkPDFDevice.cpp918 SkScalar advanceWidth, in writeGlyph() argument
943 fXAdvance += advanceWidth; in writeGlyph()
/external/skia/src/xps/
DSkXPSDevice.cpp1942 xpsGlyph->advanceWidth = 0.0f;
1948 xpsGlyph->advanceWidth = 0.0f;
/external/skqp/src/xps/
DSkXPSDevice.cpp2016 xpsGlyph->advanceWidth = 0.0f;
2022 xpsGlyph->advanceWidth = 0.0f;
/external/skqp/src/pdf/
DSkPDFDevice.cpp931 SkScalar advanceWidth, in writeGlyph() argument
956 fXAdvance += advanceWidth; in writeGlyph()
/external/skqp/src/ports/
DSkScalerContext_win_dw.cpp416 SkScalar advanceX = fTextSizeMeasure * gm.advanceWidth / dwfm.designUnitsPerEm; in generateAdvance()
/external/skia/src/ports/
DSkScalerContext_win_dw.cpp416 SkScalar advanceX = fTextSizeMeasure * gm.advanceWidth / dwfm.designUnitsPerEm; in generateAdvance()