m17n/m17n-lib.git
17 years ago(Mcombining): New variable.
handa [Mon, 12 Nov 2007 12:31:19 +0000 (12:31 +0000)]
(Mcombining): New variable.
(Mfont_facility): Renamed from Mfont_has.  Referrer changed.
(enum FontLayoutCmdRuleSrcType): Delete SRC_EXIST, add
SRC_HAS_GLYPH and SRC_OTF_SPEC.
(FontLayoutCmdRule): Delete src.exist, add src.supported_glyph and
src.otf_spec.
(load_command): Adjusted for the above changes.
(run_rule): Likewise.
(combining_code_from_class): Delete it.
(mflt_get): Check flt->name against Mcombining, not Mt.

17 years ago(Mcombining): Extern it.
handa [Mon, 12 Nov 2007 12:28:31 +0000 (12:28 +0000)]
(Mcombining): Extern it.

17 years ago(compose_glyph_string): Call run_flt with Mcombining for
handa [Mon, 12 Nov 2007 12:28:09 +0000 (12:28 +0000)]
(compose_glyph_string): Call run_flt with Mcombining for
combining characters.

17 years ago*** empty log message ***
handa [Fri, 9 Nov 2007 12:00:04 +0000 (12:00 +0000)]
*** empty log message ***

17 years ago(ft_render): Fix handling of baseline_offset.
handa [Fri, 9 Nov 2007 11:59:59 +0000 (11:59 +0000)]
(ft_render): Fix handling of baseline_offset.
(ft_encapsulate): Set metrics in 26.6 fixed pixel.
(ft_render): Check pixel_mode to determine anti_alias.

17 years ago(mface__realize): Fix previous change.
handa [Fri, 9 Nov 2007 10:13:43 +0000 (10:13 +0000)]
(mface__realize): Fix previous change.

17 years ago*** empty log message ***
handa [Fri, 9 Nov 2007 08:16:58 +0000 (08:16 +0000)]
*** empty log message ***

17 years ago(mface__realize): Reset measured flag before calling
handa [Fri, 9 Nov 2007 08:16:53 +0000 (08:16 +0000)]
(mface__realize): Reset measured flag before calling
mfont__get_metric.

17 years ago*** empty log message ***
handa [Fri, 9 Nov 2007 07:45:25 +0000 (07:45 +0000)]
*** empty log message ***

17 years ago(run_stages): Fix handing of off_x and off_y.
handa [Fri, 9 Nov 2007 07:45:18 +0000 (07:45 +0000)]
(run_stages): Fix handing of off_x and off_y.
(setup_combining_coverage): New function.
(setup_combining_flt): New function.
(mflt_get): If flt is not found, return NULL.  If name if Mt,
call setup_combining_flt.
(mflt_run): For debugging, print font family name.

17 years ago(ft_render): Fix handling of baseline_offset.
handa [Fri, 9 Nov 2007 07:43:41 +0000 (07:43 +0000)]
(ft_render): Fix handling of baseline_offset.
(ft_encapsulate): Set metrics in 26.6 fixed pixel.

17 years ago(xfont_find_metric): Delete invalid "continue" line.
handa [Fri, 9 Nov 2007 07:43:04 +0000 (07:43 +0000)]
(xfont_find_metric): Delete invalid "continue" line.
(xfont_find_metric): Set metrics in 26.6 fixed pixel.
(xfont_render): Set baseline_offset in pixel.
(xft_render): Fix handling of baseline_offset.

17 years ago(run_flt): Set font.font.family.
handa [Fri, 9 Nov 2007 07:39:13 +0000 (07:39 +0000)]
(run_flt): Set font.font.family.
(compose_glyph_string): Fix handling of combining characters.

17 years ago(try_font_list): Check if the named flt is surely
handa [Fri, 9 Nov 2007 01:19:15 +0000 (01:19 +0000)]
(try_font_list): Check if the named flt is surely
available.

17 years ago*** empty log message ***
handa [Wed, 7 Nov 2007 12:03:13 +0000 (12:03 +0000)]
*** empty log message ***

17 years ago(analyse_bidi_level): New function.
handa [Wed, 7 Nov 2007 12:03:04 +0000 (12:03 +0000)]
(analyse_bidi_level): New function.
(visual_order): Do reordering using the already decided
bidi-level.
(compose_glyph_string): Decide bidi-level before calling flt.

