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

12345678

/external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/
H A DGlyphPageTreeNodeSkia.cpp52 uint16_t* glyphs = glyphStorage.get(); local
54 typeface->charsToGlyphs(buffer, SkTypeface::kUTF16_Encoding, glyphs, length);
58 setGlyphDataForIndex(offset + i, glyphs[i], glyphs[i] ? fontData : NULL);
59 allGlyphs |= glyphs[i];
H A DSkiaFontWin.h50 const WORD* glyphs,
65 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),
92 const WORD* glyphs,
114 skiaDrawText(context, origin, textRect, &paint, &glyphs[0], &advances[0], &offsets[0], numGlyphs);
142 skiaDrawText(context, origin, textRect, &paint, &glyphs[0], &advances[0], &offsets[0], numGlyphs);
151 const WORD* glyphs,
158 numGlyphs, glyphs, advances, offsets, origin, textRect);
165 const WORD* glyphs,
49 skiaDrawText(GraphicsContext* context, const SkPoint& point, const SkRect& textRect, SkPaint* paint, const WORD* glyphs, const int* advances, const GOFFSET* offsets, unsigned numGlyphs) argument
88 paintSkiaText(GraphicsContext* context, const FontPlatformData& data, SkTypeface* face, float size, uint32_t textFlags, unsigned numGlyphs, const WORD* glyphs, const int* advances, const GOFFSET* offsets, const SkPoint& origin, const SkRect& textRect) argument
148 paintSkiaText(GraphicsContext* context, const FontPlatformData& data, unsigned numGlyphs, const WORD* glyphs, const int* advances, const GOFFSET* offsets, const SkPoint& origin, const SkRect& textRect) argument
161 paintSkiaText(GraphicsContext* context, const FontPlatformData& data, HFONT hfont, unsigned numGlyphs, const WORD* glyphs, const int* advances, const GOFFSET* offsets, const SkPoint& origin, const SkRect& textRect) argument
[all...]
/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/harfbuzz-ng/src/
H A Dhb-ot.h44 hb_set_t *glyphs);
H A Dtest-would-substitute.cc100 hb_codepoint_t glyphs[2]; local
101 if (!hb_font_glyph_from_string (font, argv[3], -1, &glyphs[0]) ||
103 !hb_font_glyph_from_string (font, argv[4], -1, &glyphs[1])))
105 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
1006 add_class(set_t *glyphs, unsigned int klass) const argument
1013 intersects_class(const hb_set_t *glyphs, unsigned int klass) const argument
1067 add_class(hb_set_t *glyphs, unsigned int klass) const argument
1075 intersects_class(const hb_set_t *glyphs, unsigned int klass) const 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...]
/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/platform/fonts/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/chromium_org/third_party/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/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.cpp186 Vector<SVGGlyph> glyphs; local
190 associatedFontElement->collectGlyphsForGlyphName(altGlyphNames[index], glyphs);
193 size_t glyphsSize = glyphs.size();
195 glyphs[i].unicodeStringLength = run.length();
197 // Do not check alt glyphs for compatibility. Just return the first one.
200 SVGGlyph& svgGlyph = glyphs[0];
207 associatedFontElement->collectGlyphsForString(remainingTextInRun, glyphs);
209 size_t glyphsSize = glyphs.size();
211 SVGGlyph& svgGlyph = glyphs[i];
247 Vector<SVGGlyph> glyphs; local
271 Vector<SVGGlyph> glyphs; local
[all...]
/external/chromium_org/third_party/skia/src/core/
H A DSkTypeface.cpp51 uint16_t glyphs[], int glyphCount) const SK_OVERRIDE {
52 if (glyphs && glyphCount > 0) {
53 sk_bzero(glyphs, glyphCount * sizeof(glyphs[0]));
211 uint16_t glyphs[], int glyphCount) const {
216 if (glyphs) {
217 sk_bzero(glyphs, glyphCount * sizeof(glyphs[0]));
221 return this->onCharsToGlyphs(chars, encoding, glyphs, glyphCount);
233 bool SkTypeface::getKerningPairAdjustments(const uint16_t glyphs[], in argument
210 charsToGlyphs(const void* chars, Encoding encoding, uint16_t glyphs[], int glyphCount) const argument
267 onGetKerningPairAdjustments(const uint16_t glyphs[], int count, int32_t adjustments[]) const argument
[all...]
/external/skia/src/core/
H A DSkTypeface.cpp51 uint16_t glyphs[], int glyphCount) const SK_OVERRIDE {
52 if (glyphs && glyphCount > 0) {
53 sk_bzero(glyphs, glyphCount * sizeof(glyphs[0]));
211 uint16_t glyphs[], int glyphCount) const {
216 if (glyphs) {
217 sk_bzero(glyphs, glyphCount * sizeof(glyphs[0]));
221 return this->onCharsToGlyphs(chars, encoding, glyphs, glyphCount);
233 bool SkTypeface::getKerningPairAdjustments(const uint16_t glyphs[], in argument
210 charsToGlyphs(const void* chars, Encoding encoding, uint16_t glyphs[], int glyphCount) const argument
267 onGetKerningPairAdjustments(const uint16_t glyphs[], int count, int32_t adjustments[]) const argument
[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...]

Completed in 552 milliseconds

12345678