/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);
|
Surface.cpp | 15 void GDISurface::drawGlyphs(RenderingFontInstance *font, const LEGlyphID *glyphs, le_int32 count, const le_int32 *dx, 28 glyphs, count, (INT *) dx);
|
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,
|
RenderingSurface.h | 26 virtual void drawGlyphs(const LEFontInstance *font, const LEGlyphID *glyphs, le_int32 count,
|
/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/harfbuzz_ng/util/ |
hb-ot-shape-closure.cc | 58 glyphs = hb_set_create (); 68 hb_set_clear (glyphs); 69 shaper.shape_closure (text, text_len, font, buffer, glyphs); 71 if (hb_set_is_empty (glyphs)) 76 for (hb_codepoint_t i = -1; hb_set_next (glyphs, &i);) 95 hb_set_destroy (glyphs); 96 glyphs = NULL; 105 hb_set_t *glyphs; member in struct:shape_closure_consumer_t
|
helper-cairo.hh | 51 cairo_glyph_t *glyphs; member in struct:helper_cairo_line_t 60 if (glyphs) 61 cairo_glyph_free (glyphs); 69 *x_advance = glyphs[num_glyphs].x; 70 *y_advance = glyphs[num_glyphs].y;
|
/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/icu4c/layout/ |
LEInsertionList.h | 32 * @param count the number of glyphs to insert 33 * @param newGlyphs the address of the glyphs to insert 69 * @param rightToLeft <code>TRUE</code> if the glyphs are stored 85 * replaced by the new glyphs. 86 * @param count the number of new glyphs 89 * @return the address of an array in which to store the new glyphs. This will 97 * Return the number of new glyphs that have been inserted. 99 * @return the number of new glyphs which have been inserted 157 * The total number of new glyphs on the insertion list. 164 * Set to <code>TRUE</code> if the glyphs are in righ [all...] |
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/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];
|
/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/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...] |
/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/harfbuzz_ng/contrib/python/scripts/ |
hbtestfont | 7 Generates output of glyphs and positions. Each entry is of the form: 16 p.add_option('-f', '--font', help='Font to use to render glyphs. My be a font file', default="verdana") 68 def __init__(self, fontname, bold, italic, size, glyphs) : 72 self.glyphs = glyphs 98 cr.show_glyphs(self.glyphs) # [(gid, originx, originy)] 100 glyphs = [] variable 103 glyphs.append((g.gid, org[0] + g.offset[0], org[1] - g.offset[1])) 111 frame = gtk.Frame("glyphs") 113 w = GlyphsWindow(family, opts.bold, opts.italic, opts.size, glyphs) [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...] |
/external/harfbuzz_ng/src/ |
hb-ot-layout-common-private.hh | 141 inline bool intersects (const hb_set_t *glyphs) const { 142 return glyphs->intersects (start, end); 146 inline void add_coverage (set_t *glyphs) const { 147 glyphs->add_range (start, end); 639 Supplier<GlyphID> &glyphs, 647 glyphArray[i] = glyphs[i]; 648 glyphs.advance (num_glyphs); 657 inline bool intersects_coverage (const hb_set_t *glyphs, unsigned int index) const { 658 return glyphs->has (glyphArray[index]); 662 inline void add_coverage (set_t *glyphs) const [all...] |
test-would-substitute.cc | 97 hb_codepoint_t glyphs[2]; local 98 if (!hb_font_glyph_from_string (font, argv[3], -1, &glyphs[0]) || 100 !hb_font_glyph_from_string (font, argv[4], -1, &glyphs[1]))) 102 return !hb_ot_layout_lookup_would_substitute (face, strtol (argv[2], NULL, 0), glyphs, len, false);
|
/external/freetype/src/autofit/ |
afcjk.h | 36 * CJK glyphs tend to fill the square. So we have both vertical and 37 * horizontal blue zones. But some glyphs have flat bounding strokes that 38 * leave some space between neighbour glyphs.
|
/external/harfbuzz/src/ |
harfbuzz-gsub-private.h | 178 HB_UShort GlyphCount; /* total number of input glyphs */ 252 HB_UShort GlyphCount; /* number of input glyphs */ 284 /* total number of backtrack glyphs */ 286 /* total number of input glyphs */ 288 /* total number of lookahead glyphs */ 397 /* number of backtrack glyphs */ 399 /* number of input glyphs */ 401 /* number of lookahead glyphs */ 444 HB_Coverage Coverage; /* coverage table for input glyphs */ 446 HB_UShort BacktrackGlyphCount; /* number of backtrack glyphs */ [all...] |
/external/harfbuzz_ng/src/hb-old/ |
harfbuzz-gsub-private.h | 178 HB_UShort GlyphCount; /* total number of input glyphs */ 252 HB_UShort GlyphCount; /* number of input glyphs */ 284 /* total number of backtrack glyphs */ 286 /* total number of input glyphs */ 288 /* total number of lookahead glyphs */ 397 /* number of backtrack glyphs */ 399 /* number of input glyphs */ 401 /* number of lookahead glyphs */ 444 HB_Coverage Coverage; /* coverage table for input glyphs */ 446 HB_UShort BacktrackGlyphCount; /* number of backtrack glyphs */ [all...] |
/external/harfbuzz_ng/test/api/ |
test-buffer.c | 176 hb_glyph_info_t *glyphs; local 185 glyphs = hb_buffer_get_glyph_infos (b, &len2); 190 g_assert_cmphex (glyphs[i].mask, ==, 1); 191 g_assert_cmphex (glyphs[i].var1.u32, ==, 0); 192 g_assert_cmphex (glyphs[i].var2.u32, ==, 0); 204 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[1+i]); 205 g_assert_cmphex (glyphs[i].cluster, ==, cluster); 212 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[len-i]); 216 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[1+i]); 223 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[len-i]) 373 hb_glyph_info_t *glyphs; local 665 hb_glyph_info_t *glyphs; local 722 hb_glyph_info_t *glyphs; local [all...] |
/external/skia/legacy/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]);
|