/external/icu4c/samples/layout/ |
H A D | Surface.cpp | 15 void GDISurface::drawGlyphs(RenderingFontInstance *font, const LEGlyphID *glyphs, le_int32 count, const le_int32 *dx, argument 28 glyphs, count, (INT *) dx);
|
H A D | rsurface.cpp | 16 void rs_drawGlyphs(rs_surface *surface, const le_font *font, const LEGlyphID *glyphs, le_int32 count, argument 21 rs->drawGlyphs((const LEFontInstance *) font, glyphs, count, positions, x, y, width, height);
|
H A D | GnomeFontInstance.cpp | 41 void GnomeSurface::drawGlyphs(const LEFontInstance *font, const LEGlyphID *glyphs, le_int32 count, argument 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, argument 185 TTGlyphID glyph = LE_GET_GLYPH(glyphs[in]);
|
H A D | GDIFontInstance.cpp | 53 void GDISurface::drawGlyphs(const LEFontInstance *font, const LEGlyphID *glyphs, le_int32 count, const float *positions, argument 68 TTGlyphID ttGlyph = (TTGlyphID) LE_GET_GLYPH(glyphs[g]);
|
H A D | paragraph.cpp | 241 const LEGlyphID *glyphs = visualRun->getGlyphs(); local 244 surface->drawGlyphs(font, glyphs, glyphCount, positions, x, y, fWidth, fHeight);
|
/external/icu4c/test/letest/ |
H A D | letest.h | 38 LEGlyphID *glyphs; member in struct:TestResult
|
H A D | gendata.cpp | 164 LEGlyphID *glyphs = NULL; local 259 glyphs = NEW_ARRAY(LEGlyphID, glyphCount); 263 engine->getGlyphs(glyphs, leStatus); 267 dumpLongs(outputFile, "result-glyphs", (le_int32 *) glyphs, glyphCount); 277 DELETE_ARRAY(glyphs);
|
H A D | xmlreader.cpp | 149 UnicodeString result_glyphs = UNICODE_STRING_SIMPLE("result-glyphs"); 180 UnicodeString text, glyphs, indices, positions; local 212 glyphs = element->getText(TRUE); 226 expected.glyphs = (LEGlyphID *) getHexArray(glyphs, glyphCount); 243 DELETE_ARRAY(expected.glyphs);
|
/external/icu4c/layout/ |
H A D | 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)) {
|
H A D | loengine.cpp | 75 LEGlyphID glyphs[], 85 le->getGlyphs(glyphs, *success); 74 le_getGlyphs(le_engine *engine, LEGlyphID glyphs[], LEErrorCode *success) argument
|
/external/webkit/Source/WebCore/platform/graphics/pango/ |
H A D | 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/ |
H A D | GlyphPageTreeNodeSkia.cpp | 44 static int substituteWithVerticalGlyphs(const SimpleFontData* fontData, uint16_t* glyphs, unsigned bufferLength) argument 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];
|
/external/webkit/Source/WebCore/platform/graphics/android/fonts/ |
H A D | GlyphMapAndroid.cpp | 47 static HB_Error substituteWithVerticalGlyphs(const FontPlatformData& platformData, uint16_t* glyphs, unsigned bufferLength) argument 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[ [all...] |
/external/webkit/Source/WebCore/platform/graphics/cairo/ |
H A D | FontCairo.cpp | 57 static void drawGlyphsToContext(cairo_t* context, const SimpleFontData* font, GlyphBufferGlyph* glyphs, int numGlyphs) argument 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) argument 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[ [all...] |
/external/webkit/Source/WebCore/platform/graphics/mac/ |
H A D | 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[ [all...] |
/external/webkit/Source/WebCore/svg/ |
H A D | 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) argument 86 glyphs.append(node->glyphs); 89 std::sort(glyphs.begin(), glyphs [all...] |
/external/harfbuzz/contrib/ |
H A D | 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, argument 42 const FT_Error error = FT_Load_Glyph(face, glyphs[i], FT_LOAD_DEFAULT); 16 hb_freetype_string_to_glyphs(HB_Font font, const HB_UChar16 *chars, hb_uint32 len, HB_Glyph *glyphs, hb_uint32 *numGlyphs, HB_Bool is_rtl) argument
|
/external/skia/gm/ |
H A D | gammatext.cpp | 92 uint16_t glyphs[200]; local 93 int count = paint.textToGlyphs(text, len, glyphs); 95 CGContextShowGlyphsAtPoint(cg, x, y, glyphs, count);
|
/external/webkit/Source/WebCore/platform/graphics/ |
H A D | GlyphBuffer.h | 86 GlyphBufferGlyph* glyphs(int from) { return m_glyphs.data() + from; } function in class:WebCore::GlyphBuffer 88 const GlyphBufferGlyph* glyphs(int from) const { return m_glyphs.data() + from; } function in class:WebCore::GlyphBuffer
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
H A D | ComplexTextControllerLinux.h | 90 const uint16_t* glyphs() const { return m_glyphs16; } function in class:WebCore::ComplexTextController 92 // Return the length of the array returned by |glyphs| 95 // Return the x offset for each of the glyphs. Note that this is translated
|
/external/webkit/Source/WebCore/platform/graphics/haiku/ |
H A D | FontHaiku.cpp | 84 GlyphBufferGlyph* glyphs = const_cast<GlyphBufferGlyph*>(glyphBuffer.glyphs(from)); local 88 charUnicodeToUTF8HACK(glyphs[i], out);
|
/external/webkit/Source/WebCore/platform/wx/wxcode/gtk/ |
H A D | 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[ [all...] |
/external/webkit/Source/WebCore/platform/wx/wxcode/win/ |
H A D | 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/tests/shaping/ |
H A D | main.cpp | 65 static HB_Bool hb_stringToGlyphs(HB_Font font, const HB_UChar16 *string, hb_uint32 length, HB_Glyph *glyphs, hb_uint32 *numGlyphs, HB_Bool /*rightToLeft*/) argument 73 glyphs[glyph_pos] = FT_Get_Char_Index(face, getChar(string, length, i)); 82 static void hb_getAdvances(HB_Font /*font*/, const HB_Glyph * /*glyphs*/, hb_uint32 numGlyphs, HB_Fixed *advances, int /*flags*/) 207 unsigned short glyphs[16]; member in struct:ShapeTable 257 shaper_item.glyphs = hb_glyphs.data(); 271 const unsigned short *g = s->glyphs; 281 if ((shaper_item.glyphs[i]&0xffffff) != s->glyphs[i]) 300 str += QString("%1 ").arg(shaper_item.glyphs[i], 4, 16);
|
/external/skia/src/ports/ |
H A D | 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, argument 61 // convert HB 32bit glyphs to skia's 16bit 63 glyphs16[i] = SkToU16(glyphs[i]); 25 stringToGlyphs(HB_Font hbFont, const HB_UChar16* characters, hb_uint32 length, HB_Glyph* glyphs, hb_uint32* glyphsSize, HB_Bool isRTL) argument
|