Lines Matching refs:glyphs
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.
119 if (glyphs[i * glyphStep]) {
120 pageToFill->setGlyphDataForIndex(offset + i, glyphs[i * glyphStep], this);
125 // We ask CoreText for possible vertical variant glyphs
153 // This run uses the font we want. Extract glyphs.
155 const CGGlyph* glyphs = CTRunGetGlyphsPtr(ctRun);
156 if (!glyphs) {
159 glyphs = glyphVector.data();
174 if (glyphs[i]) {
175 pageToFill->setGlyphDataForIndex(offset + stringIndices[i], glyphs[i], this);
187 if (glyphs[i]) {
188 pageToFill->setGlyphDataForIndex(offset + stringIndices[i], glyphs[i], runSimple);