[HarfBuzz] harfbuzz-ng: Branch 'master'

Behdad Esfahbod behdad at kemper.freedesktop.org
Tue Apr 10 14:22:18 PDT 2012


 src/hb-ot-shape-private.hh |    1 -
 src/hb-ot-shape.cc         |   10 ----------
 2 files changed, 11 deletions(-)

New commits:
commit 7752aa73e72301a46c64c533c1e423ff5987cc05
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Tue Apr 10 17:22:14 2012 -0400

    Minor

diff --git a/src/hb-ot-shape-private.hh b/src/hb-ot-shape-private.hh
index 0e33dae..41afd68 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 d0d1850..8b3a334 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 */



More information about the HarfBuzz mailing list