From e70f45eb522bcb41388cc218b79bbd6aaecf8050 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 20 Dec 2009 21:26:24 +0100 Subject: [PATCH] Revert "Fallback to 'kern' if no GPOS applied" This reverts commit d740c8f78bcbe80a8bcd8a9468830a406da37cc0. The change is wrong. If there is a GPOS table, we should not use 'kern'. --- src/hb-ot-shape.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hb-ot-shape.c b/src/hb-ot-shape.c index 668b22367..795fd54d6 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 num_lookups != 0; + return TRUE; } hb_bool_t @@ -161,5 +161,5 @@ _hb_ot_position_complex (hb_font_t *font, hb_ot_layout_position_finish (font, face, buffer); - return num_lookups != 0; + return TRUE; }