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

123456

/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.hh54 cairo_glyph_t *glyphs; member in struct:helper_cairo_line_t
63 if (glyphs)
64 cairo_glyph_free (glyphs);
72 *x_advance = glyphs[num_glyphs].x;
73 *y_advance = glyphs[num_glyphs].y;
/external/skia/bench/
H A DTextBlobBench.cpp35 SkTDArray<uint16_t> glyphs; variable
37 glyphs.append(paint.textToGlyphs(text, len, nullptr));
38 paint.textToGlyphs(text, len, glyphs.begin());
43 const SkTextBlobBuilder::RunBuffer& run = builder.allocRun(paint, glyphs.count(), 10, 10,
45 memcpy(run.glyphs, glyphs.begin(), glyphs.count() * sizeof(uint16_t));
H A DCmapBench.cpp35 uint16_t glyphs[NGLYPHS]; local
39 paint.textToGlyphs(text, len, glyphs);
46 uint16_t glyphs[NGLYPHS]; local
51 face->charsToGlyphs(text, encoding, glyphs, glyphCount);
/external/harfbuzz_ng/test/shaping/
H A Drun-tests.sh29 glyphs=`$srcdir/hb-unicode-encode "$unicodes" | $hb_shape $options "$srcdir/$fontfile"`
36 echo "$fontfile:$options:$unicodes:$glyphs"
39 if ! test "x$glyphs" = "x$glyphs_expected"; then
40 echo "Actual: $glyphs" >&2
H A Drecord-test.sh39 glyphs=`echo "$text" | $hb_shape $options "$fontfile"`
56 # Verify that subset font produces same glyphs!
59 if ! test "x$glyphs" = "x$glyphs_subset"; then
60 echo "Subset font produced different glyphs!" >&2
67 echo "$glyphs"
74 glyphs=$glyphs_subset
85 echo "$glyphs" > "$glyphs_file"
/external/icu/icu4c/source/samples/layout/
H A Drsurface.cpp19 void rs_drawGlyphs(rs_surface *surface, const le_font *font, const LEGlyphID *glyphs, le_int32 count, argument
24 rs->drawGlyphs((const LEFontInstance *) font, glyphs, count, positions, x, y, width, height);
H A DRenderingSurface.h32 virtual void drawGlyphs(const LEFontInstance *font, const LEGlyphID *glyphs, le_int32 count,
H A DSurface.h15 void drawGlyphs(RenderingFontInstance *font, const LEGlyphID *glyphs, le_int32 count, const le_int32 *dx,
H A Drsurface.h19 void rs_drawGlyphs(rs_surface *surface, const le_font *font, const LEGlyphID *glyphs, le_int32 count,
H A DSurface.cpp18 void GDISurface::drawGlyphs(RenderingFontInstance *font, const LEGlyphID *glyphs, le_int32 count, const le_int32 *dx, argument
31 glyphs, count, (INT *) dx);
/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/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.hh157 inline bool intersects (const hb_set_t *glyphs) const {
158 return glyphs->intersects (start, end);
162 inline void add_coverage (set_t *glyphs) const {
163 glyphs->add_range (start, end);
698 Supplier<GlyphID> &glyphs,
706 glyphArray[i] = glyphs[i];
707 glyphs.advance (num_glyphs);
717 inline bool intersects_coverage (const hb_set_t *glyphs, unsigned int index) const { argument
718 return glyphs->has (glyphArray[index]);
722 inline void add_coverage (set_t *glyphs) cons
697 serialize(hb_serialize_context_t *c, Supplier<GlyphID> &glyphs, unsigned int num_glyphs) argument
766 serialize(hb_serialize_context_t *c, Supplier<GlyphID> &glyphs, unsigned int num_glyphs) argument
808 intersects_coverage(const hb_set_t *glyphs, unsigned int index) const argument
887 serialize(hb_serialize_context_t *c, Supplier<GlyphID> &glyphs, unsigned int num_glyphs) argument
926 intersects_coverage(const hb_set_t *glyphs, unsigned int index) const argument
1025 add_class(set_t *glyphs, unsigned int klass) const argument
1032 intersects_class(const hb_set_t *glyphs, unsigned int klass) const argument
1082 add_class(set_t *glyphs, unsigned int klass) const argument
1089 intersects_class(const hb_set_t *glyphs, unsigned int klass) const argument
1144 add_class(hb_set_t *glyphs, unsigned int klass) const argument
1152 intersects_class(const hb_set_t *glyphs, unsigned int klass) const argument
[all...]
H A Dhb-ot-layout-gsub-table.hh49 if (c->glyphs->has (glyph_id))
50 c->glyphs->add ((glyph_id + deltaGlyphID) & 0xFFFFu);
76 return_trace (c->len == 1 && (this+coverage).get_coverage (c->glyphs[0]) != NOT_COVERED);
95 Supplier<GlyphID> &glyphs,
101 if (unlikely (!coverage.serialize (c, this).serialize (c, glyphs, num_glyphs))) return_trace (false);
134 if (c->glyphs->has (iter.get_glyph ()))
135 c->glyphs->add (substitute[iter.get_coverage ()]);
161 return_trace (c->len == 1 && (this+coverage).get_coverage (c->glyphs[0]) != NOT_COVERED);
180 Supplier<GlyphID> &glyphs,
187 if (unlikely (!coverage.serialize (c, this).serialize (c, glyphs, num_glyph
94 serialize(hb_serialize_context_t *c, Supplier<GlyphID> &glyphs, unsigned int num_glyphs, int delta) argument
179 serialize(hb_serialize_context_t *c, Supplier<GlyphID> &glyphs, Supplier<GlyphID> &substitutes, unsigned int num_glyphs) argument
211 serialize(hb_serialize_context_t *c, Supplier<GlyphID> &glyphs, Supplier<GlyphID> &substitutes, unsigned int num_glyphs) argument
309 serialize(hb_serialize_context_t *c, Supplier<GlyphID> &glyphs, unsigned int num_glyphs) argument
378 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
416 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
530 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
568 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
1201 serialize_single(hb_serialize_context_t *c, uint32_t lookup_props, Supplier<GlyphID> &glyphs, Supplier<GlyphID> &substitutes, unsigned int num_glyphs) argument
1212 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
1228 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/test/api/
H A Dtest-shape.c92 hb_glyph_info_t *glyphs; local
116 glyphs = hb_buffer_get_glyph_infos (buffer, NULL);
126 g_assert_cmphex (glyphs[i].codepoint, ==, output_glyphs[i]);
127 g_assert_cmphex (glyphs[i].cluster, ==, i);
148 hb_glyph_info_t *glyphs; local
165 glyphs = hb_buffer_get_glyph_infos (buffer, NULL);
173 g_assert_cmphex (glyphs[i].codepoint, ==, output_glyphs[i]);
174 g_assert_cmphex (glyphs[i].cluster, ==, output_clusters[i]);
/external/ltp/tools/top-LTP/proc/
H A Descape.c146 const proc_t * restrict const pp, int bytes, int glyphs,
152 if (bytes > glyphs + 1)
153 bytes = glyphs + 1; // FIXME: assumes 8-bit locale
180 glyphs - overhead + 1);
192 return end; // bytes or glyphs, not including the NUL
145 escape_command(char *restrict const outbuf, const proc_t * restrict const pp, int bytes, int glyphs, unsigned flags) argument
H A Descape.h20 extern int escape_command(char *restrict const outbuf, const proc_t *restrict const pp, int bytes, int glyphs, unsigned flags);
/external/skia/src/core/
H A DSkTextBlobRunIterator.h26 const uint16_t* glyphs() const;
/external/fonttools/Lib/fontTools/
H A Dsubset.py46 def intersect(self, glyphs):
48 return [i for i,g in enumerate(self.glyphs) if g in glyphs]
51 def intersect_glyphs(self, glyphs):
52 "Returns set of intersecting glyphs."
53 return set(g for g in self.glyphs if g in glyphs)
56 def subset(self, glyphs):
58 indices = self.intersect(glyphs)
59 self.glyphs
2096 def glyphs(self, glyphs, font=None): member in class:Logger
[all...]
/external/fonttools/Tools/fontTools/
H A Dsubset.py46 def intersect(self, glyphs):
48 return [i for i,g in enumerate(self.glyphs) if g in glyphs]
51 def intersect_glyphs(self, glyphs):
52 "Returns set of intersecting glyphs."
53 return set(g for g in self.glyphs if g in glyphs)
56 def subset(self, glyphs):
58 indices = self.intersect(glyphs)
59 self.glyphs
2096 def glyphs(self, glyphs, font=None): member in class:Logger
[all...]
/external/icu/icu4c/source/test/letest/
H A Dletest.h45 LEGlyphID *glyphs; member in struct:TestResult
/external/icu/icu4c/source/test/perf/leperf/
H A Dleperf.cpp43 LEGlyphID *glyphs = NULL; local
49 glyphs = LE_NEW_ARRAY(LEGlyphID, glyphCount + 10);
52 engine->getGlyphs(glyphs, status);
56 delete glyphs;
118 u_printf("leperf: glyphs=%d\n", p.glyphCount);
/external/sfntly/cpp/src/sfntly/tools/subsetter/
H A Dsubsetter.h34 virtual void SetGlyphs(IntegerList* glyphs);

Completed in 491 milliseconds

123456