HomeSort by relevance Sort by last modified time
    Searched refs:glyphs (Results 1 - 25 of 96) sorted by null

1 2 3 4

  /external/webkit/Source/WebCore/svg/
SVGGlyphMap.h 38 Vector<SVGGlyphIdentifier> glyphs; member in struct:WebCore::GlyphMapNode
65 node->glyphs.append(glyph);
66 node->glyphs.last().priority = m_currentPriority++;
67 node->glyphs.last().nameLength = len;
68 node->glyphs.last().isValid = true;
77 void get(const String& string, Vector<SVGGlyphIdentifier>& glyphs)
86 glyphs.append(node->glyphs);
89 std::sort(glyphs.begin(), glyphs.end(), compareGlyphPriority)
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/pango/
GlyphPageTreeNodePango.cpp 55 PangoGlyphString* glyphs = pango_glyph_string_new(); local
56 pango_shape(buffer, length, &item->analysis, glyphs);
60 if (glyphs->num_glyphs == 1)
61 result = glyphs->glyphs[0].glyph;
63 g_warning("didn't get 1 glyph but %d", glyphs->num_glyphs);
65 pango_glyph_string_free(glyphs);
  /external/webkit/Source/WebCore/platform/graphics/skia/
GlyphPageTreeNodeSkia.cpp 44 static int substituteWithVerticalGlyphs(const SimpleFontData* fontData, uint16_t* glyphs, unsigned bufferLength)
55 hb_buffer_add_glyph(buffer, glyphs[i], 0, i);
69 glyphs[i] = static_cast<Glyph>(buffer->out_string[i].gindex);
86 uint16_t* glyphs = glyphStorage.get(); local
88 unsigned count = paint.textToGlyphs(buffer, bufferLength * 2, glyphs);
103 substituteWithVerticalGlyphs(fontData, glyphs, bufferLength);
108 setGlyphDataForIndex(offset + i, glyphs[i], glyphs[i] ? fontData : NULL);
109 allGlyphs |= glyphs[i];
SkiaFontWin.h 49 // Removes any cached glyphs from the outline cache corresponding to the
91 const WORD* glyphs,
  /external/icu4c/samples/layout/
