/external/harfbuzz_ng/src/ |
hb-subset-input.hh | 42 hb_set_t *glyphs; member in struct:hb_subset_input_t
|
test-would-substitute.cc | 58 hb_codepoint_t glyphs[2]; local 59 if (!hb_font_glyph_from_string (font, argv[3], -1, &glyphs[0]) || 61 !hb_font_glyph_from_string (font, argv[4], -1, &glyphs[1]))) 63 return !hb_ot_layout_lookup_would_substitute (face, strtol (argv[2], nullptr, 0), glyphs, len, false);
|
hb-subset-plan.cc | 85 _remove_invalid_gids (hb_set_t *glyphs, 89 while (glyphs->next (&gid)) 92 glyphs->del (gid); 102 hb_vector_t<hb_codepoint_t> *glyphs) 129 // Add all glyphs needed for GSUB substitutions. 132 // Populate a full set of glyphs to retain by adding all referenced 133 // composite glyphs. 146 glyphs->alloc (all_gids_to_retain->get_population ()); 149 glyphs->push (gid); 159 _create_old_gid_to_new_gid_map (const hb_vector_t<hb_codepoint_t> &glyphs, [all...] |
hb-ot-layout-common.hh | 169 bool intersects (const hb_set_t *glyphs) const 170 { return glyphs->intersects (start, end); } 173 bool add_coverage (set_t *glyphs) const 174 { return glyphs->add_range (start, end); } 830 hb_array_t<const GlyphID> glyphs) 833 return_trace (glyphArray.serialize (c, glyphs)); 842 bool intersects (const hb_set_t *glyphs) const 847 if (glyphs->has (glyphArray[i])) 851 bool intersects_coverage (const hb_set_t *glyphs, unsigned int index) const 852 { return glyphs->has (glyphArray[index]); 1227 hb_vector_t<GlyphID> glyphs; local 1374 hb_vector_t<GlyphID> glyphs; local [all...] |
hb-ot-shape.h | 44 hb_set_t *glyphs);
|
/external/harfbuzz_ng/util/ |
hb-ot-shape-closure.cc | 59 glyphs = hb_set_create (); 69 hb_set_clear (glyphs); 70 shaper.shape_closure (text, text_len, font, buffer, glyphs); 72 if (hb_set_is_empty (glyphs)) 77 for (hb_codepoint_t i = -1; hb_set_next (glyphs, &i);) 97 hb_set_destroy (glyphs); 98 glyphs = nullptr; 109 hb_set_t *glyphs; member in struct:shape_closure_consumer_t
|
helper-cairo.hh | 55 cairo_glyph_t *glyphs; member in struct:helper_cairo_line_t 64 if (glyphs) 65 cairo_glyph_free (glyphs); 73 *x_advance = glyphs[num_glyphs].x; 74 *y_advance = glyphs[num_glyphs].y;
|
/external/icu/icu4c/source/samples/layout/ |
rsurface.cpp | 19 void rs_drawGlyphs(rs_surface *surface, const le_font *font, const LEGlyphID *glyphs, le_int32 count, 24 rs->drawGlyphs((const LEFontInstance *) font, glyphs, count, positions, x, y, width, height);
|
RenderingSurface.h | 32 virtual void drawGlyphs(const LEFontInstance *font, const LEGlyphID *glyphs, le_int32 count,
|
Surface.h | 15 void drawGlyphs(RenderingFontInstance *font, const LEGlyphID *glyphs, le_int32 count, const le_int32 *dx,
|
rsurface.h | 19 void rs_drawGlyphs(rs_surface *surface, const le_font *font, const LEGlyphID *glyphs, le_int32 count,
|
/external/fonttools/Tests/ttLib/tables/ |
_m_o_r_t_test.py | 95 glyphs = ['.notdef'] + ['g.%d' % i for i in range (1, 140)] 96 glyphs[11], glyphs[13] = 'parenleft', 'parenright' 97 glyphs[135], glyphs[136] = 'parenleft.vertical', 'parenright.vertical' 98 cls.font = FakeFont(glyphs)
|
/external/skia/include/core/ |
SkFont.h | 84 /** If true, instructs the font manager to always hint glyphs. 87 @return true if all glyphs are hinted 91 /** Returns true if font engine may return glyphs from font bitmaps instead of from outlines. 93 @return true if glyphs may be font bitmaps 97 /** Returns true if glyphs at different sub-pixel positions may differ on pixel edge coverage. 116 /** Sets whether to always hint glyphs. 117 If forceAutoHinting is set, instructs the font manager to always hint glyphs. 121 @param forceAutoHinting setting to always hint glyphs 131 /** Requests, but does not require, that glyphs respect sub-pixel positioning. 137 /** Requests, but does not require, that glyphs are converted to SkPat [all...] |
/external/skqp/include/core/ |
SkFont.h | 84 /** If true, instructs the font manager to always hint glyphs. 87 @return true if all glyphs are hinted 91 /** Returns true if font engine may return glyphs from font bitmaps instead of from outlines. 93 @return true if glyphs may be font bitmaps 97 /** Returns true if glyphs at different sub-pixel positions may differ on pixel edge coverage. 116 /** Sets whether to always hint glyphs. 117 If forceAutoHinting is set, instructs the font manager to always hint glyphs. 121 @param forceAutoHinting setting to always hint glyphs 131 /** Requests, but does not require, that glyphs respect sub-pixel positioning. 137 /** Requests, but does not require, that glyphs are converted to SkPat [all...] |
/external/sfntly/cpp/src/sample/subsetter/ |
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/skia/gm/ |
texteffects.cpp | 46 SkAutoTArray<SkGlyphID> glyphs(glyphCount); 47 font.textToGlyphs(text, textLen, kUTF8_SkTextEncoding, glyphs.get(), glyphCount); 49 font.getWidths(glyphs.get(), glyphCount, widths.get()); 61 memcpy(buf.glyphs, glyphs.get(), SkTo<uint32_t>(defaultRunLen) * sizeof(SkGlyphID)); 74 memcpy(buf.glyphs, glyphs.get() + glyphIndex, 86 memcpy(buf.glyphs, glyphs.get() + glyphIndex, 143 static sk_sp<SkTextBlob> make_text(const SkFont& font, const SkGlyphID glyphs[], int count) [all...] |
/external/skqp/gm/ |
texteffects.cpp | 46 SkAutoTArray<SkGlyphID> glyphs(glyphCount); 47 font.textToGlyphs(text, textLen, kUTF8_SkTextEncoding, glyphs.get(), glyphCount); 49 font.getWidths(glyphs.get(), glyphCount, widths.get()); 61 memcpy(buf.glyphs, glyphs.get(), SkTo<uint32_t>(defaultRunLen) * sizeof(SkGlyphID)); 74 memcpy(buf.glyphs, glyphs.get() + glyphIndex, 86 memcpy(buf.glyphs, glyphs.get() + glyphIndex, 143 static sk_sp<SkTextBlob> make_text(const SkFont& font, const SkGlyphID glyphs[], int count) [all...] |
/external/skia/tools/fonts/ |
SkTestEmptyTypeface.h | 33 uint16_t glyphs[], int glyphCount) const override { 34 if (glyphs && glyphCount > 0) { 35 sk_bzero(glyphs, glyphCount * sizeof(glyphs[0]));
|
/external/skqp/modules/skshaper/src/ |
SkShaper.cpp | 18 return { runBuffer.glyphs,
|
/external/skqp/tools/fonts/ |
SkTestEmptyTypeface.h | 33 uint16_t glyphs[], int glyphCount) const override { 34 if (glyphs && glyphCount > 0) { 35 sk_bzero(glyphs, glyphCount * sizeof(glyphs[0]));
|
/external/harfbuzz_ng/test/shaping/data/text-rendering-tests/ |
extract-tests.py | 20 def glyphstr(glyphs): 22 for glyphname,x,y in glyphs: 38 glyphs = [] variable 45 glyphs.append((glyphname, x, y)) 49 print ("../fonts/%s:%s:%s:%s" % (font, opts, unistr(text), glyphstr(glyphs)))
|
/external/wayland/cursor/ |
convert_font.c | 58 struct glyph *glyphs; member in struct:__anon49376 137 extracted_font.glyphs = calloc(count, sizeof(struct glyph)); 141 struct glyph *glyph = &extracted_font.glyphs[i]; 196 extracted_font.glyphs[i].name = calloc(1, end - start + 1); 197 memcpy(extracted_font.glyphs[i].name, name, end - start); 223 struct glyph *glyph = &extracted_font.glyphs[i]; 370 write_output_file(struct reconstructed_glyph *glyphs, int n) 382 data = data_buffer.data + glyphs[i].offset; 383 size = glyphs[i].width * glyphs[i].height 437 struct reconstructed_glyph *glyphs = local 499 struct reconstructed_glyph *glyphs = local [all...] |
/external/fonttools/Lib/fontTools/pens/ |
statisticsPen.py | 73 def _test(glyphset, upem, glyphs): 79 for glyph_name in glyphs: 93 filename, glyphs = args[0], args[1:] 94 if not glyphs: 95 glyphs = ['e', 'o', 'I', 'slash', 'E', 'zero', 'eight', 'minus', 'equal'] 98 _test(font.getGlyphSet(), font['head'].unitsPerEm, glyphs)
|
/external/skia/tests/ |
GlyphRunTest.cpp | 17 SkGlyphID glyphs[] = {100, 3, 240, 3, 234}; local 18 auto glyphIDs = SkSpan<const SkGlyphID>(glyphs, SK_ARRAY_COUNT(glyphs)); 20 SkGlyphID uniqueGlyphs[SK_ARRAY_COUNT(glyphs)]; 21 uint16_t denseIndices[SK_ARRAY_COUNT(glyphs)]; 63 runBuffer.glyphs[i] = static_cast<SkGlyphID>(i + runNum * count);
|
/external/skqp/tests/ |
GlyphRunTest.cpp | 17 SkGlyphID glyphs[] = {100, 3, 240, 3, 234}; local 18 auto glyphIDs = SkSpan<const SkGlyphID>(glyphs, SK_ARRAY_COUNT(glyphs)); 20 SkGlyphID uniqueGlyphs[SK_ARRAY_COUNT(glyphs)]; 21 uint16_t denseIndices[SK_ARRAY_COUNT(glyphs)]; 63 runBuffer.glyphs[i] = static_cast<SkGlyphID>(i + runNum * count);
|