m17n/m17n-lib.git
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.

17 years ago*** empty log message ***
handa [Thu, 23 Aug 2007 07:35:32 +0000 (07:35 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
handa [Thu, 23 Aug 2007 04:38:38 +0000 (04:38 +0000)]
*** empty log message ***

17 years ago(mfont__flt_run): Don't calculate a glyph metric if
handa [Thu, 23 Aug 2007 04:38:34 +0000 (04:38 +0000)]
(mfont__flt_run): Don't calculate a glyph metric if
the glyph is already handled by OTF.

17 years ago(run_otf): Remove #ifdef HAVE_OTF and #endi.
handa [Thu, 23 Aug 2007 02:28:35 +0000 (02:28 +0000)]
(run_otf): Remove #ifdef HAVE_OTF and #endi.
(run_stages): Print separator in encoded string as "|".

17 years ago*** empty log message ***
handa [Tue, 21 Aug 2007 07:17:37 +0000 (07:17 +0000)]
*** empty log message ***

17 years ago(ft_check_capability): Check cap->script_tag at first.
handa [Tue, 21 Aug 2007 07:17:33 +0000 (07:17 +0000)]
(ft_check_capability): Check cap->script_tag at first.

17 years ago*** empty log message ***
handa [Mon, 20 Aug 2007 14:02:06 +0000 (14:02 +0000)]
*** empty log message ***

17 years ago(mfont__flt_run): Get glyph metrics before printing
handa [Mon, 20 Aug 2007 14:02:02 +0000 (14:02 +0000)]
(mfont__flt_run): Get glyph metrics before printing
debug information.

17 years ago*** empty log message ***
handa [Fri, 17 Aug 2007 13:03:37 +0000 (13:03 +0000)]
*** empty log message ***

17 years ago(struct _MFLTGlyphString): Member pointer renamed to
handa [Fri, 17 Aug 2007 13:02:53 +0000 (13:02 +0000)]
(struct _MFLTGlyphString): Member pointer renamed to
user_data.
(MFLTOtfSpec): Renamed from MFLT_OTF_Spec.
(MFLTFont): Prototype of the member drive_otf adjusted.

17 years ago(run_stages): Fix handling of padding.
handa [Fri, 17 Aug 2007 07:32:10 +0000 (07:32 +0000)]
(run_stages): Fix handling of padding.

17 years ago(get_glyph_metric): New function.
handa [Fri, 17 Aug 2007 07:31:49 +0000 (07:31 +0000)]
(get_glyph_metric): New function.
(DEVICE_DELTA): Return 26.6 fixed point value.
(adjust_anchor): Likewise.
(mfont__ft_drive_otf): Use get_glyph_metric.

17 years ago(mfont__flt_run): Pay attention to padding on
handa [Fri, 17 Aug 2007 07:30:27 +0000 (07:30 +0000)]
(mfont__flt_run): Pay attention to padding on
printing debug info.

17 years ago*** empty log message ***
handa [Thu, 16 Aug 2007 12:08:18 +0000 (12:08 +0000)]
*** empty log message ***

17 years ago(run_stages): Fix typo.
handa [Thu, 16 Aug 2007 12:08:13 +0000 (12:08 +0000)]
(run_stages): Fix typo.

17 years ago*** empty log message ***
handa [Thu, 16 Aug 2007 06:00:05 +0000 (06:00 +0000)]
*** empty log message ***

17 years ago(adjust_anchor): Argument changed. Calculte based on
handa [Thu, 16 Aug 2007 06:00:02 +0000 (06:00 +0000)]
(adjust_anchor): Argument changed.  Calculte based on
26.6 fixed point.
(mfont__ft_drive_otf): Don't call OTF_check_features for GPOS.
Adjusted for the argument change of adjust_anchor.  Calculte based
on 26.6 fixed point.

17 years ago(mfont__ft_drive_otf): Don't call OTF_check_features
handa [Thu, 16 Aug 2007 05:20:09 +0000 (05:20 +0000)]
(mfont__ft_drive_otf): Don't call OTF_check_features
for GPOS.

17 years ago* m17n-flt.pc.in (prefix): New file.
handa [Wed, 15 Aug 2007 12:37:34 +0000 (12:37 +0000)]
* m17n-flt.pc.in (prefix): New file.

17 years ago*** empty log message ***
handa [Wed, 15 Aug 2007 12:37:24 +0000 (12:37 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
handa [Wed, 15 Aug 2007 11:45:44 +0000 (11:45 +0000)]
*** empty log message ***

17 years ago(mcharset__load_from_database): Set mdebug_flag
handa [Wed, 15 Aug 2007 11:45:39 +0000 (11:45 +0000)]
(mcharset__load_from_database): Set mdebug_flag
instead of mdebug_mask.

17 years ago(mcoding__load_from_database): Set mdebug_flag instead
handa [Wed, 15 Aug 2007 11:45:21 +0000 (11:45 +0000)]
(mcoding__load_from_database): Set mdebug_flag instead
of mdebug_mask.

17 years ago(load_database): Set mdebug_flag instead of
handa [Wed, 15 Aug 2007 11:45:05 +0000 (11:45 +0000)]
(load_database): Set mdebug_flag instead of
mdebug_mask.
(mdatabase__load_for_keys): Likewise.

17 years agoInclude "internal-flt.h".
handa [Wed, 15 Aug 2007 11:44:38 +0000 (11:44 +0000)]
Include "internal-flt.h".
(dump_combining_code): Don't subtract 128 from combining code
off_x/y.

17 years ago* font-flt.c: Include "internal-flt.h". Set mdebug_flag instead
handa [Wed, 15 Aug 2007 11:42:58 +0000 (11:42 +0000)]
* font-flt.c: Include "internal-flt.h".  Set mdebug_flag instead
of mdebug_mask.
(run_rule): Print debug info only when MDEBUG_FLAG is greater than
2.
(run_cond): Likewise.
(run_otf): Likewise.
(run_command): Likewise.
(mfont__flt_run): Change format of debug info.

* m17n-flt.c: New file created by modifying font-flt.c.

17 years agoInclude "internal-flt.h".
handa [Wed, 15 Aug 2007 11:40:59 +0000 (11:40 +0000)]
Include "internal-flt.h".
Set mdebug_flag instead of mdebug_mask.
(mfont__ft_drive_otf): Fix arg to OTF_check_features.

17 years agoSet mdebug_flag instead of mdebug_mask.
handa [Wed, 15 Aug 2007 11:40:14 +0000 (11:40 +0000)]
Set mdebug_flag instead of mdebug_mask.
(shift_state): New MDEBUG_FLAG macro.
(preedit_commit): Likewise.
(filter): Likewise.

17 years ago* internal-flt.h: New file.
handa [Wed, 15 Aug 2007 11:39:32 +0000 (11:39 +0000)]
* internal-flt.h: New file.

* internal-gui.h (MAKE_COMBINING_CODE, COMBINING_CODE_OFF_Y)
(COMBINING_CODE_OFF_X, COMBINING_CODE_BASE_X)
(COMBINING_CODE_BASE_Y, COMBINING_CODE_ADD_X)
(COMBINING_CODE_ADD_Y, MAKE_COMBINING_CODE_BY_CLASS)
(COMBINING_BY_CLASS_P, COMBINING_CODE_CLASS)
(MAKE_PRECOMPUTED_COMBINDING_CODE, COMBINING_PRECOMPUTED_P): Move
these macros to internal-flt.h.

17 years ago(MAKE_COMBINING_CODE, COMBINING_CODE_OFF_Y)
handa [Wed, 15 Aug 2007 11:39:19 +0000 (11:39 +0000)]
(MAKE_COMBINING_CODE, COMBINING_CODE_OFF_Y)
(COMBINING_CODE_OFF_X, COMBINING_CODE_BASE_X)
(COMBINING_CODE_BASE_Y, COMBINING_CODE_ADD_X)
(COMBINING_CODE_ADD_Y, MAKE_COMBINING_CODE_BY_CLASS)
(COMBINING_BY_CLASS_P, COMBINING_CODE_CLASS)
(MAKE_PRECOMPUTED_COMBINDING_CODE, COMBINING_PRECOMPUTED_P): Move
these macros to internal-flt.h.

17 years ago(M17N_OBJECT_ADD_ARRAY): Adjusted for the change of
handa [Wed, 15 Aug 2007 11:38:10 +0000 (11:38 +0000)]
(M17N_OBJECT_ADD_ARRAY): Adjusted for the change of
mdebug__flags.
(M17N_OBJECT_REGISTER, M17N_OBJECT_UNREGISTER): Likewise.
(enum MDebugMaskBit): Delete this enum.
(enum MDebugFlag): New enum.
(mdebug__flag): Don't extern it.
(mdebug__flags): Extern it.
(MDEBUG_FLAG): New macro.
(MDEBUG_PRINT0): Use the macro MDEBUG_FLAG.
(MDEBUG_DUMP, MDEBUG_PUSH_TIME, MDEBUG_POP_TIME)
(MDEBUG_PRINT_TIME): Likewise.

17 years ago(xfont_open): Set mdebug_flag instead of mdebug_mask.
handa [Wed, 15 Aug 2007 11:35:50 +0000 (11:35 +0000)]
(xfont_open): Set mdebug_flag instead of mdebug_mask.
(xfont_list): Likewise.

17 years ago(mdebug__flag): Delete this variable.
handa [Wed, 15 Aug 2007 11:35:21 +0000 (11:35 +0000)]
(mdebug__flag): Delete this variable.
(mdebug__flags): New variable.
(SET_DEBUG_FLAG): Make it a function.
(m17n_init_core): Set mdebug_flag instead of mdebug_mask.
(m17n_fini_core): Likewise.

17 years ago(m17n_init_win): Set mdebug_flag instead of mdebug_mask.
handa [Wed, 15 Aug 2007 11:33:56 +0000 (11:33 +0000)]
(m17n_init_win): Set mdebug_flag instead of mdebug_mask.
(m17n_fini_win): Likewise.