Searched refs:glyphs (Results 101 - 125 of 190) sorted by relevance

12345678

/external/chromium_org/ui/gfx/
H A Drender_text_mac.h56 std::vector<uint16> glyphs; member in struct:gfx::RenderTextMac::TextRun
H A Drender_text_harfbuzz.h32 // 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|.
H A Drender_text_win.h43 scoped_ptr<WORD[]> glyphs; member in struct:gfx::internal::TextRun
102 // Returns the number of characters in |run| that have missing glyphs.
/external/skia/include/core/
H A DSkFont.h93 * glyphs as well. If no hinting was applied, the metrics will just be rounded to the
96 * This applies to calls that return metrics (e.g. measureText) and to drawing the glyphs
138 uint16_t glyphs[], int maxGlyphCount) const;
/external/chromium_org/third_party/skia/gm/
H A Dgammatext.cpp94 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/skia/third_party/harfbuzz/src/
H A Dharfbuzz-hangul.c176 item->glyphs, &item->num_glyphs,
246 syllable.glyphs = item->glyphs + first_glyph;
H A Dharfbuzz-tibetan.c128 item->glyphs, &item->num_glyphs,
231 syllable.glyphs = item->glyphs + first_glyph;
H A Dharfbuzz-shaper.cpp248 HB_Glyph *glyphs = item->glyphs; local
252 item->font->klass->getGlyphMetrics(item->font, glyphs[gfrom], &baseMetrics);
279 HB_Glyph mark = glyphs[gfrom+i];
426 // set the glyph attributes heuristically. Assumes a 1 to 1 relationship between chars and glyphs
559 shaper_item->glyphs, &shaper_item->num_glyphs,
1154 hb_buffer_add_glyph(face->buffer, item->glyphs[i], properties ? properties[i] : 0, i);
1164 DEBUG("original glyphs: %p", item->glyphs);
1182 DEBUG("shaped glyphs
1235 HB_Glyph *glyphs = item->glyphs; local
[all...]
H A Dharfbuzz-khmer.c542 item->glyphs, &item->num_glyphs,
618 syllable.glyphs = item->glyphs + first_glyph;
624 KHDEBUG("syllable shaping failed, syllable requests %d glyphs", syllable.num_glyphs);
631 KHDEBUG(" %d -> glyph %x", i, item->glyphs[i]);
H A Dharfbuzz-myanmar.c410 item->glyphs, &item->num_glyphs,
489 syllable.glyphs = item->glyphs + first_glyph;
495 MMDEBUG("syllable shaping failed, syllable requests %d glyphs", syllable.num_glyphs);
503 MMDEBUG(" %d -> glyph %x", i, item->glyphs[i]);
/external/icu/icu4c/source/layoutex/
H A DParagraphLayout.cpp396 fStyleRunInfo[run].glyphs = NULL;
454 fStyleRunInfo[run].glyphs = LE_NEW_ARRAY(LEGlyphID, glyphCount);
456 if ((fStyleRunInfo[run].glyphs == NULL) ||
462 engine->getGlyphs(fStyleRunInfo[run].glyphs, layoutStatus);
593 LE_DELETE_ARRAY(fStyleRunInfo[run].glyphs);
596 fStyleRunInfo[run].glyphs = NULL;
681 // If no glyphs fit on the line, force one to fit.
683 // (There shouldn't be any zero width glyphs at the
685 // only zero width glyphs, because otherwise the zero
686 // width glyphs wil
1101 LEGlyphID *glyphs = LE_NEW_ARRAY(LEGlyphID, glyphCount); local
1221 append(const LEFontInstance *font, UBiDiDirection direction, le_int32 glyphCount, const LEGlyphID glyphs[], const float positions[], const le_int32 glyphToCharMap[]) argument
[all...]
/external/skia/gm/
H A Dgammatext.cpp94 uint16_t glyphs[200]; local
95 int count = paint.textToGlyphs(text, len, glyphs);
97 CGContextShowGlyphsAtPoint(cg, x, y, glyphs, count);
/external/fonttools/Lib/fontTools/ttLib/tables/
H A D_g_l_y_f.py38 self.glyphs = {}
51 self.glyphs[glyphName] = glyph
56 warnings.warn('%s glyphs have no name' % i)
58 for glyph in self.glyphs.values():
69 glyph = self.glyphs[glyphName]
78 ttFont['maxp'].numGlyphs = len(self.glyphs)
117 if not hasattr(self, "glyphs"):
118 self.glyphs = {}
127 self.glyphs[glyphName] = glyph
147 return self.glyphs
[all...]
/external/fonttools/Tools/fontTools/ttLib/tables/
H A D_g_l_y_f.py38 self.glyphs = {}
51 self.glyphs[glyphName] = glyph
56 warnings.warn('%s glyphs have no name' % i)
58 for glyph in self.glyphs.values():
69 glyph = self.glyphs[glyphName]
78 ttFont['maxp'].numGlyphs = len(self.glyphs)
117 if not hasattr(self, "glyphs"):
118 self.glyphs = {}
127 self.glyphs[glyphName] = glyph
147 return self.glyphs
[all...]
/external/chromium_org/third_party/skia/src/ports/
H A DSkFontHost_win.cpp172 // The 'maxp' table stores the number of glyphs at offset 4, in 2 bytes.
173 uint16_t glyphs; local
174 if (GDI_ERROR != GetFontData(hdc, SkOTTableMaximumProfile::TAG, 4, &glyphs, sizeof(glyphs))) {
175 return SkEndian_SwapBE16(glyphs);
276 uint16_t glyphs[], int glyphCount) const SK_OVERRIDE;
852 // Sometimes ScriptShape cannot find a glyph for a non-BMP and returns 2 space glyphs.
877 WORD glyphs = glyph->getGlyphID(0); local
878 if (0 == GetTextExtentPointI(fDDC, &glyphs, 1, &size)) {
1736 // 25% of glyphs requir
[all...]
/external/skia/src/ports/
H A DSkFontHost_win.cpp172 // The 'maxp' table stores the number of glyphs at offset 4, in 2 bytes.
173 uint16_t glyphs; local
174 if (GDI_ERROR != GetFontData(hdc, SkOTTableMaximumProfile::TAG, 4, &glyphs, sizeof(glyphs))) {
175 return SkEndian_SwapBE16(glyphs);
276 uint16_t glyphs[], int glyphCount) const SK_OVERRIDE;
852 // Sometimes ScriptShape cannot find a glyph for a non-BMP and returns 2 space glyphs.
877 WORD glyphs = glyph->getGlyphID(0); local
878 if (0 == GetTextExtentPointI(fDDC, &glyphs, 1, &size)) {
1736 // 25% of glyphs requir
[all...]
/external/chromium_org/third_party/harfbuzz-ng/src/
H A Dhb-ot-shape-normalize.cc180 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
H A Dhb-ot-shape-complex-indic.cc489 inline bool would_substitute (const hb_codepoint_t *glyphs, argument
494 if (hb_ot_layout_lookup_would_substitute_fast (face, lookups[i].index, glyphs, glyphs_count, zero_context))
585 /* For old-spec, the order of glyphs is Consonant,Virama,
595 hb_codepoint_t glyphs[3] = {virama, consonant, virama}; local
596 if (indic_plan->blwf.would_substitute (glyphs , 2, face) ||
597 indic_plan->blwf.would_substitute (glyphs+1, 2, face))
599 if (indic_plan->pstf.would_substitute (glyphs , 2, face) ||
600 indic_plan->pstf.would_substitute (glyphs+1, 2, face))
604 (indic_plan->pref.would_substitute (glyphs , 2, face) ||
605 indic_plan->pref.would_substitute (glyphs
728 hb_codepoint_t glyphs[2] = {info[start].codepoint, info[start + 1].codepoint}; local
1093 hb_codepoint_t glyphs[2]; local
[all...]
H A Dhb-ot-layout.cc141 hb_set_t *glyphs /* OUT */)
143 return _get_gdef (face).get_glyphs_in_class (klass, glyphs);
662 const hb_codepoint_t *glyphs,
667 return hb_ot_layout_lookup_would_substitute_fast (face, lookup_index, glyphs, glyphs_length, zero_context);
673 const hb_codepoint_t *glyphs,
678 OT::hb_would_apply_context_t c (face, glyphs, glyphs_length, zero_context);
700 hb_set_t *glyphs)
702 OT::hb_closure_context_t c (face, glyphs);
660 hb_ot_layout_lookup_would_substitute(hb_face_t *face, unsigned int lookup_index, const hb_codepoint_t *glyphs, unsigned int glyphs_length, hb_bool_t zero_context) argument
671 hb_ot_layout_lookup_would_substitute_fast(hb_face_t *face, unsigned int lookup_index, const hb_codepoint_t *glyphs, unsigned int glyphs_length, hb_bool_t zero_context) argument
698 hb_ot_layout_lookup_substitute_closure(hb_face_t *face, unsigned int lookup_index, hb_set_t *glyphs) argument
/external/harfbuzz_ng/src/
H A Dhb-ot-shape-normalize.cc180 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
H A Dhb-ot-shape-complex-indic.cc490 inline bool would_substitute (const hb_codepoint_t *glyphs, argument
495 if (hb_ot_layout_lookup_would_substitute_fast (face, lookups[i].index, glyphs, glyphs_count, zero_context))
586 /* For old-spec, the order of glyphs is Consonant,Virama,
596 hb_codepoint_t glyphs[3] = {virama, consonant, virama}; local
597 if (indic_plan->blwf.would_substitute (glyphs , 2, face) ||
598 indic_plan->blwf.would_substitute (glyphs+1, 2, face))
600 if (indic_plan->pstf.would_substitute (glyphs , 2, face) ||
601 indic_plan->pstf.would_substitute (glyphs+1, 2, face))
605 (indic_plan->pref.would_substitute (glyphs , 2, face) ||
606 indic_plan->pref.would_substitute (glyphs
732 hb_codepoint_t glyphs[3] = {info[start].codepoint, local
1120 hb_codepoint_t glyphs[2]; local
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/
H A DHarfBuzzShaper.h92 uint16_t* glyphs() { return &m_glyphs[0]; } function in class:WebCore::FINAL::HarfBuzzRun
/external/icu/icu4c/source/samples/layout/
H A DGDIFontInstance.h34 virtual void drawGlyphs(const LEFontInstance *font, const LEGlyphID *glyphs, le_int32 count,
/external/chromium_org/third_party/icu/source/test/letest/
H A Dsfnt.h230 le_uint16 glyphs[ANY_NUMBER]; member in struct:CMAPFormat10Encoding
239 le_uint16 glyphs[ANY_NUMBER]; member in struct:CMAPFormat10Encoding
/external/chromium_org/third_party/skia/third_party/harfbuzz/tests/shaping/
H A Dmain.cpp65 static HB_Bool hb_stringToGlyphs(HB_Font font, const HB_UChar16 *string, hb_uint32 length, HB_Glyph *glyphs, hb_uint32 *numGlyphs, HB_Bool /*rightToLeft*/) argument
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);

Completed in 632 milliseconds

12345678