From 8f5bf195094d30f05255fcf9fea25e6099f610ce Mon Sep 17 00:00:00 2001 From: handa Date: Tue, 4 Sep 2007 14:41:13 +0000 Subject: [PATCH] *** empty log message *** --- src/ChangeLog | 18 ++++++++++++++++++ src/m17n-flt.c | 11 +---------- 2 files changed, 19 insertions(+), 10 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 8aeff86..2aca8df 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,21 @@ +2007-09-04 Kenichi Handa + + * m17n-flt.c (MFontLayoutTable): Delete this type. + (struct _MFLT): New member mdb and coverage. + (list_flt): Set flt->mdb. + (load_generator): Argument and return value changed. Caller + changed. + (get_font_layout_table): Delete this function. + (run_stages): Argument changed. Caller changed. + (CHECK_FLT_STAGES): New macro. + (mfont__flt_encode_char): Argument changed. + (mflt_find): Likewise. + (mflt_coverage): New function. + (mflt_run): Argument changed. + (mdebug_dump_flt): Likewise. + + * m17n-flt.h (mflt_coverage): Extern it. + 2007-09-03 Kenichi Handa * internal.h (MTABLE_CALLOC_SAFE, MSTRUCT_CALLOC_SAFE): New macros. diff --git a/src/m17n-flt.c b/src/m17n-flt.c index b078bcc..f128e43 100644 --- a/src/m17n-flt.c +++ b/src/m17n-flt.c @@ -2111,15 +2111,6 @@ mflt_find (MFLTGlyphString *gstring, int pos, MFLTFont *font) { if (! CHECK_FLT_STAGES (flt)) continue; - if (start) - { - MCharTable *category = MPLIST_VAL (flt->stages); - - for (i = pos; i < gstring->used; i++) - if (mchartable_lookup (category, GREF (gstring, i)->c)) - break; - *start = i; - } return flt; } } @@ -2131,7 +2122,7 @@ mflt_coverage (MFLT *flt) { if (! CHECK_FLT_STAGES (flt)) MERROR (MERROR_FLT, NULL); - return flt->coverages; + return flt->coverage; } int -- 1.7.10.4