[HarfBuzz] harfbuzz-ng: Branch 'master'

Behdad Esfahbod behdad at kemper.freedesktop.org
Sun Dec 20 12:24:11 PST 2009


 src/hb-ot-shape.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit d740c8f78bcbe80a8bcd8a9468830a406da37cc0
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Sun Dec 20 21:23:56 2009 +0100

    Fallback to 'kern' if no GPOS applied

diff --git a/src/hb-ot-shape.c b/src/hb-ot-shape.c
index 795fd54..668b223 100644
--- a/src/hb-ot-shape.c
+++ b/src/hb-ot-shape.c
@@ -135,7 +135,7 @@ _hb_ot_substitute_complex (hb_font_t    *font,
   for (i = 0; i < num_lookups; i++)
     hb_ot_layout_substitute_lookup (face, buffer, lookups[i], 0xFFFF);
 
-  return TRUE;
+  return num_lookups != 0;
 }
 
 hb_bool_t
@@ -161,5 +161,5 @@ _hb_ot_position_complex (hb_font_t    *font,
 
   hb_ot_layout_position_finish (font, face, buffer);
 
-  return TRUE;
+  return num_lookups != 0;
 }



More information about the HarfBuzz mailing list