mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-30 18:13:53 +01:00
Don't apply both kerx and kern
Ouch!
This commit is contained in:
1 parent
41cff7afc9
commit
5cf6f94dfd
1 file changed
+1
-1
+1
-1
@@ -129,7 +129,7 @@ hb_ot_shape_planner_t::compile (hb_ot_shape_plan_t &plan,
|
||||
/* Apparently Apple applies kerx if GPOS kern was not applied. */
|
||||
if (hb_aat_layout_has_positioning (face))
|
||||
plan.apply_kerx = true;
|
||||
if (hb_ot_layout_has_kerning (face))
|
||||
else if (hb_ot_layout_has_kerning (face))
|
||||
plan.apply_kern = true;
|
||||
else
|
||||
plan.fallback_kerning = true;
|
||||
|
||||
Reference in new issue
Block a user