Lines Matching refs:script
253 if (item->item.script == HB_Script_Hebrew
662 HB_Script script = items[i].script;
663 if (script == HB_Script_Inherited)
664 script = HB_Script_Common;
665 HB_AttributeFunction attributeFunction = HB_ScriptEngines[script].charAttributes;
668 attributeFunction(script, string, items[i].pos, items[i].length, attributes);
898 static HB_Bool checkScript(HB_Face face, int script)
900 assert(script < HB_ScriptCount);
905 unsigned int tag = ot_scripts[script].tag;
906 int requirements = ot_scripts[script].flags;
915 DEBUG("could not select script %d in GSub table: %d", (int)script, error);
927 HB_Error error = HB_GPOS_Select_Script(face->gpos, script, &script_index);
929 DEBUG("could not select script in gpos table: %d", error);
1054 HB_Script script = shaper_item->item.script;
1056 if (!shaper_item->face->supported_scripts[script])
1060 if (face->current_script == script && face->current_flags == shaper_item->shaperFlags)
1063 face->current_script = script;
1066 assert(script < HB_ScriptCount);
1067 // find script in our list of supported scripts.
1068 unsigned int tag = ot_scripts[script].tag;
1089 DEBUG("script %s has script index %d", tag_to_string(tag), script_index);
1353 assert(shaper_item->item.script < HB_ScriptCount);
1354 result = HB_ScriptEngines[shaper_item->item.script].shape(shaper_item);