/external/chromium_org/third_party/harfbuzz-ng/src/ |
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);
|
hb-ot-shape-normalize.cc | 180 hb_codepoint_t glyphs[HB_UNICODE_MAX_DECOMPOSITION_LEN]; local 187 if (!c->font->get_glyph (decomposed[i], 0, &glyphs[i])) 191 output_char (c->buffer, decomposed[i], glyphs[i]); 376 * glyphs in most scripts AND a desired feature for Hangul. Apparently Hangul
|
/external/chromium_org/third_party/icu/source/test/letest/ |
letest.h | 38 LEGlyphID *glyphs; member in struct:TestResult
|
/external/chromium_org/third_party/skia/tests/ |
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[3]); // 'l' == 'l [all...] |
/external/harfbuzz_ng/src/ |
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);
|
/external/harfbuzz_ng/util/ |
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
|
helper-cairo.hh | 51 cairo_glyph_t *glyphs; member in struct:helper_cairo_line_t 60 if (glyphs) 61 cairo_glyph_free (glyphs); 69 *x_advance = glyphs[num_glyphs].x; 70 *y_advance = glyphs[num_glyphs].y;
|
/external/icu/icu4c/source/layout/ |
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/icu/icu4c/source/test/letest/ |
letest.h | 38 LEGlyphID *glyphs; member in struct:TestResult
|
/external/skia/tests/ |
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[3]); // 'l' == 'l [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/fonts/ |
GlyphBuffer.h | 53 Glyph* glyphs(unsigned from) { return m_glyphs.data() + from; } function in class:WebCore::GlyphBuffer 55 const Glyph* glyphs(unsigned from) const { return m_glyphs.data() + from; } function in class:WebCore::GlyphBuffer
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/ |
FontMac.cpp | 109 const Glyph* glyphs = glyphBuffer.glyphs(from); local 148 gc->drawPosText(glyphs, numGlyphs * sizeof(Glyph), pos, textRect, paint); 166 gc->drawPosText(glyphs, numGlyphs * sizeof(Glyph), pos, textRect, paint);
|
SimpleFontDataCoreText.cpp | 38 void CGFontGetGlyphsForUnichars(CGFontRef, const UniChar chars[], CGGlyph glyphs[], size_t length); 80 // CoreText doesn't have vertical glyphs of surrogate pair characters. 81 // Therefore, we should not use CoreText, but this always returns horizontal glyphs. 82 // FIXME: We should use vertical glyphs. https://code.google.com/p/chromium/issues/detail?id=340173 104 Vector<CGGlyph, 512> glyphs(bufferLength); 106 CGFontGetGlyphsForUnichars(platformData().cgFont(), buffer, glyphs.data(), bufferLength); 108 if (glyphs[i]) { 109 pageToFill->setGlyphDataForIndex(offset + i, glyphs[i], this); 114 && CTFontGetGlyphsForCharacters(platformData().ctFont(), buffer, glyphs.data(), bufferLength)) { 116 // places the glyphs at indices corresponding to the first character of each pair 155 const CGGlyph* glyphs = CTRunGetGlyphsPtr(ctRun); local [all...] |
/external/chromium_org/third_party/skia/bench/ |
CmapBench.cpp | 35 uint16_t glyphs[NGLYPHS]; local 39 paint.textToGlyphs(text, len, glyphs); 46 uint16_t glyphs[NGLYPHS]; local 51 face->charsToGlyphs(text, encoding, glyphs, glyphCount);
|
FontCacheBench.cpp | 134 int glyphs = 0; variable 139 glyphs += count; 142 SkDebugf("hashBits [%d] limit [%d] collisions [%d / %d = %1.2g%%] using %s\n", hashBits, limit, collisions, glyphs, 143 collisions * 100.0 / glyphs, gRec[i].fName);
|
/external/skia/bench/ |
CmapBench.cpp | 35 uint16_t glyphs[NGLYPHS]; local 39 paint.textToGlyphs(text, len, glyphs); 46 uint16_t glyphs[NGLYPHS]; local 51 face->charsToGlyphs(text, encoding, glyphs, glyphCount);
|
FontCacheBench.cpp | 134 int glyphs = 0; variable 139 glyphs += count; 142 SkDebugf("hashBits [%d] limit [%d] collisions [%d / %d = %1.2g%%] using %s\n", hashBits, limit, collisions, glyphs, 143 collisions * 100.0 / glyphs, gRec[i].fName);
|
/external/chromium_org/ui/gfx/ |
render_text_harfbuzz.h | 32 // Returns whether the given shaped run contains any missing glyphs. 46 scoped_ptr<uint16[]> glyphs; member in struct:gfx::internal::TextRunHarfBuzz 113 // Shape the glyphs needed for the text |run|.
|
render_text_mac.h | 56 std::vector<uint16> glyphs; member in struct:gfx::RenderTextMac::TextRun
|
/external/harfbuzz_ng/test/api/ |
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/perf/leperf/ |
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/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGFontElement.cpp | 71 Vector<SVGGlyph> glyphs; local 81 m_glyphMap.collectGlyphsForString(lookupString, glyphs); 82 if (!glyphs.isEmpty()) { 83 glyphs.clear(); 102 Vector<SVGGlyph> glyphs; local 106 m_glyphMap.collectGlyphsForUnicodeRange(*it, glyphs); 111 m_glyphMap.collectGlyphsForStringExact(*it, glyphs); 118 glyphs.append(glyph); 121 return glyphs; 229 void SVGFontElement::collectGlyphsForString(const String& string, Vector<SVGGlyph>& glyphs) [all...] |
SVGGlyphMap.h | 43 Vector<SVGGlyph> glyphs; member in struct:WebCore::GlyphMapNode 58 // Register glyphs with 'id's in the id glyph map and in the glyph table. 79 node->glyphs.append(glyph); 80 SVGGlyph& lastGlyph = node->glyphs.last(); 107 void collectGlyphsForString(const String& string, Vector<SVGGlyph>& glyphs) 116 collectGlyphsForIterator(textIterator, glyphs); 119 collectGlyphsForIterator(textIterator, glyphs); 122 std::sort(glyphs.begin(), glyphs.end(), compareGlyphPriority); 125 void collectGlyphsForStringExact(const String& string, Vector<SVGGlyph>& glyphs) cons [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/ |
FontHarfBuzz.cpp | 60 const Glyph* glyphs, unsigned numGlyphs, 72 gc->drawPosText(glyphs, numGlyphs * sizeof(Glyph), pos, textRect, paint); 97 gc->drawPosText(glyphs, numGlyphs * sizeof(Glyph), pos, textRect, paint); 128 const Glyph* glyphs = glyphBuffer.glyphs(from + glyphIndex); local 130 verticalData->getVerticalTranslationsForGlyphs(font, &glyphs[0], chunkLength, reinterpret_cast<float*>(&translations[0])); 143 paintGlyphs(gc, font, glyphs, chunkLength, pos, textRect); 163 const Glyph* glyphs = glyphBuffer.glyphs(from); local 164 paintGlyphs(gc, font, glyphs, numGlyphs, pos, textRect) [all...] |
HarfBuzzFaceSkia.cpp | 130 const uint16_t glyphs[2] = { static_cast<uint16_t>(leftGlyph), static_cast<uint16_t>(rightGlyph) }; local 133 if (typeface->getKerningPairAdjustments(glyphs, 2, kerningAdjustments)) { 152 const uint16_t glyphs[2] = { static_cast<uint16_t>(topGlyph), static_cast<uint16_t>(bottomGlyph) }; local 155 if (typeface->getKerningPairAdjustments(glyphs, 2, kerningAdjustments)) {
|