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

123456789

/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);)
96 hb_set_destroy (glyphs);
97 glyphs = NULL;
106 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/icu/source/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,
/external/icu/icu4c/source/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,
/external/harfbuzz_ng/test/shaping/
H A Drun-tests.sh20 glyphs=`$srcdir/hb-unicode-encode "$unicodes" | $hb_shape "$srcdir/$fontfile"`
21 if ! test "x$glyphs" = "x$glyphs_expected"; then
22 echo "Actual: $glyphs" >&2
H A Drecord-test.sh12 glyphs=`echo "$text" | $hb_shape "$fontfile"`
24 # Verify that subset font produces same glyphs!
27 if ! test "x$glyphs" = "x$glyphs_subset"; then
28 echo "Subset font produced different glyphs!" >&2
35 echo "$glyphs"
42 glyphs=$glyphs_subset
49 echo "$subset:$unicodes:$glyphs"
/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:blink::GlyphMapNode
58 // Register glyphs with 'id's in the id glyph map and in the glyph table.
79 node->glyphs.append(glyph);
80 SVGGlyph& lastGlyph = node->glyphs.last();
107 void collectGlyphsForString(const String& string, Vector<SVGGlyph>& glyphs)
116 collectGlyphsForIterator(textIterator, glyphs);
119 collectGlyphsForIterator(textIterator, glyphs);
122 std::sort(glyphs.begin(), glyphs.end(), compareGlyphPriority);
125 void collectGlyphsForStringExact(const String& string, Vector<SVGGlyph>& glyphs) cons
228 collectGlyphsForIterator(Iterator& textIterator, Vector<SVGGlyph>& glyphs) argument
[all...]
/external/chromium_org/third_party/harfbuzz-ng/src/
H A Dhb-ot-shape.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.hh142 inline bool intersects (const hb_set_t *glyphs) const {
143 return glyphs->intersects (start, end);
147 inline void add_coverage (set_t *glyphs) const {
148 glyphs->add_range (start, end);
641 Supplier<GlyphID> &glyphs,
649 glyphArray[i] = glyphs[i];
650 glyphs.advance (num_glyphs);
659 inline bool intersects_coverage (const hb_set_t *glyphs, unsigned int index) const { argument
660 return glyphs->has (glyphArray[index]);
664 inline void add_coverage (set_t *glyphs) cons
640 serialize(hb_serialize_context_t *c, Supplier<GlyphID> &glyphs, unsigned int num_glyphs) argument
708 serialize(hb_serialize_context_t *c, Supplier<GlyphID> &glyphs, unsigned int num_glyphs) argument
745 intersects_coverage(const hb_set_t *glyphs, unsigned int index) const argument
817 serialize(hb_serialize_context_t *c, Supplier<GlyphID> &glyphs, unsigned int num_glyphs) argument
855 intersects_coverage(const hb_set_t *glyphs, unsigned int index) const argument
952 add_class(set_t *glyphs, unsigned int klass) const argument
959 intersects_class(const hb_set_t *glyphs, unsigned int klass) const argument
1008 add_class(set_t *glyphs, unsigned int klass) const argument
1015 intersects_class(const hb_set_t *glyphs, unsigned int klass) const argument
1069 add_class(hb_set_t *glyphs, unsigned int klass) const argument
1077 intersects_class(const hb_set_t *glyphs, unsigned int klass) const argument
[all...]
/external/harfbuzz_ng/src/
H A Dhb-ot-shape.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.hh142 inline bool intersects (const hb_set_t *glyphs) const {
143 return glyphs->intersects (start, end);
147 inline void add_coverage (set_t *glyphs) const {
148 glyphs->add_range (start, end);
641 Supplier<GlyphID> &glyphs,
649 glyphArray[i] = glyphs[i];
650 glyphs.advance (num_glyphs);
659 inline bool intersects_coverage (const hb_set_t *glyphs, unsigned int index) const { argument
660 return glyphs->has (glyphArray[index]);
664 inline void add_coverage (set_t *glyphs) cons
640 serialize(hb_serialize_context_t *c, Supplier<GlyphID> &glyphs, unsigned int num_glyphs) argument
708 serialize(hb_serialize_context_t *c, Supplier<GlyphID> &glyphs, unsigned int num_glyphs) argument
745 intersects_coverage(const hb_set_t *glyphs, unsigned int index) const argument
817 serialize(hb_serialize_context_t *c, Supplier<GlyphID> &glyphs, unsigned int num_glyphs) argument
855 intersects_coverage(const hb_set_t *glyphs, unsigned int index) const argument
952 add_class(set_t *glyphs, unsigned int klass) const argument
959 intersects_class(const hb_set_t *glyphs, unsigned int klass) const argument
1008 add_class(set_t *glyphs, unsigned int klass) const argument
1015 intersects_class(const hb_set_t *glyphs, unsigned int klass) const argument
1069 add_class(hb_set_t *glyphs, unsigned int klass) const argument
1077 intersects_class(const hb_set_t *glyphs, unsigned int klass) const argument
[all...]
/external/chromium_org/third_party/skia/tests/
H A DFontMgrTest.cpp25 uint16_t glyphs[5]; local
26 sk_bzero(glyphs, sizeof(glyphs));
28 int count = font->textToGlyphs("Hello", 5, kUTF8_SkTextEncoding, glyphs, SK_ARRAY_COUNT(glyphs));
32 REPORTER_ASSERT(reporter, 0 != glyphs[i]);
34 REPORTER_ASSERT(reporter, glyphs[0] != glyphs[1]); // 'h' != 'e'
35 REPORTER_ASSERT(reporter, glyphs[2] == glyphs[
[all...]
/external/skia/tests/
H A DFontMgrTest.cpp25 uint16_t glyphs[5]; local
26 sk_bzero(glyphs, sizeof(glyphs));
28 int count = font->textToGlyphs("Hello", 5, kUTF8_SkTextEncoding, glyphs, SK_ARRAY_COUNT(glyphs));
32 REPORTER_ASSERT(reporter, 0 != glyphs[i]);
34 REPORTER_ASSERT(reporter, glyphs[0] != glyphs[1]); // 'h' != 'e'
35 REPORTER_ASSERT(reporter, glyphs[2] == glyphs[
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
H A DSimpleFontDataCoreText.cpp38 void CGFontGetGlyphsForUnichars(CGFontRef, const UniChar chars[], CGGlyph glyphs[], size_t length);
80 // CoreText doesn't have vertical glyphs of surrogate pair characters.
81 // Therefore, we should not use CoreText, but this always returns horizontal glyphs.
82 // FIXME: We should use vertical glyphs. https://code.google.com/p/chromium/issues/detail?id=340173
104 Vector<CGGlyph, 512> glyphs(bufferLength);
106 CGFontGetGlyphsForUnichars(platformData().cgFont(), buffer, glyphs.data(), bufferLength);
108 if (glyphs[i]) {
109 pageToFill->setGlyphDataForIndex(offset + i, glyphs[i], this);
114 && CTFontGetGlyphsForCharacters(platformData().ctFont(), buffer, glyphs.data(), bufferLength)) {
116 // places the glyphs a
155 const CGGlyph* glyphs = CTRunGetGlyphsPtr(ctRun); local
[all...]
/external/skia/src/core/
H A DSkTypeface.cpp58 uint16_t glyphs[], int glyphCount) const SK_OVERRIDE {
59 if (glyphs && glyphCount > 0) {
60 sk_bzero(glyphs, glyphCount * sizeof(glyphs[0]));
223 uint16_t glyphs[], int glyphCount) const {
228 if (glyphs) {
229 sk_bzero(glyphs, glyphCount * sizeof(glyphs[0]));
233 return this->onCharsToGlyphs(chars, encoding, glyphs, glyphCount);
245 bool SkTypeface::getKerningPairAdjustments(const uint16_t glyphs[], in argument
222 charsToGlyphs(const void* chars, Encoding encoding, uint16_t glyphs[], int glyphCount) const argument
300 onGetKerningPairAdjustments(const uint16_t glyphs[], int count, int32_t adjustments[]) const argument
[all...]

Completed in 2884 milliseconds

123456789