/external/harfbuzz_ng/util/ |
H A D | 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);) 96 hb_set_destroy (glyphs); 97 glyphs = NULL; 106 hb_set_t *glyphs; member in struct:shape_closure_consumer_t
|
H A D | helper-cairo.hh | 50 cairo_glyph_t *glyphs; member in struct:helper_cairo_line_t 59 if (glyphs) 60 cairo_glyph_free (glyphs); 68 *x_advance = glyphs[num_glyphs].x; 69 *y_advance = glyphs[num_glyphs].y;
|
/external/skia/bench/ |
H A D | TextBlobBench.cpp | 33 SkTDArray<uint16_t> glyphs; local 35 glyphs.append(paint.textToGlyphs(text, len, NULL)); 36 paint.textToGlyphs(text, len, glyphs.begin()); 41 const SkTextBlobBuilder::RunBuffer& run = builder.allocRun(paint, glyphs.count(), 10, 10, 43 memcpy(run.glyphs, glyphs.begin(), glyphs.count() * sizeof(uint16_t));
|
/external/icu/icu4c/source/samples/layout/ |
H A D | rsurface.cpp | 16 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 D | RenderingSurface.h | 26 virtual void drawGlyphs(const LEFontInstance *font, const LEGlyphID *glyphs, le_int32 count,
|
H A D | Surface.h | 12 void drawGlyphs(RenderingFontInstance *font, const LEGlyphID *glyphs, le_int32 count, const le_int32 *dx,
|
H A D | rsurface.h | 16 void rs_drawGlyphs(rs_surface *surface, const le_font *font, const LEGlyphID *glyphs, le_int32 count,
|
H A D | Surface.cpp | 15 void GDISurface::drawGlyphs(RenderingFontInstance *font, const LEGlyphID *glyphs, le_int32 count, const le_int32 *dx, argument 28 glyphs, count, (INT *) dx);
|
/external/harfbuzz_ng/test/shaping/ |
H A D | run-tests.sh | 20 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 D | record-test.sh | 12 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/sfntly/cpp/src/sample/subsetter/ |
H A D | subset_util.cc | 67 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 D | hb-ot-shape.h | 44 hb_set_t *glyphs);
|
H A D | test-would-substitute.cc | 100 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 D | hb-ot-layout-common-private.hh | 142 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...] |
H A D | hb-ot-layout-gsub-table.hh | 46 if (c->glyphs->has (glyph_id)) 47 c->glyphs->add ((glyph_id + deltaGlyphID) & 0xFFFFu); 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 305 serialize(hb_serialize_context_t *c, Supplier<GlyphID> &glyphs, unsigned int num_glyphs) argument 369 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 406 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 520 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 557 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 1220 serialize_single(hb_serialize_context_t *c, uint32_t lookup_props, Supplier<GlyphID> &glyphs, Supplier<GlyphID> &substitutes, unsigned int num_glyphs) argument 1231 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 1244 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/skia/tools/ |
H A D | sk_tool_utils.cpp | 84 SkTDArray<uint16_t> glyphs; local 87 glyphs.append(paint.textToGlyphs(text, len, NULL)); 88 paint.textToGlyphs(text, len, glyphs.begin()); 91 const SkTextBlobBuilder::RunBuffer& run = builder->allocRun(paint, glyphs.count(), x, y, 93 memcpy(run.glyphs, glyphs.begin(), glyphs.count() * sizeof(uint16_t));
|
/external/skia/tests/ |
H A D | FontMgrTest.cpp | 25 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/icu/icu4c/source/layout/ |
H A D | 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/skia/src/core/ |
H A D | SkTypeface.cpp | 42 uint16_t glyphs[], int glyphCount) const override { 43 if (glyphs && glyphCount > 0) { 44 sk_bzero(glyphs, glyphCount * sizeof(glyphs[0])); 222 uint16_t glyphs[], int glyphCount) const { 227 if (glyphs) { 228 sk_bzero(glyphs, glyphCount * sizeof(glyphs[0])); 232 return this->onCharsToGlyphs(chars, encoding, glyphs, glyphCount); 244 bool SkTypeface::getKerningPairAdjustments(const uint16_t glyphs[], in argument 221 charsToGlyphs(const void* chars, Encoding encoding, uint16_t glyphs[], int glyphCount) const argument 295 onGetKerningPairAdjustments(const uint16_t glyphs[], int count, int32_t adjustments[]) const argument [all...] |
/external/fonttools/Lib/fontTools/ |
H A D | subset.py | 46 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 D | subset.py | 46 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/harfbuzz_ng/test/api/ |
H A D | test-shape.c | 92 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);
|
/external/icu/icu4c/source/test/letest/ |
H A D | letest.h | 43 LEGlyphID *glyphs; member in struct:TestResult
|
/external/icu/icu4c/source/test/perf/leperf/ |
H A D | leperf.cpp | 37 LEGlyphID *glyphs = NULL; local 43 glyphs = LE_NEW_ARRAY(LEGlyphID, glyphCount + 10); 46 engine->getGlyphs(glyphs, status); 50 delete glyphs; 112 u_printf("leperf: glyphs=%d\n", p.glyphCount);
|
/external/sfntly/cpp/src/sfntly/tools/subsetter/ |
H A D | subsetter.h | 34 virtual void SetGlyphs(IntegerList* glyphs);
|