/external/mesa3d/src/gallium/state_trackers/vega/ |
text.c | 38 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/gm/ |
gammatext.cpp | 94 uint16_t glyphs[200]; local 95 int count = paint.textToGlyphs(text, len, glyphs); 97 CGContextShowGlyphsAtPoint(cg, x, y, glyphs, count);
|
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/harfbuzz/ |
HarfBuzzShaper.h | 86 uint16_t* glyphs() { return &m_glyphs[0]; } function in class:WebCore::HarfBuzzShaper::HarfBuzzRun
|
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/skia/ |
SimpleFontDataSkia.cpp | 190 uint16_t glyphs[maxBufferCount]; local 196 int n = SkMin32(length, SK_ARRAY_COUNT(glyphs)); 199 int count = paint.textToGlyphs(characters, n * 2, glyphs); 201 if (!glyphs[i])
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGFontData.cpp | 184 Vector<SVGGlyph> glyphs; local 188 associatedFontElement->collectGlyphsForGlyphName(altGlyphNames[index], glyphs); 191 size_t glyphsSize = glyphs.size(); 193 glyphs[i].unicodeStringLength = run.length(); 195 // Do not check alt glyphs for compatibility. Just return the first one. 198 SVGGlyph& svgGlyph = glyphs[0]; 205 associatedFontElement->collectGlyphsForString(remainingTextInRun, glyphs); 207 size_t glyphsSize = glyphs.size(); 209 SVGGlyph& svgGlyph = glyphs[i]; 245 Vector<SVGGlyph> glyphs; local 269 Vector<SVGGlyph> glyphs; local [all...] |
/external/chromium_org/third_party/harfbuzz-ng/src/ |
hb-coretext.cc | 261 const CGGlyph* glyphs = CTRunGetGlyphsPtr (run); local 262 if (!glyphs) { 265 glyphs = glyph_buf; 292 info->codepoint = glyphs[j]; 318 * if core text has reordered glyphs, we'll merge them to the
|
hb-ot-shape-complex-arabic-fallback.hh | 60 OT::GlyphID glyphs[SHAPING_TABLE_LAST - SHAPING_TABLE_FIRST + 1]; local 77 glyphs[num_glyphs].set (u_glyph); 85 hb_bubble_sort (&glyphs[0], num_glyphs, OT::GlyphID::cmp, &substitutes[0]); 87 OT::Supplier<OT::GlyphID> glyphs_supplier (glyphs, num_glyphs); 122 /* Sort out the first-glyphs */ 136 /* Now that the first-glyphs are sorted, walk again, populate ligatures. */
|
/external/chromium_org/third_party/icu/source/test/letest/ |
cletest.c | 42 LEGlyphID *glyphs = NULL; local 60 glyphs = NEW_ARRAY(LEGlyphID, glyphCount + 10); 71 le_getGlyphs(engine, glyphs, &status); 74 log_err("Calling getGlyphs(glyphs, status) on an empty layout did not return LE_NO_LAYOUT_ERROR.\n"); 121 DELETE_ARRAY(glyphs); 215 LEGlyphID glyphs[6]; local 236 le_getGlyphs(engine, glyphs, &status); 296 if (actual->glyphs[i] != expected->glyphs[i]) { 298 testID, i, expected->glyphs[i], actual->glyphs[i]) [all...] |
gendata.cpp | 164 LEGlyphID *glyphs = NULL; local 259 glyphs = NEW_ARRAY(LEGlyphID, glyphCount); 263 engine->getGlyphs(glyphs, leStatus); 267 dumpLongs(outputFile, "result-glyphs", (le_int32 *) glyphs, glyphCount); 277 DELETE_ARRAY(glyphs);
|
xmlreader.cpp | 149 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/harfbuzz/tests/shaping/ |
main.cpp | 65 static HB_Bool hb_stringToGlyphs(HB_Font font, const HB_UChar16 *string, hb_uint32 length, HB_Glyph *glyphs, hb_uint32 *numGlyphs, HB_Bool /*rightToLeft*/) 73 glyphs[glyph_pos] = FT_Get_Char_Index(face, getChar(string, length, i)); 82 static void hb_getAdvances(HB_Font /*font*/, const HB_Glyph * /*glyphs*/, hb_uint32 numGlyphs, HB_Fixed *advances, int /*flags*/) 207 unsigned short glyphs[16]; member in struct:ShapeTable 257 shaper_item.glyphs = hb_glyphs.data(); 271 const unsigned short *g = s->glyphs; 281 if ((shaper_item.glyphs[i]&0xffffff) != s->glyphs[i]) 300 str += QString("%1 ").arg(shaper_item.glyphs[i], 4, 16);
|
/external/harfbuzz_ng/src/ |
hb-coretext.cc | 261 const CGGlyph* glyphs = CTRunGetGlyphsPtr (run); local 262 if (!glyphs) { 265 glyphs = glyph_buf; 292 info->codepoint = glyphs[j]; 318 * if core text has reordered glyphs, we'll merge them to the
|
hb-ot-shape-complex-arabic-fallback.hh | 60 OT::GlyphID glyphs[SHAPING_TABLE_LAST - SHAPING_TABLE_FIRST + 1]; local 77 glyphs[num_glyphs].set (u_glyph); 85 hb_bubble_sort (&glyphs[0], num_glyphs, OT::GlyphID::cmp, &substitutes[0]); 87 OT::Supplier<OT::GlyphID> glyphs_supplier (glyphs, num_glyphs); 122 /* Sort out the first-glyphs */ 136 /* Now that the first-glyphs are sorted, walk again, populate ligatures. */
|
/external/harfbuzz_ng/test/api/ |
test-buffer.c | 176 hb_glyph_info_t *glyphs; local 185 glyphs = hb_buffer_get_glyph_infos (b, &len2); 190 g_assert_cmphex (glyphs[i].mask, ==, 1); 191 g_assert_cmphex (glyphs[i].var1.u32, ==, 0); 192 g_assert_cmphex (glyphs[i].var2.u32, ==, 0); 204 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[1+i]); 205 g_assert_cmphex (glyphs[i].cluster, ==, cluster); 212 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[len-i]); 216 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[1+i]); 223 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[len-i]) 373 hb_glyph_info_t *glyphs; local 665 hb_glyph_info_t *glyphs; local 722 hb_glyph_info_t *glyphs; local [all...] |
/external/icu4c/samples/layout/ |
paragraph.cpp | 241 const LEGlyphID *glyphs = visualRun->getGlyphs(); local 244 surface->drawGlyphs(font, glyphs, glyphCount, positions, x, y, fWidth, fHeight);
|
pflow.c | 341 const LEGlyphID *glyphs = pl_getVisualRunGlyphs(visualRun); local 344 rs_drawGlyphs(surface, font, glyphs, glyphCount, positions, x, y, obj->fWidth, obj->fHeight);
|
/external/icu4c/test/letest/ |
cletest.c | 42 LEGlyphID *glyphs = NULL; local 60 glyphs = NEW_ARRAY(LEGlyphID, glyphCount + 10); 71 le_getGlyphs(engine, glyphs, &status); 74 log_err("Calling getGlyphs(glyphs, status) on an empty layout did not return LE_NO_LAYOUT_ERROR.\n"); 121 DELETE_ARRAY(glyphs); 215 LEGlyphID glyphs[6]; local 236 le_getGlyphs(engine, glyphs, &status); 296 if (actual->glyphs[i] != expected->glyphs[i]) { 298 testID, i, expected->glyphs[i], actual->glyphs[i]) [all...] |
gendata.cpp | 164 LEGlyphID *glyphs = NULL; local 259 glyphs = NEW_ARRAY(LEGlyphID, glyphCount); 263 engine->getGlyphs(glyphs, leStatus); 267 dumpLongs(outputFile, "result-glyphs", (le_int32 *) glyphs, glyphCount); 277 DELETE_ARRAY(glyphs);
|
xmlreader.cpp | 149 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/pixman/test/ |
glyph-test.c | 221 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/WebKit/Source/core/platform/graphics/mac/ |
ComplexTextController.h | 50 // ComplexTextController is responsible for rendering and measuring glyphs for 56 // Advance and emit glyphs up to the specified character. 96 const CGGlyph* glyphs() const { return m_glyphs; } function in class:WebCore::ComplexTextController::ComplexTextRun
|
/external/chromium_org/third_party/ots/src/ |
cff.cc | 475 size_t glyphs = 0; local 639 if (glyphs) { 642 glyphs = charstring_index->count; 695 for (size_t j = 0; j < glyphs; ++j) { 839 for (unsigned j = 1 /* .notdef is omitted */; j < glyphs; ++j) { 854 while (total < glyphs) {
|
/external/chromium_org/ui/gfx/ |
render_text_linux.cc | 378 // Skia will draw glyphs with respect to the baseline. 385 std::vector<uint16> glyphs; local 407 int glyph_count = run->glyphs->num_glyphs; 419 glyphs.resize(glyph_count); 434 const PangoGlyphInfo& glyph = run->glyphs->glyphs[glyph_index]; 435 glyphs[glyph_index] = static_cast<uint16>(glyph.glyph); 455 &glyphs[style_start_glyph_index], 506 run->glyphs->log_clusters[glyph_index]);
|
/external/harfbuzz_ng/src/hb-old/ |
harfbuzz-shaper.cpp | 46 HB_Glyph *glyphs = item->glyphs; local 50 item->font->klass->getGlyphMetrics(item->font, glyphs[gfrom], &baseMetrics); 78 HB_Glyph mark = glyphs[gfrom+i]; 225 // set the glyph attributes heuristically. Assumes a 1 to 1 relationship between chars and glyphs 359 shaper_item->glyphs, &shaper_item->num_glyphs, 812 HB_Buffer_add_glyph(face->buffer, item->glyphs[i], properties ? properties[i] : 0, i); 822 DEBUG("original glyphs: %p", item->glyphs); 840 DEBUG("shaped glyphs:") 873 HB_Glyph *glyphs = item->glyphs; local [all...] |
/external/icu4c/layoutex/layout/ |
ParagraphLayout.h | 41 * 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 [all...] |