From 5f3906826c5cc339eaf7b01821ebba7e3fdbf31a Mon Sep 17 00:00:00 2001 From: handa Date: Fri, 25 Nov 2005 06:45:03 +0000 Subject: [PATCH] (run_command): Print debug info for left/rigth_padding --- src/font-flt.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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; } -- 1.7.10.4