Home | History | Annotate | Download | only in win

Lines Matching defs:glyphs

226     Vector<WORD> glyphs;
234 glyphs.resize(1.5 * len + 16);
235 visualAttributes.resize(glyphs.size());
237 if (!shape(str, len, item, fontData, glyphs, clusters, visualAttributes))
240 // We now have a collection of glyphs.
243 offsets.resize(glyphs.size());
244 advances.resize(glyphs.size());
246 HRESULT placeResult = ScriptPlace(0, fontData->scriptCache(), glyphs.data(), glyphs.size(), visualAttributes.data(),
254 placeResult = ScriptPlace(hdc, fontData->scriptCache(), glyphs.data(), glyphs.size(), visualAttributes.data(),
260 if (FAILED(placeResult) || glyphs.isEmpty())
264 // We also create a map that allows us to quickly go from space glyphs back to their corresponding characters.
265 Vector<int> spaceCharacters(glyphs.size());
277 // Substitute in the space glyph at the appropriate place in the glyphs
279 glyphs[clusters[k]] = fontData->spaceGlyph();
291 for (unsigned k = 0; k < glyphs.size(); k++) {
292 Glyph glyph = glyphs[k];
315 // characterIndex is left at the initial value of -1 for glyphs that do not map back to treated-as-space characters.
338 // FIXME: We need to take the GOFFSETS for combining glyphs and store them in the glyph buffer
339 // as well, so that when the time comes to draw those glyphs, we can apply the appropriate
362 ScriptXtoCP(m_offsetX - leftEdge, clusters.size(), glyphs.size(), clusters.data(), visualAttributes.data(),
380 Vector<WORD>& glyphs, Vector<WORD>& clusters,
388 glyphs.size(), &item.a,
389 glyphs.data(), clusters.data(), visualAttributes.data(), &glyphCount);
399 glyphs.resize(glyphs.size() * 2);
400 visualAttributes.resize(glyphs.size());
412 glyphs.shrink(glyphCount);