From 7752aa73e72301a46c64c533c1e423ff5987cc05 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 10 Apr 2012 17:22:14 -0400 Subject: [PATCH] Minor --- src/hb-ot-shape-private.hh | 1 - src/hb-ot-shape.cc | 10 ---------- 2 files changed, 11 deletions(-) diff --git a/src/hb-ot-shape-private.hh b/src/hb-ot-shape-private.hh index 0e33dae01..41afd683c 100644 --- a/src/hb-ot-shape-private.hh +++ b/src/hb-ot-shape-private.hh @@ -83,7 +83,6 @@ struct hb_ot_shape_context_t /* Transient stuff */ hb_direction_t target_direction; - hb_bool_t applied_substitute_complex; hb_bool_t applied_position_complex; }; diff --git a/src/hb-ot-shape.cc b/src/hb-ot-shape.cc index d0d185024..8b3a3348d 100644 --- a/src/hb-ot-shape.cc +++ b/src/hb-ot-shape.cc @@ -236,7 +236,6 @@ hb_ot_substitute_complex (hb_ot_shape_context_t *c) { if (hb_ot_layout_has_substitution (c->face)) { c->plan->map.substitute (c->face, c->buffer); - c->applied_substitute_complex = TRUE; } hb_ot_layout_substitute_finish (c->buffer); @@ -244,12 +243,6 @@ hb_ot_substitute_complex (hb_ot_shape_context_t *c) return; } -static void -hb_substitute_complex_fallback (hb_ot_shape_context_t *c HB_UNUSED) -{ - /* TODO Arabic */ -} - /* Position */ @@ -371,9 +364,6 @@ hb_ot_shape_execute_internal (hb_ot_shape_context_t *c) hb_substitute_default (c); hb_ot_substitute_complex (c); - - if (!c->applied_substitute_complex) - hb_substitute_complex_fallback (c); } /* POSITION */