Lines Matching refs:shaper_item
356 HB_Bool HB_GreekShape(HB_ShaperItem *shaper_item) in HB_GreekShape() argument
358 const int availableGlyphs = shaper_item->num_glyphs; in HB_GreekShape()
359 const HB_UChar16 *uc = shaper_item->string + shaper_item->item.pos; in HB_GreekShape()
360 unsigned short *logClusters = shaper_item->log_clusters; in HB_GreekShape()
361 HB_GlyphAttributes *attributes = shaper_item->attributes; in HB_GreekShape()
368 HB_STACKARRAY(HB_UChar16, shapedChars, 2 * shaper_item->item.length); in HB_GreekShape()
370 assert(shaper_item->item.script == HB_Script_Greek); in HB_GreekShape()
375 for (i = 1; i < shaper_item->item.length; ++i) { in HB_GreekShape()
398 if (shaper_item->font->klass->canRender(shaper_item->font, (HB_UChar16 *)&shaped, 1)) { in HB_GreekShape()
426 haveGlyphs = shaper_item->font->klass in HB_GreekShape()
427 ->convertStringToGlyphIndices(shaper_item->font, in HB_GreekShape()
429 shaper_item->glyphs, &shaper_item->num_glyphs, in HB_GreekShape()
430 shaper_item->item.bidiLevel % 2); in HB_GreekShape()
438 if (HB_SelectScript(shaper_item, greek_features)) { in HB_GreekShape()
439 HB_OpenTypeShape(shaper_item, /*properties*/0); in HB_GreekShape()
440 return HB_OpenTypePosition(shaper_item, availableGlyphs, /*doLogClusters*/TRUE); in HB_GreekShape()
443 HB_HeuristicPosition(shaper_item); in HB_GreekShape()