Searched refs:glyphs (Results 1 - 25 of 174) sorted by relevance

1234567

/external/harfbuzz_ng/util/
H A Dhb-ot-shape-closure.cc58 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
H A Dhelper-cairo.hh51 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/chromium_org/third_party/WebKit/Source/core/platform/graphics/skia/
H A DGlyphPageTreeNodeSkia.cpp61 uint16_t* glyphs = glyphStorage.get(); local
63 unsigned count = paint.textToGlyphs(buffer, bufferLength * 2, glyphs);
71 setGlyphDataForIndex(offset + i, glyphs[i], glyphs[i] ? fontData : NULL);
72 allGlyphs |= glyphs[i];
H A DSkiaFontWin.h50 const WORD* glyphs,
63 const WORD* glyphs,
H A DSkiaFontWin.cpp53 const WORD* glyphs,
59 // will dynamically allocate it space for numGlyph glyphs. This is used to store
75 context->drawPosText(glyphs, numGlyphs * sizeof(uint16_t), pos, textRect, *paint);
83 context->drawPosTextH(glyphs, numGlyphs * sizeof(uint16_t),
119 const WORD* glyphs,
139 skiaDrawText(context, origin, textRect, &paint, &glyphs[0], &advances[0], &offsets[0], numGlyphs);
166 skiaDrawText(context, origin, textRect, &paint, &glyphs[0], &advances[0], &offsets[0], numGlyphs);
175 const WORD* glyphs,
182 numGlyphs, glyphs, advances, offsets, origin, textRect);
188 const WORD* glyphs,
49 skiaDrawText(GraphicsContext* context, const SkPoint& point, const SkRect& textRect, SkPaint* paint, const WORD* glyphs, const int* advances, const GOFFSET* offsets, int numGlyphs) argument
116 paintSkiaText(GraphicsContext* context, HFONT hfont, SkTypeface* face, float size, uint32_t textFlags, int numGlyphs, const WORD* glyphs, const int* advances, const GOFFSET* offsets, const SkPoint& origin, const SkRect& textRect) argument
172 paintSkiaText(GraphicsContext* context, const FontPlatformData& data, int numGlyphs, const WORD* glyphs, const int* advances, const GOFFSET* offsets, const SkPoint& origin, const SkRect& textRect) argument
185 paintSkiaText(GraphicsContext* context, HFONT hfont, int numGlyphs, const WORD* glyphs, const int* advances, const GOFFSET* offsets, const SkPoint& origin, const SkRect& textRect) argument
[all...]
/external/chromium_org/third_party/harfbuzz-ng/src/
H A Dhb-ot.h44 hb_set_t *glyphs);
H A Dtest-would-substitute.cc97 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);
H A Dhb-ot-layout-common-private.hh140 inline bool intersects (const hb_set_t *glyphs) const {
141 return glyphs->intersects (start, end);
145 inline void add_coverage (set_t *glyphs) const {
146 glyphs->add_range (start, end);
638 Supplier<GlyphID> &glyphs,
646 glyphArray[i] = glyphs[i];
647 glyphs.advance (num_glyphs);
656 inline bool intersects_coverage (const hb_set_t *glyphs, unsigned int index) const { argument
657 return glyphs->has (glyphArray[index]);
661 inline void add_coverage (set_t *glyphs) cons
637 serialize(hb_serialize_context_t *c, Supplier<GlyphID> &glyphs, unsigned int num_glyphs) argument
705 serialize(hb_serialize_context_t *c, Supplier<GlyphID> &glyphs, unsigned int num_glyphs) argument
742 intersects_coverage(const hb_set_t *glyphs, unsigned int index) const argument
814 serialize(hb_serialize_context_t *c, Supplier<GlyphID> &glyphs, unsigned int num_glyphs) argument
852 intersects_coverage(const hb_set_t *glyphs, unsigned int index) const argument
949 add_class(set_t *glyphs, unsigned int klass) const argument
956 intersects_class(const hb_set_t *glyphs, unsigned int klass) const argument
992 add_class(set_t *glyphs, unsigned int klass) const argument
999 intersects_class(const hb_set_t *glyphs, unsigned int klass) const argument
1037 add_class(hb_set_t *glyphs, unsigned int klass) const argument
1045 intersects_class(const hb_set_t *glyphs, unsigned int klass) const argument
[all...]
H A Dhb-ot-layout-gsub-table.hh46 if (c->glyphs->has (glyph_id))
47 c->glyphs->add ((glyph_id + deltaGlyphID) & 0xFFFF);
70 return TRACE_RETURN (c->len == 1 && (this+coverage).get_coverage (c->glyphs[0]) != NOT_COVERED);
89 Supplier<GlyphID> &glyphs,
95 if (unlikely (!coverage.serialize (c, this).serialize (c, glyphs, num_glyphs))) return TRACE_RETURN (false);
123 if (c->glyphs->has (iter.get_glyph ()))
124 c->glyphs->add (substitute[iter.get_coverage ()]);
146 return TRACE_RETURN (c->len == 1 && (this+coverage).get_coverage (c->glyphs[0]) != NOT_COVERED);
165 Supplier<GlyphID> &glyphs,
172 if (unlikely (!coverage.serialize (c, this).serialize (c, glyphs, num_glyph
88 serialize(hb_serialize_context_t *c, Supplier<GlyphID> &glyphs, unsigned int num_glyphs, int delta) argument
164 serialize(hb_serialize_context_t *c, Supplier<GlyphID> &glyphs, Supplier<GlyphID> &substitutes, unsigned int num_glyphs) argument
195 serialize(hb_serialize_context_t *c, Supplier<GlyphID> &glyphs, Supplier<GlyphID> &substitutes, unsigned int num_glyphs) argument
294 serialize(hb_serialize_context_t *c, Supplier<GlyphID> &glyphs, unsigned int num_glyphs) argument
358 serialize(hb_serialize_context_t *c, Supplier<GlyphID> &glyphs, Supplier<unsigned int> &substitute_len_list, unsigned int num_glyphs, Supplier<GlyphID> &substitute_glyphs_list) argument
395 serialize(hb_serialize_context_t *c, Supplier<GlyphID> &glyphs, Supplier<unsigned int> &substitute_len_list, unsigned int num_glyphs, Supplier<GlyphID> &substitute_glyphs_list) argument
509 serialize(hb_serialize_context_t *c, Supplier<GlyphID> &glyphs, Supplier<unsigned int> &alternate_len_list, unsigned int num_glyphs, Supplier<GlyphID> &alternate_glyphs_list) argument
546 serialize(hb_serialize_context_t *c, Supplier<GlyphID> &glyphs, Supplier<unsigned int> &alternate_len_list, unsigned int num_glyphs, Supplier<GlyphID> &alternate_glyphs_list) argument
1247 serialize_single(hb_serialize_context_t *c, uint32_t lookup_props, Supplier<GlyphID> &glyphs, Supplier<GlyphID> &substitutes, unsigned int num_glyphs) argument
1258 serialize_multiple(hb_serialize_context_t *c, uint32_t lookup_props, Supplier<GlyphID> &glyphs, Supplier<unsigned int> &substitute_len_list, unsigned int num_glyphs, Supplier<GlyphID> &substitute_glyphs_list) argument
1271 serialize_alternate(hb_serialize_context_t *c, uint32_t lookup_props, Supplier<GlyphID> &glyphs, Supplier<unsigned int> &alternate_len_list, unsigned int num_glyphs, Supplier<GlyphID> &alternate_glyphs_list) argument
[all...]
/external/harfbuzz_ng/src/
H A Dhb-ot.h44 hb_set_t *glyphs);
H A Dtest-would-substitute.cc97 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);
H A Dhb-ot-layout-common-private.hh141 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 { argument
658 return glyphs->has (glyphArray[index]);
662 inline void add_coverage (set_t *glyphs) cons
638 serialize(hb_serialize_context_t *c, Supplier<GlyphID> &glyphs, unsigned int num_glyphs) argument
706 serialize(hb_serialize_context_t *c, Supplier<GlyphID> &glyphs, unsigned int num_glyphs) argument
743 intersects_coverage(const hb_set_t *glyphs, unsigned int index) const argument
815 serialize(hb_serialize_context_t *c, Supplier<GlyphID> &glyphs, unsigned int num_glyphs) argument
853 intersects_coverage(const hb_set_t *glyphs, unsigned int index) const argument
950 add_class(set_t *glyphs, unsigned int klass) const argument
957 intersects_class(const hb_set_t *glyphs, unsigned int klass) const argument
993 add_class(set_t *glyphs, unsigned int klass) const argument
1000 intersects_class(const hb_set_t *glyphs, unsigned int klass) const argument
1038 add_class(hb_set_t *glyphs, unsigned int klass) const argument
1046 intersects_class(const hb_set_t *glyphs, unsigned int klass) const argument
[all...]
H A Dhb-ot-layout-gsub-table.hh46 if (c->glyphs->has (glyph_id))
47 c->glyphs->add ((glyph_id + deltaGlyphID) & 0xFFFF);
70 return TRACE_RETURN (c->len == 1 && (this+coverage).get_coverage (c->glyphs[0]) != NOT_COVERED);
89 Supplier<GlyphID> &glyphs,
95 if (unlikely (!coverage.serialize (c, this).serialize (c, glyphs, num_glyphs))) return TRACE_RETURN (false);
123 if (c->glyphs->has (iter.get_glyph ()))
124 c->glyphs->add (substitute[iter.get_coverage ()]);
146 return TRACE_RETURN (c->len == 1 && (this+coverage).get_coverage (c->glyphs[0]) != NOT_COVERED);
165 Supplier<GlyphID> &glyphs,
172 if (unlikely (!coverage.serialize (c, this).serialize (c, glyphs, num_glyph
88 serialize(hb_serialize_context_t *c, Supplier<GlyphID> &glyphs, unsigned int num_glyphs, int delta) argument
164 serialize(hb_serialize_context_t *c, Supplier<GlyphID> &glyphs, Supplier<GlyphID> &substitutes, unsigned int num_glyphs) argument
195 serialize(hb_serialize_context_t *c, Supplier<GlyphID> &glyphs, Supplier<GlyphID> &substitutes, unsigned int num_glyphs) argument
287 serialize(hb_serialize_context_t *c, Supplier<GlyphID> &glyphs, unsigned int num_glyphs) argument
351 serialize(hb_serialize_context_t *c, Supplier<GlyphID> &glyphs, Supplier<unsigned int> &substitute_len_list, unsigned int num_glyphs, Supplier<GlyphID> &substitute_glyphs_list) argument
388 serialize(hb_serialize_context_t *c, Supplier<GlyphID> &glyphs, Supplier<unsigned int> &substitute_len_list, unsigned int num_glyphs, Supplier<GlyphID> &substitute_glyphs_list) argument
502 serialize(hb_serialize_context_t *c, Supplier<GlyphID> &glyphs, Supplier<unsigned int> &alternate_len_list, unsigned int num_glyphs, Supplier<GlyphID> &alternate_glyphs_list) argument
539 serialize(hb_serialize_context_t *c, Supplier<GlyphID> &glyphs, Supplier<unsigned int> &alternate_len_list, unsigned int num_glyphs, Supplier<GlyphID> &alternate_glyphs_list) argument
1240 serialize_single(hb_serialize_context_t *c, uint32_t lookup_props, Supplier<GlyphID> &glyphs, Supplier<GlyphID> &substitutes, unsigned int num_glyphs) argument
1251 serialize_multiple(hb_serialize_context_t *c, uint32_t lookup_props, Supplier<GlyphID> &glyphs, Supplier<unsigned int> &substitute_len_list, unsigned int num_glyphs, Supplier<GlyphID> &substitute_glyphs_list) argument
1264 serialize_alternate(hb_serialize_context_t *c, uint32_t lookup_props, Supplier<GlyphID> &glyphs, Supplier<unsigned int> &alternate_len_list, unsigned int num_glyphs, Supplier<GlyphID> &alternate_glyphs_list) argument
[all...]
/external/icu4c/samples/layout/
H A Drsurface.cpp16 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 DRenderingSurface.h26 virtual void drawGlyphs(const LEFontInstance *font, const LEGlyphID *glyphs, le_int32 count,
H A DSurface.h12 void drawGlyphs(RenderingFontInstance *font, const LEGlyphID *glyphs, le_int32 count, const le_int32 *dx,
H A Drsurface.h16 void rs_drawGlyphs(rs_surface *surface, const le_font *font, const LEGlyphID *glyphs, le_int32 count,
H A DSurface.cpp15 void GDISurface::drawGlyphs(RenderingFontInstance *font, const LEGlyphID *glyphs, le_int32 count, const le_int32 *dx, argument
28 glyphs, count, (INT *) dx);
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/mac/
H A DGlyphPageTreeNodeMac.cpp39 void CGFontGetGlyphsForUnichars(CGFontRef font, const UniChar chars[], CGGlyph glyphs[], size_t length);
63 Vector<CGGlyph, 512> glyphs(bufferLength);
65 CGFontGetGlyphsForUnichars(fontData->platformData().cgFont(), buffer, glyphs.data(), bufferLength);
67 if (!glyphs[i])
70 setGlyphDataForIndex(offset + i, glyphs[i], fontData);
75 && CTFontGetGlyphsForCharacters(fontData->platformData().ctFont(), buffer, glyphs.data(), bufferLength)) {
77 // places the glyphs at indices corresponding to the first character of each pair.
80 if (!glyphs[i * glyphStep])
83 setGlyphDataForIndex(offset + i, glyphs[i * glyphStep], fontData);
88 // We ask CoreText for possible vertical variant glyphs
122 const CGGlyph* glyphs = CTRunGetGlyphsPtr(ctRun); local
[all...]
/external/sfntly/cpp/src/sample/subsetter/
H A Dsubset_util.cc67 IntegerList glyphs;
69 glyphs.push_back(i);
71 glyphs.push_back(11);
72 glyphs.push_back(10);
75 subsetter->SetGlyphs(&glyphs);
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGGlyphMap.h43 Vector<SVGGlyph> glyphs; member in struct:WebCore::GlyphMapNode
79 node->glyphs.append(glyph);
80 SVGGlyph& lastGlyph = node->glyphs.last();
105 void collectGlyphsForString(const String& string, Vector<SVGGlyph>& glyphs)
114 collectGlyphsForIterator(textIterator, glyphs);
117 collectGlyphsForIterator(textIterator, glyphs);
120 std::sort(glyphs.begin(), glyphs.end(), compareGlyphPriority);
167 void collectGlyphsForIterator(Iterator& textIterator, Vector<SVGGlyph>& glyphs) argument
177 glyphs
[all...]
H A DSVGFontData.cpp184 Vector<SVGGlyph> glyphs; local
188 associatedFontElement->collectGlyphsForGlyphName(altGlyphNames[index], glyphs);
191 size_t glyphsSize = glyphs.size();
193 glyphs[i].unicodeStringLength = run.length();
195 // Do not check alt glyphs for compatibility. Just return the first one.
198 SVGGlyph& svgGlyph = glyphs[0];
205 associatedFontElement->collectGlyphsForString(remainingTextInRun, glyphs);
207 size_t glyphsSize = glyphs.size();
209 SVGGlyph& svgGlyph = glyphs[i];
245 Vector<SVGGlyph> glyphs; local
269 Vector<SVGGlyph> glyphs; local
[all...]
/external/harfbuzz_ng/test/api/
H A Dtest-buffer.c176 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[
373 hb_glyph_info_t *glyphs; local
665 hb_glyph_info_t *glyphs; local
722 hb_glyph_info_t *glyphs; local
[all...]
/external/pixman/pixman/
H A Dpixman-glyph.c62 glyph_t * glyphs[HASH_SIZE]; member in struct:pixman_glyph_cache_t
103 while ((g = cache->glyphs[idx++ & HASH_MASK]))
130 loc = &cache->glyphs[idx++ & HASH_MASK];
147 while (cache->glyphs[idx & HASH_MASK] != glyph)
150 cache->glyphs[idx & HASH_MASK] = TOMBSTONE;
155 if (cache->glyphs[(idx + 1) & HASH_MASK] == NULL)
157 while (cache->glyphs[idx & HASH_MASK] == TOMBSTONE)
159 cache->glyphs[idx & HASH_MASK] = NULL;
173 glyph_t *glyph = cache->glyphs[i];
178 cache->glyphs[
320 pixman_glyph_get_extents(pixman_glyph_cache_t *cache, int n_glyphs, pixman_glyph_t *glyphs, pixman_box32_t *extents) argument
355 pixman_glyph_get_mask_format(pixman_glyph_cache_t *cache, int n_glyphs, const pixman_glyph_t *glyphs) argument
395 pixman_composite_glyphs_no_mask(pixman_op_t op, pixman_image_t *src, pixman_image_t *dest, int32_t src_x, int32_t src_y, int32_t dest_x, int32_t dest_y, pixman_glyph_cache_t *cache, int n_glyphs, const pixman_glyph_t *glyphs) argument
499 add_glyphs(pixman_glyph_cache_t *cache, pixman_image_t *dest, int off_x, int off_y, int n_glyphs, const pixman_glyph_t *glyphs) argument
634 pixman_composite_glyphs(pixman_op_t op, pixman_image_t *src, pixman_image_t *dest, pixman_format_code_t mask_format, int32_t src_x, int32_t src_y, int32_t mask_x, int32_t mask_y, int32_t dest_x, int32_t dest_y, int32_t width, int32_t height, pixman_glyph_cache_t *cache, int n_glyphs, const pixman_glyph_t *glyphs) argument
[all...]
/external/icu4c/layout/
H A DLEInsertionList.cpp20 LEGlyphID glyphs[ANY_NUMBER]; member in struct:InsertionRecord
82 return insertion->glyphs;
88 if (callback->applyInsertion(rec->position, rec->count, rec->glyphs)) {

Completed in 428 milliseconds

1234567