Don't apply GPOS if applying morx
That's what Apple does, and it wouldn't degrade our OpenType performance. Part of https://github.com/harfbuzz/harfbuzz/issues/1348
This commit is contained in:
parent
eafd515639
commit
7a97f70740
|
@ -126,7 +126,7 @@ hb_ot_shape_planner_t::compile (hb_ot_shape_plan_t &plan,
|
||||||
|
|
||||||
if (hb_options ().aat && hb_aat_layout_has_positioning (face))
|
if (hb_options ().aat && hb_aat_layout_has_positioning (face))
|
||||||
plan.apply_kerx = true;
|
plan.apply_kerx = true;
|
||||||
else if (!disable_gpos && hb_ot_layout_has_positioning (face))
|
else if (!apply_morx && !disable_gpos && hb_ot_layout_has_positioning (face))
|
||||||
plan.apply_gpos = true;
|
plan.apply_gpos = true;
|
||||||
else if (hb_aat_layout_has_positioning (face))
|
else if (hb_aat_layout_has_positioning (face))
|
||||||
plan.apply_kerx = true;
|
plan.apply_kerx = true;
|
||||||
|
|
Loading…
Reference in New Issue