17 years ago(mflt_run): Fix typo.
handa [Wed, 7 Nov 2007 12:00:49 +0000 (12:00 +0000)]
(mflt_run): Fix typo.

17 years ago(ft_drive_otf): Fix indexing gstring->glyphs.
handa [Wed, 7 Nov 2007 12:00:23 +0000 (12:00 +0000)]
(ft_drive_otf): Fix indexing gstring->glyphs.

17 years ago*** empty log message ***
handa [Tue, 6 Nov 2007 07:26:53 +0000 (07:26 +0000)]
*** empty log message ***

17 years ago(visual_order): Don't rely on the width of glyphs.
handa [Tue, 6 Nov 2007 07:26:13 +0000 (07:26 +0000)]
(visual_order): Don't rely on the width of glyphs.
(run_flt): Fix culculation of g->g.to.

17 years ago(run_rule): Don't set error code here.
handa [Tue, 6 Nov 2007 07:25:21 +0000 (07:25 +0000)]
(run_rule): Don't set error code here.
(run_cond): Likewise.
(run_otf): Fix culculation of xoff and yoff.
(run_command): Don't set error code here.
(PREV): New macro.
(NEXT): New macro.

17 years ago(run_rule): Don't set error code here.
handa [Tue, 6 Nov 2007 04:46:44 +0000 (04:46 +0000)]
(run_rule): Don't set error code here.
(run_cond): Likewise.
(run_otf): Fix handling of advance_is_absolute.
(run_command): Don't set error code here.

17 years ago(xfont_open): Keep rfont's metrics in 26.6 fixed pixels.
handa [Tue, 6 Nov 2007 04:45:16 +0000 (04:45 +0000)]
(xfont_open): Keep rfont's metrics in 26.6 fixed pixels.
(xfont_find_metric): Set glyph's yadv to 0.
(xft_find_metric): Likewise.

17 years ago(ft_open): Keep rfont's metrics in 26.6 fixed pixels.
handa [Tue, 6 Nov 2007 04:44:29 +0000 (04:44 +0000)]
(ft_open): Keep rfont's metrics in 26.6 fixed pixels.
(ft_find_metric): Adjust glyph's metrics.
(ft_encapsulate): Keep rfont's metrics in 26.6 fixed pixels.
(ft_drive_otf): Set mark glyph's xadv to 0.

17 years ago(mface__for_chars): Adjusts the unit of face's ascent and
handa [Tue, 6 Nov 2007 04:42:10 +0000 (04:42 +0000)]
(mface__for_chars): Adjusts the unit of face's ascent and
descent.

17 years ago*** empty log message ***
handa [Mon, 29 Oct 2007 02:33:33 +0000 (02:33 +0000)]
*** empty log message ***

