X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fm17n-flt.c;h=0e54af12e9e9a4060e039058fd9d84bd6d632dcc;hb=20d55f400914607461cdce4f53da388c1772dde2;hp=9f6eeb6c214c49e9efb058103ba3abed240eb784;hpb=8084a3f5896e157c6e7dd08fa26b149e4c8e5393;p=m17n%2Fm17n-lib.git diff --git a/src/m17n-flt.c b/src/m17n-flt.c index 9f6eeb6..0e54af1 100644 --- a/src/m17n-flt.c +++ b/src/m17n-flt.c @@ -1872,7 +1872,7 @@ decode_packed_otf_tag (FontLayoutContext *ctx, MFLTGlyphString *gstring, } } else - enc = GET_COMBINED (g) ? '\0' : GET_CATEGORY_CODE (g); + enc = '\0'; if (! enc) enc = g->c > 0 ? (int) mchartable_lookup (category->table, g->c) : 1; SET_CATEGORY_CODE (g, enc); @@ -2138,6 +2138,7 @@ run_command (int depth, int id, int from, int to, FontLayoutContext *ctx) g = GREF (ctx->out, ctx->out->used - 1); if (ctx->combining_code) SET_COMBINING_CODE (g, ctx, ctx->combining_code); +#if 0 else if (! GET_COMBINED (g) && ctx->category) { MCharTable *table = ctx->category->table; @@ -2149,6 +2150,7 @@ run_command (int depth, int id, int from, int to, FontLayoutContext *ctx) : ' '); SET_CATEGORY_CODE (g, enc); } +#endif if (ctx->left_padding) SET_LEFT_PADDING (g, ctx, LeftPaddingMask); if (ctx->cluster_begin_idx >= 0)