/external/webkit/Source/WebCore/platform/graphics/cairo/ |
D | FontCairo.cpp | 57 …phsToContext(cairo_t* context, const SimpleFontData* font, GlyphBufferGlyph* glyphs, int numGlyphs) in drawGlyphsToContext() argument 59 cairo_show_glyphs(context, glyphs, numGlyphs); in drawGlyphsToContext() 63 cairo_show_glyphs(context, glyphs, numGlyphs); in drawGlyphsToContext() 68 …text, const FloatPoint& point, const SimpleFontData* font, GlyphBufferGlyph* glyphs, int numGlyphs) in drawGlyphsShadow() argument 83 cairo_show_glyphs(context, glyphs, numGlyphs); in drawGlyphsShadow() 89 cairo_scaled_font_glyph_extents(font->platformData().scaledFont(), glyphs, numGlyphs, &extents); in drawGlyphsShadow() 94 drawGlyphsToContext(shadowContext, font, glyphs, numGlyphs); in drawGlyphsShadow() 100 int from, int numGlyphs, const FloatPoint& point) const in drawGlyphs() argument 105 for (int i = 0; i < numGlyphs; i++) { in drawGlyphs() 112 drawGlyphsShadow(context, point, font, glyphs, numGlyphs); in drawGlyphs() [all …]
|
/external/webkit/Source/WebCore/platform/graphics/android/fonts/ |
D | HarfbuzzSkia.cpp | 61 …int numGlyphs = paint.textToGlyphs(characters, length * sizeof(uint16_t), reinterpret_cast<uint16_… in stringToGlyphs() local 65 for (int i = numGlyphs - 1; i >= 0; --i) { in stringToGlyphs() 72 *glyphsSize = numGlyphs; in stringToGlyphs() 76 static void glyphsToAdvances(HB_Font hbFont, const HB_Glyph* glyphs, hb_uint32 numGlyphs, HB_Fixed*… in glyphsToAdvances() argument 84 OwnArrayPtr<uint16_t> glyphs16 = adoptArrayPtr(new uint16_t[numGlyphs]); in glyphsToAdvances() 87 for (unsigned i = 0; i < numGlyphs; ++i) in glyphsToAdvances() 89 …paint.getTextWidths(glyphs16.get(), numGlyphs * sizeof(uint16_t), reinterpret_cast<SkScalar*>(adva… in glyphsToAdvances() 94 for (unsigned i = 0; i < numGlyphs; ++i) { in glyphsToAdvances() 112 int numGlyphs = paint.textToGlyphs(characters, length * sizeof(uint16_t), glyphs16.get()); in canRender() local 114 for (int i = 0; i < numGlyphs; ++i) { in canRender()
|
D | FontAndroid.cpp | 191 const GlyphBuffer& glyphBuffer, int from, int numGlyphs, in drawGlyphs() argument 197 if (numGlyphs == 1 && glyphBuffer.glyphAt(from) == 0x3) { in drawGlyphs() 212 SkAutoSTMalloc<32, SkPoint> storage(numGlyphs), storage2(numGlyphs), storage3(numGlyphs); in drawGlyphs() 241 for (int i = 0; i < numGlyphs; i++) { in drawGlyphs() 273 for (int i = 0; i < numGlyphs; i++) { in drawGlyphs() 285 rotator.mapPoints(pos, numGlyphs); in drawGlyphs() 288 numGlyphs * sizeof(uint16_t), pos, paint); in drawGlyphs()
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
D | HarfbuzzSkia.cpp | 74 …int numGlyphs = paint.textToGlyphs(characters, length * sizeof(uint16_t), reinterpret_cast<uint16_… in stringToGlyphs() local 78 for (int i = numGlyphs - 1; i >= 0; --i) { in stringToGlyphs() 85 *glyphsSize = numGlyphs; in stringToGlyphs() 89 static void glyphsToAdvances(HB_Font hbFont, const HB_Glyph* glyphs, hb_uint32 numGlyphs, HB_Fixed*… in glyphsToAdvances() argument 97 OwnArrayPtr<uint16_t> glyphs16 = adoptArrayPtr(new uint16_t[numGlyphs]); in glyphsToAdvances() 100 for (unsigned i = 0; i < numGlyphs; ++i) in glyphsToAdvances() 102 …paint.getTextWidths(glyphs16.get(), numGlyphs * sizeof(uint16_t), reinterpret_cast<SkScalar*>(adva… in glyphsToAdvances() 107 for (unsigned i = 0; i < numGlyphs; ++i) { in glyphsToAdvances() 126 int numGlyphs = paint.textToGlyphs(characters, length * sizeof(uint16_t), glyphs16.get()); in canRender() local 129 for (int i = 0; i < numGlyphs; ++i) { in canRender()
|
D | FontChromiumWin.cpp | 191 int from, int numGlyphs, 199 … bool drawGlyphs(int numGlyphs, const WORD* glyphs, const int* advances, float startAdvance) const; 218 int from, int numGlyphs, in TransparencyAwareGlyphPainter() argument 224 , m_numGlyphs(numGlyphs) in TransparencyAwareGlyphPainter() 256 bool TransparencyAwareGlyphPainter::drawGlyphs(int numGlyphs, 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() 381 int numGlyphs, in drawGlyphsWin() argument 385 … TransparencyAwareGlyphPainter painter(graphicsContext, font, glyphBuffer, from, numGlyphs, point); in drawGlyphsWin() [all …]
|
D | FontLinux.cpp | 81 const GlyphBuffer& glyphBuffer, int from, int numGlyphs, in drawGlyphs() argument 96 SkAutoSTMalloc<32, SkPoint> storage(numGlyphs), storage2(numGlyphs), storage3(numGlyphs); in drawGlyphs() 102 for (int i = 0; i < numGlyphs; i++) { in drawGlyphs() 129 for (int i = 0; i < numGlyphs; ++i) { in drawGlyphs() 136 canvas->drawPosText(glyphs, numGlyphs << 1, pos, paint); in drawGlyphs() 158 for (int i = 0; i < numGlyphs; ++i) { in drawGlyphs() 165 canvas->drawPosText(glyphs, numGlyphs << 1, pos, paint); in drawGlyphs()
|
D | UniscribeHelper.cpp | 514 int numGlyphs, in shape() argument 541 shaping.m_glyphs.resize(numGlyphs); in shape() 542 shaping.m_visualAttributes.resize(numGlyphs); in shape() 567 numGlyphs, &run.a, in shape() 576 numGlyphs *= 2; in shape() 688 int numGlyphs; in fillShapes() local 693 numGlyphs = UNISCRIBE_HELPER_STACK_CHARS; in fillShapes() 700 numGlyphs = itemLength * 3 / 2 + 16; in fillShapes() 706 if (!shape(&m_input[startItem], itemLength, numGlyphs, m_runs[i], shaping)) in fillShapes()
|
/external/skia/src/ports/ |
D | SkHarfBuzzFont.cpp | 33 int numGlyphs = paint.textToGlyphs(characters, length * sizeof(uint16_t), in stringToGlyphs() local 38 for (int i = numGlyphs - 1; i >= 0; --i) { in stringToGlyphs() 45 *glyphsSize = numGlyphs; in stringToGlyphs() 50 hb_uint32 numGlyphs, HB_Fixed* advances, int flags) { in glyphsToAdvances() argument 57 SkAutoMalloc storage(numGlyphs * (sizeof(SkScalar) + sizeof(uint16_t))); in glyphsToAdvances() 59 uint16_t* glyphs16 = reinterpret_cast<uint16_t*>(scalarWidths + numGlyphs); in glyphsToAdvances() 62 for (hb_uint32 i = 0; i < numGlyphs; ++i) { in glyphsToAdvances() 65 paint.getTextWidths(glyphs16, numGlyphs * sizeof(uint16_t), scalarWidths); in glyphsToAdvances() 67 for (hb_uint32 i = 0; i < numGlyphs; ++i) { in glyphsToAdvances()
|
/external/webkit/Source/WebCore/platform/wx/wxcode/win/ |
D | non-kerned-drawing.cpp | 72 …t, const wxColour& color, const GlyphBuffer& glyphBuffer, int from, int numGlyphs, const FloatPoin… in drawTextWithSpacing() argument 109 int* spacing = new int[numGlyphs - from]; in drawTextWithSpacing() 110 for (unsigned i = 0; i < numGlyphs; ++i) in drawTextWithSpacing() 124 wxString string = wxString((wxChar*)(&glyphs[from]), numGlyphs); in drawTextWithSpacing() 125 …::ExtTextOut(hdc, x, y, ETO_GLYPH_INDEX, 0, reinterpret_cast<const WCHAR*>(glyphs), numGlyphs, sp… in drawTextWithSpacing()
|
/external/webkit/Source/WebCore/platform/graphics/skia/ |
D | SkiaFontWin.cpp | 287 int numGlyphs) in skiaDrawText() argument 296 SkAutoSTArray<kLocalGlyphMax, SkPoint> posStorage(numGlyphs); in skiaDrawText() 300 for (int i = 0; i < numGlyphs; i++) { in skiaDrawText() 305 canvas->drawPosText(glyphs, numGlyphs * sizeof(uint16_t), pos, *paint); in skiaDrawText() 309 for (int i = 0; i < numGlyphs; i++) { in skiaDrawText() 351 int numGlyphs, in paintSkiaText() argument 375 &glyphs[0], &advances[0], &offsets[0], numGlyphs)) in paintSkiaText() 407 &glyphs[0], &advances[0], &offsets[0], numGlyphs)) in paintSkiaText()
|
/external/webkit/Source/WebCore/platform/graphics/win/ |
D | FontCGWin.cpp | 131 int from, int numGlyphs, const FloatPoint& point) in drawGDIGlyphs() argument 156 for (int i = 0; i < numGlyphs; i++) { in drawGDIGlyphs() 223 …YPH_INDEX, 0, reinterpret_cast<const WCHAR*>(glyphBuffer.glyphs(from)), numGlyphs, gdiAdvances.dat… in drawGDIGlyphs() 229 …YPH_INDEX, 0, reinterpret_cast<const WCHAR*>(glyphBuffer.glyphs(from)), numGlyphs, gdiAdvances.dat… in drawGDIGlyphs() 251 for (unsigned i = 0; i < numGlyphs; ++i) { in drawGDIGlyphs() 301 int from, int numGlyphs, const FloatPoint& point) const in drawGlyphs() argument 331 drawGDIGlyphs(graphicsContext, font, glyphBuffer, from, numGlyphs, point); in drawGlyphs() 375 …ShowGlyphsWithAdvances(cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from), numGlyphs); in drawGlyphs() 378 …ShowGlyphsWithAdvances(cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from), numGlyphs); in drawGlyphs() 384 …ShowGlyphsWithAdvances(cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from), numGlyphs); in drawGlyphs() [all …]
|
/external/webkit/Source/WebCore/platform/wx/wxcode/gtk/ |
D | non-kerned-drawing.cpp | 186 …t, const wxColour& color, const GlyphBuffer& glyphBuffer, int from, int numGlyphs, const FloatPoin… in drawTextWithSpacing() argument 202 glyphs = static_cast<cairo_glyph_t*>(malloc(sizeof(cairo_glyph_t) * numGlyphs)); in drawTextWithSpacing() 206 for (int i = 0; i < numGlyphs; i++) { in drawTextWithSpacing() 216 cairo_show_glyphs(cr, glyphs, numGlyphs); in drawTextWithSpacing() 232 for (unsigned i = 0; i < numGlyphs; i++) { in drawTextWithSpacing()
|
/external/skia/include/pdf/ |
D | SkPDFFont.h | 28 void set(const uint16_t* glyphIDs, int numGlyphs); 64 int numGlyphs); 112 SK_API size_t glyphsToPDFFontEncoding(uint16_t* glyphIDs, size_t numGlyphs);
|
/external/icu4c/test/letest/ |
D | FontObject.cpp | 18 headTable(NULL), hmtxTable(NULL), numGlyphs(0), numOfLongHorMetrics(0), file(NULL) in FontObject() 217 numGlyphs = SWAPW(maxpTable->numGlyphs); in getGlyphAdvance() 229 if (glyph >= numGlyphs) { in getGlyphAdvance()
|
D | FontObject.h | 132 le_uint16 numGlyphs; member 227 le_uint16 numGlyphs; variable
|
/external/webkit/Source/WebCore/platform/wx/wxcode/mac/carbon/ |
D | non-kerned-drawing.cpp | 44 …t, const wxColour& color, const GlyphBuffer& glyphBuffer, int from, int numGlyphs, const FloatPoin… in drawTextWithSpacing() argument 73 …ShowGlyphsWithAdvances(cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from), numGlyphs); in drawTextWithSpacing()
|
/external/harfbuzz/contrib/ |
D | harfbuzz-freetype.c | 18 HB_Glyph *glyphs, hb_uint32 *numGlyphs, in hb_freetype_string_to_glyphs() argument 21 if (len > *numGlyphs) in hb_freetype_string_to_glyphs() 30 *numGlyphs = j; in hb_freetype_string_to_glyphs()
|
/external/webkit/Source/WebCore/platform/graphics/haiku/ |
D | FontHaiku.cpp | 74 … const GlyphBuffer& glyphBuffer, int from, int numGlyphs, const FloatPoint& point) const in drawGlyphs() argument 86 for (int i = 0; i < numGlyphs; i++) { in drawGlyphs()
|
/external/harfbuzz/tests/shaping/ |
D | main.cpp | 65 …onst HB_UChar16 *string, hb_uint32 length, HB_Glyph *glyphs, hb_uint32 *numGlyphs, HB_Bool /*right… in hb_stringToGlyphs() argument 68 if (length > *numGlyphs) in hb_stringToGlyphs() 77 *numGlyphs = glyph_pos; in hb_stringToGlyphs() 82 static void hb_getAdvances(HB_Font /*font*/, const HB_Glyph * /*glyphs*/, hb_uint32 numGlyphs, HB_F… in hb_getAdvances() argument 84 for (hb_uint32 i = 0; i < numGlyphs; ++i) in hb_getAdvances()
|
/external/webkit/Source/WebCore/platform/graphics/mac/ |
D | FontMac.mm | 140 …nst SimpleFontData* font, const GlyphBuffer& glyphBuffer, int from, int numGlyphs, const FloatPoin… 235 …X, shadowTextY), font, cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from), numGlyphs); 237 …), shadowTextY), font, cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from), numGlyphs); 241 …hAdvances(point, font, cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from), numGlyphs); 243 …t(), point.y()), font, cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from), numGlyphs);
|
D | GlyphPageTreeNodeMac.cpp | 142 unsigned numGlyphs = wkGetGlyphVectorNumGlyphs(&glyphVector); in fill() local 143 if (numGlyphs != length) { in fill()
|
/external/freetype/src/sfnt/ |
D | ttpost.c | 179 if ( num_glyphs > face->max_profile.numGlyphs ) in load_format_20() 326 if ( num_glyphs > face->max_profile.numGlyphs || num_glyphs > 258 ) in load_format_25() 493 if ( idx >= (FT_UInt)face->max_profile.numGlyphs ) in tt_face_get_ps_name()
|
/external/webkit/Source/WebCore/platform/graphics/wx/ |
D | FontWx.cpp | 71 int from, int numGlyphs, const FloatPoint& point) const in drawGlyphs() argument 80 drawTextWithSpacing(graphicsContext, font, color, glyphBuffer, from, numGlyphs, point); in drawGlyphs()
|
/external/harfbuzz/src/ |
D | harfbuzz-shaper.h | 242 …onst HB_UChar16 *string, hb_uint32 length, HB_Glyph *glyphs, hb_uint32 *numGlyphs, HB_Bool rightTo… 243 …void (*getGlyphAdvances)(HB_Font font, const HB_Glyph *glyphs, hb_uint32 numGlyphs, HB_Fixed *…
|
/external/webkit/Source/WebCore/platform/wx/wxcode/ |
D | non-kerned-drawing.h | 40 …t, const wxColour& color, const GlyphBuffer& glyphBuffer, int from, int numGlyphs, const FloatPoin…
|