From 55d5a1cbe9483255236f29fbbcdcc4b69ea4a265 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yamato=2C=20Masatake=20=28=E5=A4=A7=E5=92=8C=E6=AD=A3?= =?UTF-8?q?=E6=AD=A6=29?= Date: Sat, 30 Dec 2006 20:24:30 +0000 Subject: [PATCH] (gxv_kern_subtable_fmt0_pairs_validate): Show the trace message after validating gids. --- src/gxvalid/gxvkern.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/gxvalid/gxvkern.c b/src/gxvalid/gxvkern.c index 3b0e4b576..c29e7c769 100644 --- a/src/gxvalid/gxvkern.c +++ b/src/gxvalid/gxvkern.c @@ -127,14 +127,16 @@ FT_Short kernValue; + /* left */ gid_left = FT_NEXT_USHORT( p ); - gid_right = FT_NEXT_USHORT( p ); - - GXV_TRACE(( "left gid = %u, right gid = %u\n", gid_left, gid_right )); gxv_glyphid_validate( gid_left, valid ); + + /* right */ + gid_right = FT_NEXT_USHORT( p ); gxv_glyphid_validate( gid_right, valid ); /* A pair of left and right gid must be uniqe and be sorted. */ + GXV_TRACE(( "left gid = %u, right gid = %u\n", gid_left, gid_right )); if ( gid_left == last_gid_left ) { if ( last_gid_right < gid_right )