Home
last modified time | relevance | path

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

/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.py111 for gn, advanceWidth in advanceWidths.items():
112 metrics[gn] = (advanceWidth, glyphTable[gn].xMin)
140 for gn, advanceWidth in advanceWidths.items():
141 metrics[gn] = (advanceWidth, lsb[gn])
184 for gn, advanceWidth in advanceWidths.items():
185 metrics[gn] = (advanceWidth, glyphTable[gn].xMin)
253 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/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/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/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.py1048 advanceWidth, lsb = advanceWidthArray[i], lsbArray[i]
1049 self.metrics[glyphName] = (advanceWidth, lsb)
/external/skia/src/pdf/
DSkPDFDevice.cpp673 SkScalar advanceWidth, in writeGlyph() argument
698 fXAdvance += advanceWidth; in writeGlyph()
/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.cpp425 SkScalar advanceX = fTextSizeMeasure * gm.advanceWidth / dwfm.designUnitsPerEm; in generateAdvance()
/external/skia/src/xps/
DSkXPSDevice.cpp1934 xpsGlyph.advanceWidth = 0.0f; in onDrawGlyphRunList()