Minor
This commit is contained in:
parent
939c010211
commit
7752aa73e7
|
@ -83,7 +83,6 @@ struct hb_ot_shape_context_t
|
||||||
|
|
||||||
/* Transient stuff */
|
/* Transient stuff */
|
||||||
hb_direction_t target_direction;
|
hb_direction_t target_direction;
|
||||||
hb_bool_t applied_substitute_complex;
|
|
||||||
hb_bool_t applied_position_complex;
|
hb_bool_t applied_position_complex;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -236,7 +236,6 @@ hb_ot_substitute_complex (hb_ot_shape_context_t *c)
|
||||||
{
|
{
|
||||||
if (hb_ot_layout_has_substitution (c->face)) {
|
if (hb_ot_layout_has_substitution (c->face)) {
|
||||||
c->plan->map.substitute (c->face, c->buffer);
|
c->plan->map.substitute (c->face, c->buffer);
|
||||||
c->applied_substitute_complex = TRUE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
hb_ot_layout_substitute_finish (c->buffer);
|
hb_ot_layout_substitute_finish (c->buffer);
|
||||||
|
@ -244,12 +243,6 @@ hb_ot_substitute_complex (hb_ot_shape_context_t *c)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
|
||||||
hb_substitute_complex_fallback (hb_ot_shape_context_t *c HB_UNUSED)
|
|
||||||
{
|
|
||||||
/* TODO Arabic */
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Position */
|
/* Position */
|
||||||
|
|
||||||
|
@ -371,9 +364,6 @@ hb_ot_shape_execute_internal (hb_ot_shape_context_t *c)
|
||||||
hb_substitute_default (c);
|
hb_substitute_default (c);
|
||||||
|
|
||||||
hb_ot_substitute_complex (c);
|
hb_ot_substitute_complex (c);
|
||||||
|
|
||||||
if (!c->applied_substitute_complex)
|
|
||||||
hb_substitute_complex_fallback (c);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* POSITION */
|
/* POSITION */
|
||||||
|
|
Loading…
Reference in New Issue