From 6bf33bf643ea32bc10302c252374c7a106b2d7d9 Mon Sep 17 00:00:00 2001 From: handa Date: Mon, 30 Nov 2009 11:46:18 +0000 Subject: [PATCH] (reorder_combining_chars): Delete it. --- src/draw.c | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/src/draw.c b/src/draw.c index fc59bf9..83c1e22 100644 --- a/src/draw.c +++ b/src/draw.c @@ -238,30 +238,6 @@ visual_order (MGlyphString *gstring) } } -#if 0 -static void -reorder_combining_chars (MGlyphString *gstring, int from, int to) -{ - MGlyph *g, *gbeg = MGLYPH (from + 1), *gend = MGLYPH (to), temp; - int reordered = 1; - - while (reordered) - { - reordered = 0; - for (g = gbeg; g != gend; g++) - if (COMBINING_CODE_CLASS (g->combining_code) > 0 - && (COMBINING_CODE_CLASS (g[-1].combining_code) - > COMBINING_CODE_CLASS (g->combining_code))) - { - reordered = 1; - temp = *g; - *g = g[-1]; - g[-1] = temp; - } - } -} -#endif - static MSymbol font_id (MFLTFont *font) { -- 1.7.10.4