Home | History | Annotate | Download | only in shaping

Lines Matching refs:shaper_item

224     HB_ShaperItem shaper_item;
225 shaper_item.kerning_applied = false;
226 shaper_item.string = reinterpret_cast<const HB_UChar16 *>(str.constData());
227 shaper_item.stringLength = str.length();
228 shaper_item.item.script = script;
229 shaper_item.item.pos = 0;
230 shaper_item.item.length = shaper_item.stringLength;
231 shaper_item.item.bidiLevel = 0; // ###
232 shaper_item.shaperFlags = 0;
233 shaper_item.font = &hbFont;
234 shaper_item.face = hbFace;
235 shaper_item.num_glyphs = shaper_item.item.length;
236 shaper_item.glyphIndicesPresent = false;
237 shaper_item.initialGlyphCount = 0;
239 QVarLengthArray<HB_Glyph> hb_glyphs(shaper_item.num_glyphs);
240 QVarLengthArray<HB_GlyphAttributes> hb_attributes(shaper_item.num_glyphs);
241 QVarLengthArray<HB_Fixed> hb_advances(shaper_item.num_glyphs);
242 QVarLengthArray<HB_FixedPoint> hb_offsets(shaper_item.num_glyphs);
243 QVarLengthArray<unsigned short> hb_logClusters(shaper_item.num_glyphs);
246 hb_glyphs.resize(shaper_item.num_glyphs);
247 hb_attributes.resize(shaper_item.num_glyphs);
248 hb_advances.resize(shaper_item.num_glyphs);
249 hb_offsets.resize(shaper_item.num_glyphs);
250 hb_logClusters.resize(shaper_item.num_glyphs);
257 shaper_item.glyphs = hb_glyphs.data();
258 shaper_item.attributes = hb_attributes.data();
259 shaper_item.advances = hb_advances.data();
260 shaper_item.offsets = hb_offsets.data();
261 shaper_item.log_clusters = hb_logClusters.data();
263 if (HB_ShapeItem(&shaper_item))
277 if( nglyphs != shaper_item.num_glyphs )
281 if ((shaper_item.glyphs[i]&0xffffff) != s->glyphs[i])
295 shaper_item.num_glyphs, nglyphs);
299 while (i < shaper_item.num_glyphs) {
300 str += QString("%1 ").arg(shaper_item.glyphs[i], 4, 16);