17 years ago(Mgenerator, Mend): New variables.
handa [Mon, 29 Oct 2007 02:33:25 +0000 (02:33 +0000)]
(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.

17 years ago* m17n-flt.h (struct _MFLTOtfSpec): Adjusted for the new FLT handling.
handa [Mon, 29 Oct 2007 02:29:30 +0000 (02:29 +0000)]
* 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.

17 years ago(m17n_init_win): Call m17n_init_flt.
handa [Mon, 29 Oct 2007 02:23:03 +0000 (02:23 +0000)]
(m17n_init_win): Call m17n_init_flt.
(m17n_fini_win): Call m17n_fini_flt.

17 years ago* m17n-gui.h: Include m17n-flt.h.
handa [Mon, 29 Oct 2007 02:21:57 +0000 (02:21 +0000)]
* m17n-gui.h: Include m17n-flt.h.

* input.c: Include "m17n.h" instead of "m17n-gui.h".

17 years agoAdusted for the change of MGlyph.
handa [Mon, 29 Oct 2007 02:21:38 +0000 (02:21 +0000)]
Adusted for the change of MGlyph.

17 years agoAdusted for the change of MGlyph.
handa [Mon, 29 Oct 2007 02:21:14 +0000 (02:21 +0000)]
Adusted for the change of MGlyph.
(xft_check_otf, xft_drive_otf): New functions.

17 years ago(MGlyph): Modified for new FLT handling.
handa [Mon, 29 Oct 2007 02:20:21 +0000 (02:20 +0000)]
(MGlyph): Modified for new FLT handling.

17 years ago(try_font_list): Adusted for the change of MGlyph.
handa [Mon, 29 Oct 2007 02:19:37 +0000 (02:19 +0000)]
(try_font_list): Adusted for the change of MGlyph.

17 years agoAdjusted for the change of MGlyph.
handa [Mon, 29 Oct 2007 02:18:48 +0000 (02:18 +0000)]
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.

17 years agoAdjusted for the change of MGlyph.
handa [Mon, 29 Oct 2007 02:15:55 +0000 (02:15 +0000)]
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.

17 years ago(struct MRealizedFont): New members x_ppem and y_ppem.
handa [Mon, 29 Oct 2007 02:15:06 +0000 (02:15 +0000)]
(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.

17 years agoAdjusted for the change of MGlyph.
handa [Mon, 29 Oct 2007 02:14:10 +0000 (02:14 +0000)]
Adjusted for the change of MGlyph.

17 years ago(m17n_init): Don't call mchar_init.
handa [Mon, 29 Oct 2007 02:12:29 +0000 (02:12 +0000)]
(m17n_init): Don't call mchar_init.

17 years ago(m17n_init_core): Call mchar_init.
handa [Mon, 29 Oct 2007 02:12:05 +0000 (02:12 +0000)]
(m17n_init_core): Call mchar_init.

17 years ago(mchartable_min_char, mchartable_max_char): Extern them.
handa [Mon, 29 Oct 2007 02:11:43 +0000 (02:11 +0000)]
(mchartable_min_char, mchartable_max_char): Extern them.

17 years agoInclude "m17n.h" instead of "m17n-gui.h".
handa [Mon, 29 Oct 2007 02:11:02 +0000 (02:11 +0000)]
Include "m17n.h" instead of "m17n-gui.h".

17 years ago(mchartable): Initialize table->min_char to -1.
handa [Mon, 29 Oct 2007 02:10:23 +0000 (02:10 +0000)]
(mchartable): Initialize table->min_char to -1.
(mchartable_min_char): New function.
(mchartable_max_char): New function.

17 years ago(GUI_SOURCES): Delete font-flt.c.
handa [Mon, 29 Oct 2007 02:09:29 +0000 (02:09 +0000)]
(GUI_SOURCES): Delete font-flt.c.
(libm17n_gui_la_LIBADD): Add ${top_builddir}/src/libm17n-flt.la.

17 years ago*** empty log message ***
handa [Mon, 29 Oct 2007 02:08:32 +0000 (02:08 +0000)]
*** empty log message ***

17 years ago(xgstring): Adjusted for the change of dump_gstring.
handa [Mon, 29 Oct 2007 02:08:28 +0000 (02:08 +0000)]
(xgstring): Adjusted for the change of dump_gstring.
(xgtr): New command.

17 years ago(common_ldflags_gui): Add
handa [Mon, 29 Oct 2007 02:08:22 +0000 (02:08 +0000)]
(common_ldflags_gui): Add
${top_builddir}/src/libm17n-flt.la.

17 years ago*** empty log message ***
handa [Fri, 12 Oct 2007 05:46:20 +0000 (05:46 +0000)]
*** empty log message ***

17 years ago* m17n-core.h (Mcharset): Extern it.
handa [Fri, 12 Oct 2007 05:46:15 +0000 (05:46 +0000)]
* m17n-core.h (Mcharset): Extern it.
Move detabase related declarations from m17n.h.

* m17n-flt.h: Include m17n-core.h instead of m17n.h.
(struct _MFLTOtfFeatures): New struct.
(struct _MFLTOtfSpec): Delete gsub, gpos, etc, add gsub_gpos.
(struct _MFLTFont): Delete otf, add check_otf.
(MCHAR_INVALID_CODE): Define it.

* m17n.h: Move database related declarations to m17n-core.h
(Mharset): Don't extern it.

* m17n-flt.c: Include m17n-core.h instead of m17n.h.
(Mexist): New variable.
(enum FontLayoutCmdRuleSrcType): New enum SRC_EXIST.
(FontLayoutCmdRule): New member src.exist.
(parse_otf_command): Handle gsub_count and gpos_count separately.
(load_otf_command): Adjusted for the change of MFLTOtfSpec.
(load_command): Handle the command "exist".
(free_flt_command): Adjusted for the change of MFLTOtfSpec.
(run_rule): Handle the case SRC_EXIST.
(run_otf): Adjusted for the change of MFLTOtfSpec.
(run_command): Check the range of FROM.
(check_otf_spec): Delete it.
(m17n_init_flt): Call m17n_init_core instead of m17n_init.
Initialize Mexist.
(m17n_fini_flt): Call m17n_fini_core instead of m17n_fiini.
(mflt_find): Call font->check_otf instead of check_otf_spec.
(mflt_run): Keep the metrics in 26.6 fixed point.

* database.c: Include m17n-core.h instead of m17n.h.
(load_chartable): Use mtext__from_data.
(load_charset): Moved to charset.c
(load_database): Call mdatabase__load_charset_func instead of
load_charset.
(mdatabase__load_charset_func): New variable.
(mdatabase__init): Initialize mdatabase__load_charset_func and
Mcharset.  Don't set mdatabase__finder and mdatabase__loader.
(mdatabase__save): Use fwrite, not mconv_encode_stream.
(Mcharset): Declare it here.

17 years agoInclude m17n-core.h instead of m17n.h.
handa [Fri, 12 Oct 2007 05:45:31 +0000 (05:45 +0000)]
Include m17n-core.h instead of m17n.h.
(struct _MFLTOtfFeatures): New struct.
(struct _MFLTOtfSpec): Delete gsub, gpos, etc, add gsub_gpos.
(struct _MFLTFont): Delete otf, add check_otf.
(MCHAR_INVALID_CODE): Define it.

17 years ago*** empty log message ***
handa [Fri, 12 Oct 2007 05:43:43 +0000 (05:43 +0000)]
*** empty log message ***

17 years ago(read_mtext_element): Simplify the code.
handa [Fri, 12 Oct 2007 05:43:39 +0000 (05:43 +0000)]
(read_mtext_element): Simplify the code.

17 years ago* m17n.h: Move database related declarations to m17n-core.h
handa [Fri, 12 Oct 2007 05:42:45 +0000 (05:42 +0000)]
* m17n.h: Move database related declarations to m17n-core.h
(Mharset): Don't extern it.

* m17n-flt.c: Include m17n-core.h instead of m17n.h.
(Mexist): New variable.
(enum FontLayoutCmdRuleSrcType): New enum SRC_EXIST.
(FontLayoutCmdRule): New member src.exist.
(parse_otf_command): Handle gsub_count and gpos_count separately.
(load_otf_command): Adjusted for the change of MFLTOtfSpec.
(load_command): Handle the command "exist".
(free_flt_command): Adjusted for the change of MFLTOtfSpec.
(run_rule): Handle the case SRC_EXIST.
(run_otf): Adjusted for the change of MFLTOtfSpec.
(run_command): Check the range of FROM.
(check_otf_spec): Delete it.
(m17n_init_flt): Call m17n_init_core instead of m17n_init.
Initialize Mexist.
(m17n_fini_flt): Call m17n_fini_core instead of m17n_fiini.
(mflt_find): Call font->check_otf instead of check_otf_spec.
(mflt_run): Keep the metrics in 26.6 fixed point.

* database.c: Include m17n-core.h instead of m17n.h.
(load_chartable): Use mtext__from_data.
(load_charset): Moved to charset.c
(load_database): Call mdatabase__load_charset_func instead of
load_charset.
(mdatabase__load_charset_func): New variable.
(mdatabase__init): Initialize mdatabase__load_charset_func and
Mcharset.  Don't set mdatabase__finder and mdatabase__loader.
(mdatabase__save): Use fwrite, not mconv_encode_stream.
(Mcharset): Declare it here.

17 years ago(m17n_init): Don't call mdatabase__init.
handa [Fri, 12 Oct 2007 05:41:47 +0000 (05:41 +0000)]
(m17n_init): Don't call mdatabase__init.

17 years ago(read_rgb_txt): Check also /etc/X11/rgb.txt. Downcase
handa [Fri, 12 Oct 2007 05:41:03 +0000 (05:41 +0000)]
(read_rgb_txt): Check also /etc/X11/rgb.txt.  Downcase
color names.

17 years agoInclude m17n-core.h instead of m17n.h.
handa [Fri, 12 Oct 2007 05:40:00 +0000 (05:40 +0000)]
Include m17n-core.h instead of m17n.h.
(Mexist): New variable.
(enum FontLayoutCmdRuleSrcType): New enum SRC_EXIST.
(FontLayoutCmdRule): New member src.exist.
(parse_otf_command): Handle gsub_count and gpos_count separately.
(load_otf_command): Adjusted for the change of MFLTOtfSpec.
(load_command): Handle the command "exist".
(free_flt_command): Adjusted for the change of MFLTOtfSpec.
(run_rule): Handle the case SRC_EXIST.
(run_otf): Adjusted for the change of MFLTOtfSpec.
(run_command): Check the range of FROM.
(check_otf_spec): Delete it.
(m17n_init_flt): Call m17n_init_core instead of m17n_init.
Initialize Mexist.
(m17n_fini_flt): Call m17n_fini_core instead of m17n_fiini.
(mflt_find): Call font->check_otf instead of check_otf_spec.
(mflt_run): Keep the metrics in 26.6 fixed point.

17 years ago(mdatabase__finder, mdatabase__loader): Delete them.
handa [Fri, 12 Oct 2007 05:34:39 +0000 (05:34 +0000)]
(mdatabase__finder, mdatabase__loader): Delete them.
(m17n_init_core): Call mdatabase__init.

17 years ago(device_open): Use mplist_add, not mplist_push.
handa [Fri, 12 Oct 2007 05:33:36 +0000 (05:33 +0000)]
(device_open): Use mplist_add, not mplist_push.

17 years ago(mdatabase__finder, mdatabase__loader): Delete externs
handa [Fri, 12 Oct 2007 05:32:43 +0000 (05:32 +0000)]
(mdatabase__finder, mdatabase__loader): Delete externs
of them.

17 years ago(Mexist): New variable.
handa [Fri, 12 Oct 2007 05:31:51 +0000 (05:31 +0000)]
(Mexist): New variable.
(enum FontLayoutCmdRuleSrcType): New enum SRC_EXIST.
(FontLayoutCmdRule): New member src.exist.
(load_category_table): Use isalnum, not isalpha.
(load_command): Check the command "exist".
(run_rule): Hande the case SRC_EXIST.
(run_command): Check the range of FROM.
(mfont__flt_init): Initialize Mexist.

17 years ago(layout_glyphs): Fix calculation of off_x and off_y.
handa [Fri, 12 Oct 2007 05:28:53 +0000 (05:28 +0000)]
(layout_glyphs): Fix calculation of off_x and off_y.

17 years ago(mdatabase__load_charset_func): Extern it.
handa [Fri, 12 Oct 2007 05:17:14 +0000 (05:17 +0000)]
(mdatabase__load_charset_func): Extern it.

17 years ago* database.c: Include m17n-core.h instead of m17n.h.
handa [Fri, 12 Oct 2007 05:14:21 +0000 (05:14 +0000)]
* database.c: Include m17n-core.h instead of m17n.h.
(load_chartable): Use mtext__from_data.
(load_charset): Moved to charset.c
(load_database): Call mdatabase__load_charset_func instead of
load_charset.
(mdatabase__load_charset_func): New variable.
(mdatabase__init): Initialize mdatabase__load_charset_func and
Mcharset.  Don't set mdatabase__finder and mdatabase__loader.
(mdatabase__save): Use fwrite, not mconv_encode_stream.
(Mcharset): Declare it here.

17 years agoInclude "database.h.".
handa [Fri, 12 Oct 2007 04:55:05 +0000 (04:55 +0000)]
Include "database.h.".
(load_charset): Moved from database.c.
(mcharset__init): Initialize mdatabase__load_charset_func, don't
initialize Mcharset.

17 years ago(mchar_define_property): Call mdatabase_find directly.
handa [Fri, 12 Oct 2007 04:52:25 +0000 (04:52 +0000)]
(mchar_define_property): Call mdatabase_find directly.
(mchar_get_prop): Call mdatabase_add directly.
(mchar_put_prop): Call mdatabase_load directly.
(mchar_get_prop_table): Likewise.

17 years ago(libm17n_core_la_SOURCES): Add database.[ch].
handa [Fri, 12 Oct 2007 04:50:47 +0000 (04:50 +0000)]
(libm17n_core_la_SOURCES): Add database.[ch].
(libm17n_la_SOURCES): Remove database.[ch].
(libm17n_flt_la_LIBADD): Delete libm17n.la, add libm17n-core.la.

17 years ago*** empty log message ***
handa [Fri, 12 Oct 2007 04:49:25 +0000 (04:49 +0000)]
*** empty log message ***

17 years agoDon't require m17n-shell.
handa [Fri, 12 Oct 2007 04:48:50 +0000 (04:48 +0000)]
Don't require m17n-shell.

17 years ago*** empty log message ***
handa [Tue, 18 Sep 2007 06:36:30 +0000 (06:36 +0000)]
*** empty log message ***

17 years ago(mface__realize): Try Freetype based font at first.
handa [Tue, 18 Sep 2007 06:36:27 +0000 (06:36 +0000)]
(mface__realize): Try Freetype based font at first.

17 years ago*** empty log message ***
handa [Tue, 18 Sep 2007 00:10:30 +0000 (00:10 +0000)]
*** empty log message ***

17 years ago(main): Use "generic" fontset by default.
handa [Tue, 18 Sep 2007 00:09:52 +0000 (00:09 +0000)]
(main): Use "generic" fontset by default.

17 years ago*** empty log message ***
handa [Sun, 16 Sep 2007 10:59:54 +0000 (10:59 +0000)]
*** empty log message ***

17 years ago(load_flt): New arg full. If full is zero, load only
handa [Sun, 16 Sep 2007 10:59:49 +0000 (10:59 +0000)]
(load_flt): New arg full.  If full is zero, load only
coverage.
(run_otf): Call font->get_metrics, not font->get_metric.
(run_stages): Likewise.
(CHECK_FLT_COVERAGE): New macro.
(CHECK_FLT_STAGES): Call load_flt with the second arg 1.
(check_otf_spec): New function.
(m17n_fini_flt): Unref flt->coverage.
(mflt_find): Argument changed.
(mflt_name): New function.
(mflt_coverage): Use CHECK_FLT_COVERAGE.

17 years ago(mflt_find): Prototype adjusted.
handa [Sun, 16 Sep 2007 10:42:35 +0000 (10:42 +0000)]
(mflt_find): Prototype adjusted.
(mflt_name): Extern it.

17 years ago*** empty log message ***
handa [Fri, 14 Sep 2007 05:05:55 +0000 (05:05 +0000)]
*** empty log message ***

17 years ago(struct _MFLTGlyph): Change signedness of members.
handa [Fri, 14 Sep 2007 05:05:51 +0000 (05:05 +0000)]
(struct _MFLTGlyph): Change signedness of members.

17 years ago*** empty log message ***
handa [Fri, 14 Sep 2007 05:02:54 +0000 (05:02 +0000)]
*** empty log message ***

17 years ago(run_otf): Make debug info printing comaptible with
handa [Fri, 14 Sep 2007 05:02:41 +0000 (05:02 +0000)]
(run_otf): Make debug info printing comaptible with
that of m17n-flt.c.
(run_command): Likewise.
(mfont__flt_run): Likewise.

17 years ago(UPDATE_CLUSTER_RANGE): ctx->cluster_begin_idx is
handa [Fri, 14 Sep 2007 05:01:34 +0000 (05:01 +0000)]
(UPDATE_CLUSTER_RANGE): ctx->cluster_begin_idx is
invalid only when it's negative.
(run_otf): Likewise.
(run_command): Likewise.
(mflt_run): Initialize ctx.cluster_begin_idx to -1.

17 years ago*** empty log message ***
handa [Mon, 10 Sep 2007 05:12:42 +0000 (05:12 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
handa [Mon, 10 Sep 2007 04:50:34 +0000 (04:50 +0000)]
*** empty log message ***

17 years ago(struct _MFLTGlyph): New member encoded and measured.
handa [Mon, 10 Sep 2007 04:50:26 +0000 (04:50 +0000)]
(struct _MFLTGlyph): New member encoded and measured.
(struct _MFLTFont): Prototype of get_glyph_id changed.

17 years ago(enum GlyphInfoMask): Delete EncodedMask and
handa [Mon, 10 Sep 2007 04:49:47 +0000 (04:49 +0000)]
(enum GlyphInfoMask): Delete EncodedMask and
PositionedMask.
(GAPPEND): Delete this macro.
(GET_ENCODED, SET_ENCODED, GET_MEASURED, SET_MEASURED): Adjusted
for the change of MFLTGlyph.  Caller changed.
(run_otf): Simply calls font->get_glyph_id.
(run_command): Reset g->encoded and g->measured for direct code.
(positioning): Delete this function.
(run_stages): Simply calls font->get_glyph_id and font->get_metric.

17 years ago(compose_glyph_string): Improve script detection.
handa [Fri, 7 Sep 2007 08:03:19 +0000 (08:03 +0000)]
(compose_glyph_string): Improve script detection.

17 years ago*** empty log message ***
handa [Thu, 6 Sep 2007 04:04:32 +0000 (04:04 +0000)]
*** empty log message ***

17 years ago(mflt_get): Extern it.
handa [Thu, 6 Sep 2007 04:04:28 +0000 (04:04 +0000)]
(mflt_get): Extern it.

17 years ago(run_stages): Call positioning only if
handa [Thu, 6 Sep 2007 04:04:09 +0000 (04:04 +0000)]
(run_stages): Call positioning only if
font->get_metric is non-NULL.
(CHECK_FLT_STAGES): Fix typo.
(mflt_get): New function.

17 years ago(mfont__flt_run): Improve debug info printing.
handa [Thu, 6 Sep 2007 04:03:21 +0000 (04:03 +0000)]
(mfont__flt_run): Improve debug info printing.

17 years ago*** empty log message ***
handa [Tue, 4 Sep 2007 14:41:57 +0000 (14:41 +0000)]
*** empty log message ***

17 years ago(mflt_find): Prototype adjusted.
handa [Tue, 4 Sep 2007 14:41:53 +0000 (14:41 +0000)]
(mflt_find): Prototype adjusted.

17 years ago*** empty log message ***
handa [Tue, 4 Sep 2007 14:41:13 +0000 (14:41 +0000)]
*** empty log message ***

17 years ago(MFontLayoutTable): Delete this type.
handa [Tue, 4 Sep 2007 14:38:59 +0000 (14:38 +0000)]
(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.

17 years ago(mflt_coverage): Extern it.
handa [Tue, 4 Sep 2007 14:21:45 +0000 (14:21 +0000)]
(mflt_coverage): Extern it.

17 years ago*** empty log message ***
handa [Mon, 3 Sep 2007 00:35:56 +0000 (00:35 +0000)]
*** empty log message ***

17 years ago(MTABLE_CALLOC_SAFE, MSTRUCT_CALLOC_SAFE): New macros.
handa [Mon, 3 Sep 2007 00:35:52 +0000 (00:35 +0000)]
(MTABLE_CALLOC_SAFE, MSTRUCT_CALLOC_SAFE): New macros.

17 years ago(mdatabase__props): New function.
handa [Mon, 3 Sep 2007 00:35:36 +0000 (00:35 +0000)]
(mdatabase__props): New function.

17 years ago* database.h (mdatabase__props): Extern it.
handa [Mon, 3 Sep 2007 00:35:05 +0000 (00:35 +0000)]
* database.h (mdatabase__props): Extern it.

* m17n-flt.c: Include "database.h".
(struct _MFLT): New struct.
(list_flt): New function.
(load_flt): Don't update flt_list.
(get_font_layout_table): Use flt_list.
(m17n_init_flt): Don't initialize flt_list.
(m17n_fini_flt): Adjusted for the change of flt_list.
(mflt_find): New function.
(mflt_run): Fix debug printing.

17 years ago(struct _MFLTGlyphString): Delete user_data, add
handa [Mon, 3 Sep 2007 00:34:45 +0000 (00:34 +0000)]
(struct _MFLTGlyphString): Delete user_data, add
script and langsys.
(struct _MFLTFont): Add suitable_p.
(mflt_find): Extern it.

17 years agoInclude "database.h".
handa [Mon, 3 Sep 2007 00:33:30 +0000 (00:33 +0000)]
Include "database.h".
(struct _MFLT): New struct.
(list_flt): New function.
(load_flt): Don't update flt_list.
(get_font_layout_table): Use flt_list.
(m17n_init_flt): Don't initialize flt_list.
(m17n_fini_flt): Adjusted for the change of flt_list.
(mflt_find): New function.
(mflt_run): Fix debug printing.