Commit 55d5a1cbe9483255236f29fbbcdcc4b69ea4a265

Yamato, Masatake (大和正武) 2006-12-30T20:24:30

(gxv_kern_subtable_fmt0_pairs_validate): Show the trace message after validating gids.

diff --git a/src/gxvalid/gxvkern.c b/src/gxvalid/gxvkern.c
index 3b0e4b5..c29e7c7 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 )