From: handa Date: Fri, 25 Nov 2005 06:45:03 +0000 (+0000) Subject: (run_command): Print debug info for X-Git-Tag: REL-1-3-0~52 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f3906826c5cc339eaf7b01821ebba7e3fdbf31a;p=m17n%2Fm17n-lib.git (run_command): Print debug info for left/rigth_padding --- diff --git a/src/font-flt.c b/src/font-flt.c index 5d2c8dc..668ff6f 100644 --- a/src/font-flt.c +++ b/src/font-flt.c @@ -1251,12 +1251,16 @@ run_command (int depth, int id, MGlyphString *gstring, int from, int to, } case CMD_ID_LEFT_PADDING: + MDEBUG_PRINT2 ("\n [FLT] %*s[", depth, ""); ctx->left_padding = 1; return from; case CMD_ID_RIGHT_PADDING: if (gstring->used > 0) - gstring->glyphs[gstring->used - 1].right_padding = 1; + { + MDEBUG_PRINT2 ("\n [FLT] %*s]", depth, ""); + gstring->glyphs[gstring->used - 1].right_padding = 1; + } return from; }