[ot-map] Whitespace
This commit is contained in:
parent
d3e09bf465
commit
10da9fd20d
|
@ -54,7 +54,6 @@ hb_ot_map_builder_t::hb_ot_map_builder_t (hb_face_t *face_,
|
||||||
face = face_;
|
face = face_;
|
||||||
props = *props_;
|
props = *props_;
|
||||||
|
|
||||||
|
|
||||||
/* Fetch script/language indices for GSUB/GPOS. We need these later to skip
|
/* Fetch script/language indices for GSUB/GPOS. We need these later to skip
|
||||||
* features not available in either table and not waste precious bits for them. */
|
* features not available in either table and not waste precious bits for them. */
|
||||||
|
|
||||||
|
@ -63,12 +62,28 @@ hb_ot_map_builder_t::hb_ot_map_builder_t (hb_face_t *face_,
|
||||||
hb_tag_t script_tags[HB_OT_MAX_TAGS_PER_SCRIPT];
|
hb_tag_t script_tags[HB_OT_MAX_TAGS_PER_SCRIPT];
|
||||||
hb_tag_t language_tags[HB_OT_MAX_TAGS_PER_LANGUAGE];
|
hb_tag_t language_tags[HB_OT_MAX_TAGS_PER_LANGUAGE];
|
||||||
|
|
||||||
hb_ot_tags_from_script_and_language (props.script, props.language, &script_count, script_tags, &language_count, language_tags);
|
hb_ot_tags_from_script_and_language (props.script,
|
||||||
|
props.language,
|
||||||
|
&script_count,
|
||||||
|
script_tags,
|
||||||
|
&language_count,
|
||||||
|
language_tags);
|
||||||
|
|
||||||
for (unsigned int table_index = 0; table_index < 2; table_index++) {
|
for (unsigned int table_index = 0; table_index < 2; table_index++)
|
||||||
|
{
|
||||||
hb_tag_t table_tag = table_tags[table_index];
|
hb_tag_t table_tag = table_tags[table_index];
|
||||||
found_script[table_index] = (bool) hb_ot_layout_table_select_script (face, table_tag, script_count, script_tags, &script_index[table_index], &chosen_script[table_index]);
|
found_script[table_index] = (bool) hb_ot_layout_table_select_script (face,
|
||||||
hb_ot_layout_script_select_language (face, table_tag, script_index[table_index], language_count, language_tags, &language_index[table_index]);
|
table_tag,
|
||||||
|
script_count,
|
||||||
|
script_tags,
|
||||||
|
&script_index[table_index],
|
||||||
|
&chosen_script[table_index]);
|
||||||
|
hb_ot_layout_script_select_language (face,
|
||||||
|
table_tag,
|
||||||
|
script_index[table_index],
|
||||||
|
language_count,
|
||||||
|
language_tags,
|
||||||
|
&language_index[table_index]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue