[aat] Zero mark advances if decided so even if there's cross-kerning
Cross-kerning can only take care of positioning vertically. It doesn't adjust mark advance...
This commit is contained in:
parent
a201fa74cd
commit
62890dee18
|
@ -147,7 +147,7 @@ hb_ot_shape_planner_t::compile (hb_ot_shape_plan_t &plan,
|
|||
}
|
||||
|
||||
bool has_kern_mark = plan.apply_kern && hb_ot_layout_has_cross_kerning (face);
|
||||
plan.zero_marks = script_zero_marks && !plan.apply_kerx && !has_kern_mark;
|
||||
plan.zero_marks = script_zero_marks && !plan.apply_kerx;
|
||||
plan.has_gpos_mark = !!plan.map.get_1_mask (HB_TAG ('m','a','r','k'));
|
||||
|
||||
plan.fallback_mark_positioning = script_fallback_mark_positioning && !plan.apply_gpos && !plan.apply_kerx && !has_kern_mark;
|
||||
|
|
Loading…
Reference in New Issue