Searched refs:glyphs (Results 51 - 75 of 207) sorted by relevance

123456789

/external/chromium_org/third_party/skia/tools/lua/
H A Dchars-vs-glyphs.lua23 if t.glyphs then
H A Dglyph-counts.lua50 local gCounts = {} -- [fontID_pointsize] = [] unique glyphs
65 if t.glyphs then
66 local key = array_count(t.glyphs)
75 local first = t.glyphs[1];
H A Dglyph-usage.lua64 local strikes = {} -- [fontID_pointsize] = [] unique glyphs
99 if t.glyphs then
102 array_union(strikes[key], t.glyphs)
105 dump_array_as_C(t.glyphs)
138 io.write("\n", "unique glyphs: min = ", min, ", max = ", max, ", ave = ", ave, "\n");
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dtext.c38 struct cso_hash *glyphs; member in struct:vg_font
54 cso_hash_take(font->glyphs, (unsigned) glyphIndex);
79 cso_hash_insert(font->glyphs, (unsigned) glyphIndex, glyph);
87 iter = cso_hash_find(font->glyphs, (unsigned) glyphIndex);
139 font->glyphs = cso_hash_create();
153 iter = cso_hash_first_node(font->glyphs);
159 cso_hash_delete(font->glyphs);
246 return cso_hash_size(font->glyphs);
/external/skia/src/ports/
H A DSkFontHost_FreeType_common.h61 virtual bool onGetKerningPairAdjustments(const uint16_t glyphs[], int count,
63 virtual int onCharsToGlyphs(const void* chars, Encoding, uint16_t glyphs[],
/external/skia/tools/lua/
H A Dchars-vs-glyphs.lua23 if t.glyphs then
H A Dglyph-usage.lua64 local strikes = {} -- [fontID_pointsize] = [] unique glyphs
99 if t.glyphs then
102 array_union(strikes[key], t.glyphs)
105 dump_array_as_C(t.glyphs)
138 io.write("\n", "unique glyphs: min = ", min, ", max = ", max, ", ave = ", ave, "\n");
/external/harfbuzz_ng/util/
H A Dview-cairo.cc103 cairo_move_to (cr, l.glyphs[i].x, l.glyphs[i].y);
113 cairo_glyph_path (cr, l.glyphs, l.num_glyphs);
118 l.glyphs, l.num_glyphs,
122 cairo_show_glyphs (cr, l.glyphs, l.num_glyphs);
/external/chromium_org/third_party/skia/gm/
H A Dtypeface.cpp77 static void getGlyphPositions(const SkPaint& paint, const uint16_t glyphs[], argument
83 paint.getTextWidths(glyphs, count * sizeof(uint16_t), widths);
111 uint16_t* glyphs = glyphStorage.get(); local
112 int glyphCount = paint.textToGlyphs(text, len, glyphs);
119 if (!face->getKerningPairAdjustments(glyphs, glyphCount, adjustments)) {
129 getGlyphPositions(glyphPaint, glyphs, glyphCount, x, y, pos);
132 canvas->drawPosText(glyphs, glyphCount * sizeof(uint16_t), pos, glyphPaint);
/external/skia/gm/
H A Dtypeface.cpp77 static void getGlyphPositions(const SkPaint& paint, const uint16_t glyphs[], argument
83 paint.getTextWidths(glyphs, count * sizeof(uint16_t), widths);
111 uint16_t* glyphs = glyphStorage.get(); local
112 int glyphCount = paint.textToGlyphs(text, len, glyphs);
119 if (!face->getKerningPairAdjustments(glyphs, glyphCount, adjustments)) {
129 getGlyphPositions(glyphPaint, glyphs, glyphCount, x, y, pos);
132 canvas->drawPosText(glyphs, glyphCount * sizeof(uint16_t), pos, glyphPaint);
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
H A DGlyphBufferTest.cpp18 // Font has no glyphs, but that's okay.
59 const Glyph* glyphs = glyphBuffer.glyphs(0); local
60 EXPECT_EQ(42, glyphs[0]);
61 EXPECT_EQ(43, glyphs[1]);
62 EXPECT_EQ(44, glyphs[2]);
119 const Glyph* glyphs = glyphBuffer.glyphs(1); local
120 EXPECT_EQ(43, glyphs[0]);
121 EXPECT_EQ(44, glyphs[
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
H A DFontMac.cpp104 const Glyph* glyphs = glyphBuffer.glyphs(from); local
146 gc->drawPosText(glyphs, numGlyphs * sizeof(Glyph), pos, textRect, paint);
164 gc->drawPosText(glyphs, numGlyphs * sizeof(Glyph), pos, textRect, paint);
/external/chromium_org/third_party/icu/source/samples/layout/
H A DGnomeFontInstance.cpp41 void GnomeSurface::drawGlyphs(const LEFontInstance *font, const LEGlyphID *glyphs, le_int32 count, argument
46 gFont->rasterizeGlyphs(fCairo, glyphs, count, positions, x, y);
178 void GnomeFontInstance::rasterizeGlyphs(cairo_t *cairo, const LEGlyphID *glyphs, le_int32 glyphCount, const float *positions, argument
185 TTGlyphID glyph = LE_GET_GLYPH(glyphs[in]);
/external/chromium_org/third_party/skia/include/core/
H A DSkTypeface.h145 * optionally return their corresponding glyph IDs (if glyphs is not NULL).
149 * @param glyphs (optional) returns the corresponding glyph IDs for each
152 * @param glyphCount number of code points in 'chars' to process. If glyphs
157 * glyphs parameter is NULL.
159 int charsToGlyphs(const void* chars, Encoding encoding, uint16_t glyphs[],
163 * Return the number of glyphs in the typeface.
214 * Given a run of glyphs, return the associated horizontal adjustments.
225 * If count is non-zero, then the glyphs parameter must point to at least
233 bool getKerningPairAdjustments(const uint16_t glyphs[], int count,
307 virtual int onCharsToGlyphs(const void* chars, Encoding, uint16_t glyphs[],
[all...]
/external/chromium_org/third_party/skia/src/core/
H A DSkFont.cpp62 uint16_t glyphs[], int maxGlyphCount) const {
85 if (NULL == glyphs) {
104 memcpy(glyphs, text, count << 1);
108 (void)fTypeface->charsToGlyphs(text, typeface_encoding, glyphs, count);
61 textToGlyphs(const void* text, size_t byteLength, SkTextEncoding encoding, uint16_t glyphs[], int maxGlyphCount) const argument
/external/icu/icu4c/source/samples/layout/
H A DGnomeFontInstance.cpp41 void GnomeSurface::drawGlyphs(const LEFontInstance *font, const LEGlyphID *glyphs, le_int32 count, argument
46 gFont->rasterizeGlyphs(fCairo, glyphs, count, positions, x, y);
178 void GnomeFontInstance::rasterizeGlyphs(cairo_t *cairo, const LEGlyphID *glyphs, le_int32 glyphCount, const float *positions, argument
185 TTGlyphID glyph = LE_GET_GLYPH(glyphs[in]);
/external/skia/include/core/
H A DSkTypeface.h145 * optionally return their corresponding glyph IDs (if glyphs is not NULL).
149 * @param glyphs (optional) returns the corresponding glyph IDs for each
152 * @param glyphCount number of code points in 'chars' to process. If glyphs
157 * glyphs parameter is NULL.
159 int charsToGlyphs(const void* chars, Encoding encoding, uint16_t glyphs[],
163 * Return the number of glyphs in the typeface.
214 * Given a run of glyphs, return the associated horizontal adjustments.
225 * If count is non-zero, then the glyphs parameter must point to at least
233 bool getKerningPairAdjustments(const uint16_t glyphs[], int count,
307 virtual int onCharsToGlyphs(const void* chars, Encoding, uint16_t glyphs[],
[all...]
/external/skia/src/core/
H A DSkFont.cpp62 uint16_t glyphs[], int maxGlyphCount) const {
85 if (NULL == glyphs) {
104 memcpy(glyphs, text, count << 1);
108 (void)fTypeface->charsToGlyphs(text, typeface_encoding, glyphs, count);
61 textToGlyphs(const void* text, size_t byteLength, SkTextEncoding encoding, uint16_t glyphs[], int maxGlyphCount) const argument
/external/chromium_org/third_party/skia/src/ports/
H A DSkFontHost_FreeType_common.h67 virtual bool onGetKerningPairAdjustments(const uint16_t glyphs[], int count,
69 virtual int onCharsToGlyphs(const void* chars, Encoding, uint16_t glyphs[],
/external/fonttools/Lib/fontTools/ttLib/tables/
H A DotTables.py41 # TODO only allow glyphs that are valid?
42 self.glyphs = rawTable["GlyphArray"]
44 glyphs = self.glyphs = []
56 assert r.StartCoverageIndex == len(glyphs), \
57 (r.StartCoverageIndex, len(glyphs))
74 glyphs.extend(glyphOrder[glyphID] for glyphID in range(startID, endID))
80 glyphs = getattr(self, "glyphs", None)
81 if glyphs i
[all...]
/external/fonttools/Tools/fontTools/ttLib/tables/
H A DotTables.py41 # TODO only allow glyphs that are valid?
42 self.glyphs = rawTable["GlyphArray"]
44 glyphs = self.glyphs = []
56 assert r.StartCoverageIndex == len(glyphs), \
57 (r.StartCoverageIndex, len(glyphs))
74 glyphs.extend(glyphOrder[glyphID] for glyphID in range(startID, endID))
80 glyphs = getattr(self, "glyphs", None)
81 if glyphs i
[all...]
/external/pixman/test/
H A Dglyph-test.c221 pixman_glyph_t glyphs[4 * MAX_GLYPHS]; local
260 glyphs[i].glyph = glyph;
261 glyphs[i].x = prng_rand_n (128);
262 glyphs[i].y = prng_rand_n (128);
285 cache, 4 * n_glyphs, glyphs);
299 cache, 4 * n_glyphs, glyphs);
/external/chromium_org/third_party/icu/source/test/letest/
H A Dxmlreader.cpp149 UnicodeString result_glyphs = UNICODE_STRING_SIMPLE("result-glyphs");
180 UnicodeString text, glyphs, indices, positions; local
212 glyphs = element->getText(TRUE);
226 expected.glyphs = (LEGlyphID *) getHexArray(glyphs, glyphCount);
243 DELETE_ARRAY(expected.glyphs);
/external/chromium_org/third_party/icu/source/test/perf/leperf/
H A Dxmlreader.cpp149 UnicodeString result_glyphs = UNICODE_STRING_SIMPLE("result-glyphs");
180 UnicodeString text, glyphs, indices, positions; local
212 glyphs = element->getText(TRUE);
226 expected.glyphs = (LEGlyphID *) getHexArray(glyphs, glyphCount);
243 DELETE_ARRAY(expected.glyphs);
/external/icu/icu4c/source/layoutex/layout/
H A DParagraphLayout.h41 * Clients can use this to break a paragraph into lines, and to display the glyphs in each line.
180 const LEGlyphID glyphs[], const float positions[], const le_int32 glyphToCharMap[]);
226 * Get the number of glyphs in the visual run.
228 * @return the number of glyphs.
235 * Get the glyphs in the visual run. Glyphs with the values <code>0xFFFE</code> and
238 * @return the address of the array of glyphs for this visual run. The storage
247 * Get the (x, y) positions of the glyphs in the visual run. To simplify storage
341 const LEGlyphID glyphs[], const float positions[], const le_int32 glyphToCharMap[]);
412 * just mapping the characters to glyphs and rendering them in order)
562 LEGlyphID *glyphs; member in struct:ParagraphLayout::StyleRunInfo
730 VisualRun(const LEFontInstance *font, UBiDiDirection direction, le_int32 glyphCount, const LEGlyphID glyphs[], const float positions[], const le_int32 glyphToCharMap[]) argument
[all...]

Completed in 643 milliseconds

123456789