[fallback-kern] Move buffer message to correct position
This commit is contained in:
parent
e986c12075
commit
b47b3b9972
|
@ -497,14 +497,14 @@ _hb_ot_shape_fallback_kern (const hb_ot_shape_plan_t *plan,
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef HB_DISABLE_DEPRECATED
|
#ifndef HB_DISABLE_DEPRECATED
|
||||||
if (!buffer->message (font, "start fallback kern"))
|
|
||||||
return;
|
|
||||||
|
|
||||||
if (HB_DIRECTION_IS_HORIZONTAL (buffer->props.direction) ?
|
if (HB_DIRECTION_IS_HORIZONTAL (buffer->props.direction) ?
|
||||||
!font->has_glyph_h_kerning_func () :
|
!font->has_glyph_h_kerning_func () :
|
||||||
!font->has_glyph_v_kerning_func ())
|
!font->has_glyph_v_kerning_func ())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (!buffer->message (font, "start fallback kern"))
|
||||||
|
return;
|
||||||
|
|
||||||
bool reverse = HB_DIRECTION_IS_BACKWARD (buffer->props.direction);
|
bool reverse = HB_DIRECTION_IS_BACKWARD (buffer->props.direction);
|
||||||
|
|
||||||
if (reverse)
|
if (reverse)
|
||||||
|
|
Loading…
Reference in New Issue