/external/webkit/Source/WebCore/platform/graphics/chromium/ |
D | FontChromiumWin.cpp | 199 … bool drawGlyphs(int numGlyphs, const WORD* glyphs, const int* advances, float startAdvance) const; 258 const int* advances, in drawGlyphs() argument 265 numGlyphs, glyphs, advances, 0, &origin); in drawGlyphs() 291 …ight(), ETO_GLYPH_INDEX, 0, reinterpret_cast<const wchar_t*>(&glyphs[0]), numGlyphs, &advances[0]); in drawGlyphs() 295 …, x, y, ETO_GLYPH_INDEX, 0, reinterpret_cast<const wchar_t*>(&glyphs[0]), numGlyphs, &advances[0]); in drawGlyphs() 394 Vector<int, kMaxBufferLength> advances; in drawGlyphsWin() local 406 advances.resize(curLen); in drawGlyphsWin() 412 advances[i] = lroundf(horizontalOffset) - lastHorizontalOffsetRounded; in drawGlyphsWin() 413 lastHorizontalOffsetRounded += advances[i]; in drawGlyphsWin() 424 …if ((currentWidth + advances[i] < maxNegativeRun) || (currentWidth + advances[i] > maxPositiveRun)… in drawGlyphsWin() [all …]
|
D | HarfbuzzSkia.cpp | 89 …dvances(HB_Font hbFont, const HB_Glyph* glyphs, hb_uint32 numGlyphs, HB_Fixed* advances, int flags) in glyphsToAdvances() argument 102 …getTextWidths(glyphs16.get(), numGlyphs * sizeof(uint16_t), reinterpret_cast<SkScalar*>(advances)); in glyphsToAdvances() 110 memcpy(&value, reinterpret_cast<char*>(advances) + sizeof(float) * i, sizeof(float)); in glyphsToAdvances() 111 advances[i] = SkiaScalarToHarfbuzzFixed(value); in glyphsToAdvances()
|
D | ComplexTextControllerLinux.h | 101 const HB_Fixed* advances() const { return m_item.advances; } in advances() function
|
D | ComplexTextControllerLinux.cpp | 233 delete[] m_item.advances; in deleteGlyphArrays() 243 m_item.advances = new HB_Fixed[size]; in createGlyphArrays() 261 memset(m_item.advances, 0, size * sizeof(HB_Fixed)); in resetGlyphArrays() 307 double advance = truncateFixedPointToInteger(m_item.advances[i]); in setGlyphXPositions()
|
D | FontLinux.cpp | 95 const GlyphBufferAdvance* adv = glyphBuffer.advances(from); in drawGlyphs() 260 int advance = truncateFixedPointToInteger(controller.advances()[glyphIndex]); in glyphIndexForXPositionInScriptRun() 350 fromX += truncateFixedPointToInteger(controller.advances()[glyph]); in selectionRectForComplexText() 358 toX += truncateFixedPointToInteger(controller.advances()[glyph]); in selectionRectForComplexText()
|
D | UniscribeHelper.cpp | 146 Vector<int, 64> advances; in justify() local 147 advances.resize(totalGlyphs); in justify() 160 advances[destIndex] = shaping.m_advance[i]; in justify() 167 ScriptJustify(&visualAttributes[0], &advances[0], totalGlyphs, in justify()
|
/external/webkit/Source/WebCore/platform/graphics/android/fonts/ |
D | FontAndroid.cpp | 211 const GlyphBufferAdvance* adv = glyphBuffer.advances(from); in drawGlyphs() 475 const HB_Fixed* advances() const { return m_item.advances; } in advances() function in WebCore::TextRunWalker 762 delete[] m_item.advances; in deleteGlyphArrays() 772 m_item.advances = new HB_Fixed[size]; in createGlyphArrays() 789 memset(m_item.advances, 0, size * sizeof(m_item.advances[0])); in resetGlyphArrays() 831 int advance = truncateFixedPointToInteger(m_item.advances[i]); in setGlyphPositions() 857 if (0 == m_item.advances[i]) { in setGlyphPositions() 1003 fromX += truncateFixedPointToInteger(walker.advances()[glyph]); in selectionRectForComplexText() 1011 toX += truncateFixedPointToInteger(walker.advances()[glyph]); in selectionRectForComplexText() 1086 const HB_Fixed* advances = walker.advances(); in glyphIndexForXPositionInScriptRun() local [all …]
|
D | HarfbuzzSkia.cpp | 76 …dvances(HB_Font hbFont, const HB_Glyph* glyphs, hb_uint32 numGlyphs, HB_Fixed* advances, int flags) in glyphsToAdvances() argument 89 …getTextWidths(glyphs16.get(), numGlyphs * sizeof(uint16_t), reinterpret_cast<SkScalar*>(advances)); in glyphsToAdvances() 97 memcpy(&value, reinterpret_cast<char*>(advances) + sizeof(float) * i, sizeof(value)); in glyphsToAdvances() 98 advances[i] = SkiaScalarToHarfbuzzFixed(value); in glyphsToAdvances()
|
/external/webkit/Source/WebCore/platform/graphics/win/ |
D | UniscribeController.cpp | 242 Vector<int> advances; in shapeAndPlaceItem() local 244 advances.resize(glyphs.size()); in shapeAndPlaceItem() 247 &item.a, advances.data(), offsets.data(), 0); in shapeAndPlaceItem() 255 &item.a, advances.data(), offsets.data(), 0); in shapeAndPlaceItem() 280 advances[clusters[k]] = treatAsSpace ? logicalSpaceWidth : 0; in shapeAndPlaceItem() 293 float advance = advances[k] / cLogicalScale; in shapeAndPlaceItem() 356 advances[k] = advance; in shapeAndPlaceItem() 363 advances.data(), &item.a, &m_offsetPosition, &trailing); in shapeAndPlaceItem()
|
D | FontCGWin.cpp | 375 …CGContextShowGlyphsWithAdvances(cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from), n… in drawGlyphs() 378 …ShowGlyphsWithAdvances(cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from), numGlyphs); in drawGlyphs() 384 …CGContextShowGlyphsWithAdvances(cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from), n… in drawGlyphs() 387 …CGContextShowGlyphsWithAdvances(cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from), n… in drawGlyphs()
|
/external/webkit/Source/WebCore/platform/graphics/mac/ |
D | FontMac.mm | 81 …eFontData* font, CGContextRef context, const CGGlyph* glyphs, const CGSize* advances, size_t count) 114 position.x += advances[i].width; 115 position.y += advances[i].height; 120 CGContextShowGlyphsWithAdvances(context, glyphs, advances, count); 131 CGSize advance = CGSizeApplyAffineTransform(advances[i - 1], matrix); 235 …X, shadowTextY), font, cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from), numGlyphs); 237 …), shadowTextY), font, cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from), numGlyphs); 241 …showGlyphsWithAdvances(point, font, cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from… 243 …t(), point.y()), font, cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from), numGlyphs);
|
D | ComplexTextController.cpp | 425 const CGSize* advances = complexTextRun.advances(); in adjustGlyphsAndAdvances() local 455 …Size advance = treatAsSpace ? CGSizeMake(fontData->spaceWidth(), advances[i].height) : advances[i]; in adjustGlyphsAndAdvances()
|
/external/webkit/Source/WebCore/platform/wx/wxcode/win/ |
D | non-kerned-drawing.cpp | 107 const GlyphBufferAdvance* advances = glyphBuffer.advances(from); in drawTextWithSpacing() local 111 spacing[i] = advances[i].width(); in drawTextWithSpacing()
|
/external/webkit/Source/WebCore/platform/graphics/skia/ |
D | SkiaFontWin.cpp | 285 const int* advances, in skiaDrawText() argument 303 x += SkIntToScalar(advances[i]); in skiaDrawText() 324 x += advances[i]; in skiaDrawText() 353 const int* advances, in paintSkiaText() argument 375 &glyphs[0], &advances[0], &offsets[0], numGlyphs)) in paintSkiaText() 407 &glyphs[0], &advances[0], &offsets[0], numGlyphs)) in paintSkiaText()
|
D | SkiaFontWin.h | 92 const int* advances,
|
/external/freetype/src/base/ |
D | ftadvanc.c | 26 FT_Fixed* advances, in _ft_face_scale_advances() argument 49 advances[nn] = FT_MulDiv( advances[nn], scale, 64 ); in _ft_face_scale_advances()
|
/external/harfbuzz/contrib/ |
D | harfbuzz-freetype.c | 37 HB_Fixed *advances, int flags) { in hb_freetype_advances_get() argument 44 advances[i] = 0; in hb_freetype_advances_get() 48 advances[i] = face->glyph->advance.x; in hb_freetype_advances_get()
|
/external/freetype/src/truetype/ |
D | ttdriver.c | 133 FT_Fixed *advances ) in tt_get_advances() argument 150 advances[nn] = ah; in tt_get_advances() 162 advances[nn] = aw; in tt_get_advances()
|
/external/harfbuzz/src/ |
D | harfbuzz-shaper.h | 243 …s)(HB_Font font, const HB_Glyph *glyphs, hb_uint32 numGlyphs, HB_Fixed *advances, int flags /*HB_S… 282 HB_Fixed *advances; /* output: <num_glyphs> advances */ member
|
D | harfbuzz-hangul.c | 249 syllable.advances = item->advances + first_glyph; in HB_HangulShape()
|
D | harfbuzz-tibetan.c | 235 syllable.advances = item->advances + first_glyph; in HB_TibetanShape()
|
/external/webkit/Source/WebCore/platform/graphics/ |
D | GlyphBuffer.h | 87 GlyphBufferAdvance* advances(int from) { return m_advances.data() + from; } in advances() function 89 const GlyphBufferAdvance* advances(int from) const { return m_advances.data() + from; } in advances() function
|
/external/skia/src/ports/ |
D | SkHarfBuzzFont.cpp | 50 hb_uint32 numGlyphs, HB_Fixed* advances, int flags) { in glyphsToAdvances() argument 68 advances[i] = SkScalarToHarfbuzzFixed(scalarWidths[i]); in glyphsToAdvances()
|
/external/skia/tests/ |
D | WArrayTest.cpp | 142 const int16_t advances[], in TestWData() argument 147 : fAdvances(advances) in TestWData()
|
/external/webkit/Source/WebCore/platform/wx/wxcode/mac/carbon/ |
D | non-kerned-drawing.cpp | 73 …CGContextShowGlyphsWithAdvances(cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from), n… in drawTextWithSpacing()
|