rsurface.cpp 16 void rs_drawGlyphs(rs_surface *surface, const le_font *font, const LEGlyphID *glyphs, le_int32 count,
21 rs->drawGlyphs((const LEFontInstance *) font, glyphs, count, positions, x, y, width, height);
RenderingSurface.h 26 virtual void drawGlyphs(const LEFontInstance *font, const LEGlyphID *glyphs, le_int32 count,
Surface.h 12 void drawGlyphs(RenderingFontInstance *font, const LEGlyphID *glyphs, le_int32 count, const le_int32 *dx,
rsurface.h 16 void rs_drawGlyphs(rs_surface *surface, const le_font *font, const LEGlyphID *glyphs, le_int32 count,
Surface.cpp 15 void GDISurface::drawGlyphs(RenderingFontInstance *font, const LEGlyphID *glyphs, le_int32 count, const le_int32 *dx,
28 glyphs, count, (INT *) dx);
GnomeFontInstance.cpp 41 void GnomeSurface::drawGlyphs(const LEFontInstance *font, const LEGlyphID *glyphs, le_int32 count,
46 gFont->rasterizeGlyphs(fCairo, glyphs, count, positions, x, y);
178 void GnomeFontInstance::rasterizeGlyphs(cairo_t *cairo, const LEGlyphID *glyphs, le_int32 glyphCount, const float *positions,
185 TTGlyphID glyph = LE_GET_GLYPH(glyphs[in]);
GnomeFontInstance.h 37 virtual void drawGlyphs(const LEFontInstance *font, const LEGlyphID *glyphs, le_int32 count,
100 void rasterizeGlyphs(cairo_t *cairo, const LEGlyphID *glyphs, le_int32 glyphCount, const float *positions,
  /external/webkit/Source/WebCore/platform/wx/wxcode/gtk/
non-kerned-drawing.cpp 165 PangoGlyphString* glyphs = pango_glyph_string_new(); local
166 pango_shape(buffer, length, &item->analysis, glyphs);
170 if (glyphs->num_glyphs == 1)
171 result = glyphs->glyphs[0].glyph;
173 g_warning("didn't get 1 glyph but %d", glyphs->num_glyphs);
175 pango_glyph_string_free(glyphs);
201 cairo_glyph_t* glyphs = NULL; local
202 glyphs = static_cast<cairo_glyph_t*>(malloc(sizeof(cairo_glyph_t) * numGlyphs));
207 glyphs[i].index = pango_font_get_glyph(pangoFont, pangoContext, glyphBuffer.glyphAt(from + i))
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/android/fonts/
GlyphMapAndroid.cpp 47 static HB_Error substituteWithVerticalGlyphs(const FontPlatformData& platformData, uint16_t* glyphs, unsigned bufferLength)
58 hb_buffer_add_glyph(buffer, glyphs[i], 0, i);
78 glyphs[i] = static_cast<Glyph>(buffer->out_string[i].gindex);
103 uint16_t* glyphs = glyphStorage.get(); local
108 // Convert to vertical form if there is no vertical glyphs.
113 unsigned count = paint.textToGlyphs(textBuffer, bufferLength << 1, glyphs);
128 if (substituteWithVerticalGlyphs(fontData->platformData(), glyphs, bufferLength)) {
133 unsigned count = paint.textToGlyphs(textBuffer, bufferLength << 1, glyphs);
150 uint16_t glyphID = glyphs[i];
159 uint16_t glyphID = glyphs[i]
    [all...]
HarfbuzzSkia.cpp 54 static HB_Bool stringToGlyphs(HB_Font hbFont, const HB_UChar16* characters, hb_uint32 length, HB_Glyph* glyphs, hb_uint32* glyphsSize, HB_Bool isRTL)
61 int numGlyphs = paint.textToGlyphs(characters, length * sizeof(uint16_t), reinterpret_cast<uint16_t*>(glyphs));
64 // |glyphs| array needs to be converted.
68 memcpy(&value, reinterpret_cast<char*>(glyphs) + sizeof(uint16_t) * i, sizeof(value));
69 glyphs[i] = value;
76 static void glyphsToAdvances(HB_Font hbFont, const HB_Glyph* glyphs, hb_uint32 numGlyphs, HB_Fixed* advances, int flags)
88 glyphs16[i] = glyphs[i];
  /external/webkit/Source/WebCore/platform/graphics/mac/
GlyphPageTreeNodeMac.cpp 60 Vector<CGGlyph, 512> glyphs(bufferLength);
61 wkGetGlyphsForCharacters(fontData->platformData().cgFont(), buffer, glyphs.data(), bufferLength);
63 if (!glyphs[i])
66 setGlyphDataForIndex(offset + i, glyphs[i], fontData);
71 // We ask CoreText for possible vertical variant glyphs
102 // This run uses the font we want. Extract glyphs.
104 const CGGlyph* glyphs = CTRunGetGlyphsPtr(ctRun); local
105 if (!glyphs) {
108 glyphs = glyphVector.data();
122 if (glyphs[i])
    [all...]
FontMac.mm 81 static void showGlyphsWithAdvances(const FloatPoint& point, const SimpleFontData* font, CGContextRef context, const CGGlyph* glyphs, const CGSize* advances, size_t count)
105 CTFontGetVerticalTranslationsForGlyphs(platformData.ctFont(), glyphs, translations.data(), count);
117 CGContextShowGlyphsAtPositions(context, glyphs, positions.data(), count);
120 CGContextShowGlyphsWithAdvances(context, glyphs, advances, count);
135 CTFontDrawGlyphs(platformData.ctFont(), glyphs, positions.data(), count, context);
235 showGlyphsWithAdvances(FloatPoint(shadowTextX, shadowTextY), font, cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from), numGlyphs);
237 showGlyphsWithAdvances(FloatPoint(shadowTextX + font->syntheticBoldOffset(), shadowTextY), font, cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from), numGlyphs);
241 showGlyphsWithAdvances(point, font, cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from), numGlyphs);
243 showGlyphsWithAdvances(FloatPoint(point.x() + font->syntheticBoldOffset(), point.y()), font, cgContext, glyphBuffer.glyphs(from), glyphBuffer.advances(from), numGlyphs);
  /external/webkit/Source/WebCore/platform/graphics/cairo/
FontCairo.cpp 57 static void drawGlyphsToContext(cairo_t* context, const SimpleFontData* font, GlyphBufferGlyph* glyphs, int numGlyphs)
59 cairo_show_glyphs(context, glyphs, numGlyphs);
63 cairo_show_glyphs(context, glyphs, numGlyphs);
68 static void drawGlyphsShadow(GraphicsContext* graphicsContext, const FloatPoint& point, const SimpleFontData* font, GlyphBufferGlyph* glyphs, int numGlyphs)
83 cairo_show_glyphs(context, glyphs, numGlyphs);
89 cairo_scaled_font_glyph_extents(font->platformData().scaledFont(), glyphs, numGlyphs, &extents);
94 drawGlyphsToContext(shadowContext, font, glyphs, numGlyphs);
102 GlyphBufferGlyph* glyphs = (GlyphBufferGlyph*)glyphBuffer.glyphs(from); local
106 glyphs[i].x = offset
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/win/
UniscribeController.cpp 226 Vector<WORD> glyphs; local
234 glyphs.resize(1.5 * len + 16);
235 visualAttributes.resize(glyphs.size());
237 if (!shape(str, len, item, fontData, glyphs, clusters, visualAttributes))
240 // We now have a collection of glyphs.
243 offsets.resize(glyphs.size());
244 advances.resize(glyphs.size());
246 HRESULT placeResult = ScriptPlace(0, fontData->scriptCache(), glyphs.data(), glyphs.size(), visualAttributes.data(),
254 placeResult = ScriptPlace(hdc, fontData->scriptCache(), glyphs.data(), glyphs.size(), visualAttributes.data()
    [all...]
  /external/icu4c/layout/
LEInsertionList.cpp 20 LEGlyphID glyphs[ANY_NUMBER]; member in struct:InsertionRecord
82 return insertion->glyphs;
88 if (callback->applyInsertion(rec->position, rec->count, rec->glyphs)) {
  /external/webkit/Source/WebCore/platform/graphics/haiku/
FontHaiku.cpp 84 GlyphBufferGlyph* glyphs = const_cast<GlyphBufferGlyph*>(glyphBuffer.glyphs(from)); local
88 charUnicodeToUTF8HACK(glyphs[i], out);
  /external/icu4c/test/letest/
letest.h 38 LEGlyphID *glyphs; member in struct:TestResult
  /external/webkit/Source/WebCore/platform/wx/wxcode/win/
non-kerned-drawing.cpp 106 const GlyphBufferGlyph* glyphs = glyphBuffer.glyphs(from); local
124 wxString string = wxString((wxChar*)(&glyphs[from]), numGlyphs);
125 ::ExtTextOut(hdc, x, y, ETO_GLYPH_INDEX, 0, reinterpret_cast<const WCHAR*>(glyphs), numGlyphs, spacing);
  /external/harfbuzz/contrib/
harfbuzz-freetype.c 18 HB_Glyph *glyphs, hb_uint32 *numGlyphs,
27 glyphs[j++] = FT_Get_Char_Index(face, cp);
36 hb_freetype_advances_get(HB_Font font, const HB_Glyph *glyphs, hb_uint32 len,
42 const FT_Error error = FT_Load_Glyph(face, glyphs[i], FT_LOAD_DEFAULT);
  /external/webkit/Source/WebCore/platform/graphics/chromium/
SimpleFontDataLinux.cpp 188 uint16_t glyphs[maxBufferCount]; local
194 int n = SkMin32(length, SK_ARRAY_COUNT(glyphs));
197 int count = paint.textToGlyphs(characters, n * 2, glyphs);
199 if (0 == glyphs[i])
  /external/skia/src/ports/
SkHarfBuzzFont.cpp 26 hb_uint32 length, HB_Glyph* glyphs,
34 reinterpret_cast<uint16_t*>(glyphs));
37 // |glyphs| array needs to be converted.
41 memcpy(&value, reinterpret_cast<char*>(glyphs) + sizeof(uint16_t) * i, sizeof(uint16_t));
42 glyphs[i] = value;
49 static void glyphsToAdvances(HB_Font hbFont, const HB_Glyph* glyphs,
61 // convert HB 32bit glyphs to skia's 16bit
63 glyphs16[i] = SkToU16(glyphs[i]);

Completed in 752 milliseconds

1 2 3 4