+2007-10-29 Kenichi Handa <handa@m17n.org>
+
+ * m17n-flt.h (struct _MFLTOtfSpec): Adjusted for the new FLT handling.
+ (mflt_get): Adjusted for the argument change.
+ (mflt_name): Adjusted for the return value change.
+
+ * m17n-flt.c (Mgenerator, Mend): New variables.
+ (flt_min_coverage, flt_max_coverage): New variables.
+ (GCPY): New macro.
+ (GDUP): Use it.
+ (Mfont_has): Renamed from Mexist. Referrers chagned.
+ (gen_otf_tag): Handle the trailing whitespaces.
+ (otf_count_features, otf_store_features): Fix for negative features.
+ (parse_otf_command): Adjusted for the change of MFLTOtfSpec.
+ (load_otf_command): Likewise.
+ (free_flt_command): Adjusted for the change of MFLTOtfSpec.
+ (load_flt): Argument changed. Caller changed.
+ (free_flt_list): New function.
+ (run_rule): Adjusted for the change of FontLayoutContext.
+ (mflt_run): Adjusted for the change of FontLayoutContext.
+
+ * m17n-gui.c (m17n_init_win): Call m17n_init_flt.
+ (m17n_fini_win): Call m17n_fini_flt.
+
+ * m17n-gui.h: Include m17n-flt.h.
+
+ * m17n-gd.c: Adusted for the change of MGlyph.
+
+ * m17n-X.c: Adusted for the change of MGlyph.
+ (xft_check_otf, xft_drive_otf): New functions.
+
+ * internal-gui.h (MGlyph): Modified for new FLT handling.
+
+ * fontset.c (try_font_list): Adusted for the change of MGlyph.
+
+ * font-ft.c: Adjusted for the change of MGlyph.
+ (ft_check_cap_otf): Renamed from ft_check_otf. Callers changed.
+ (get_glyph_metric): Deleted.
+ (ft_check_otf): New function.
+ (ft_drive_otf): New fucntion.
+
+ * font.c: Adjusted for the change of MGlyph.
+ (mfont__init): Don't call mfont__flt_init.
+ (mfont__fini): Don't call mfont__flt_fini.
+ (mfont__get_glyph_id, mfont__get_metrics): New functions.
+
+ * font.h (struct MRealizedFont): New members x_ppem and y_ppem.
+ (MFLTFontForRealized): New struct.
+ (struct MFontDriver): New members check_otf and drive_otf.
+ (mfont__get_glyph_id, mfont__get_metrics): Extern them.
+
+ * face.c: Adjusted for the change of MGlyph.
+
+ * draw.c: Adjusted for the change of MGlyph.
+
+ * m17n.c (m17n_init): Don't call mchar_init.
+
+ * m17n-core.c (m17n_init_core): Call mchar_init.
+
+ * m17n-core.h (mchartable_min_char, mchartable_max_char): Extern them.
+
+ * input.c: Include "m17n.h" instead of "m17n-gui.h".
+
+ * chartab.c (mchartable): Initialize table->min_char to -1.
+ (mchartable_min_char): New function.
+ (mchartable_max_char): New function.
+
+ * Makefile.am (GUI_SOURCES): Delete font-flt.c.
+ (libm17n_gui_la_LIBADD): Add ${top_builddir}/src/libm17n-flt.la.
+
2007-10-12 Kenichi Handa <handa@m17n.org>
* m17n-core.h (Mcharset): Extern it.