m17n/m17n-lib.git
14 years ago(struct MFontDriver): New member try_otf.
handa [Fri, 15 Jan 2010 12:12:37 +0000 (12:12 +0000)]
(struct MFontDriver): New member try_otf.

14 years ago(xft_driver): Set xft_try_otf.
handa [Fri, 15 Jan 2010 12:11:51 +0000 (12:11 +0000)]
(xft_driver): Set xft_try_otf.
(xft_try_otf): New function.

14 years ago(mflt_enable_new_feature): Extern it.
handa [Fri, 15 Jan 2010 12:11:16 +0000 (12:11 +0000)]
(mflt_enable_new_feature): Extern it.
(mflt_try_otf): Extern it.

14 years ago(load_category_table): If mflt_enable_new_feature is
handa [Fri, 15 Jan 2010 12:10:47 +0000 (12:10 +0000)]
(load_category_table): If mflt_enable_new_feature is
zero, return NULL for such categories that require the new
feature.
(parse_otf_command): If mflt_enable_new_feature is zero, return
-1.
(load_otf_command): Fix previous change.
(load_flt): Check the return value of load_category_table.
(try_otf): Renamed from run_otf_category.  Call mflt_try_otf
instead of font->drive_otf.
(run_command): Call try_otf instead of run_otf_category.
(m17n_init_flt): Initialize mflt_enable_new_feature to 0,
mflt_try_otf to NULL.
(mflt_enable_new_feature): New variable.
(mflt_try_otf): New variable.

14 years ago(run_otf_category): Fix previous change.
handa [Thu, 10 Dec 2009 06:30:08 +0000 (06:30 +0000)]
(run_otf_category): Fix previous change.

14 years ago(parse_otf_command): Handle ":otf?".
handa [Thu, 10 Dec 2009 02:51:26 +0000 (02:51 +0000)]
(parse_otf_command): Handle ":otf?".
(run_otf_category): If not features are specified, reset category
codes.
(run_command): On copy, don't re-calculate a category code.

14 years ago*** empty log message ***
handa [Thu, 10 Dec 2009 02:51:15 +0000 (02:51 +0000)]
*** empty log message ***

14 years ago(decode_packed_otf_tag): Cancel previous change.
handa [Thu, 3 Dec 2009 08:13:40 +0000 (08:13 +0000)]
(decode_packed_otf_tag): Cancel previous change.

14 years ago(decode_packed_otf_tag): Re-calculate category code only if some
handa [Thu, 3 Dec 2009 08:08:56 +0000 (08:08 +0000)]
(decode_packed_otf_tag): Re-calculate category code only if some
feature is applied.

14 years ago*** empty log message ***
handa [Thu, 3 Dec 2009 07:52:11 +0000 (07:52 +0000)]
*** empty log message ***

14 years ago(run_stages): Reset category code if category-table
handa [Thu, 3 Dec 2009 07:51:46 +0000 (07:51 +0000)]
(run_stages): Reset category code if category-table
is changed.
(mflt_run): Don't set category code here.
(decode_packed_otf_tag): If no feature is applied, re-calculate
category code.
(run_command): On copy, don't re-calculate a category code.

14 years ago(run_stages): Fix previous change.
handa [Thu, 3 Dec 2009 07:22:46 +0000 (07:22 +0000)]
(run_stages): Fix previous change.
(mflt_run): Cancel previous change.

14 years ago*** empty log message ***
handa [Thu, 3 Dec 2009 07:15:10 +0000 (07:15 +0000)]
*** empty log message ***

14 years ago(run_stages): Reset category code if category-table
handa [Thu, 3 Dec 2009 07:15:06 +0000 (07:15 +0000)]
(run_stages): Reset category code if category-table
is changed.
(mflt_run): Don't set category code here.

14 years ago*** empty log message ***
handa [Wed, 2 Dec 2009 07:44:36 +0000 (07:44 +0000)]
*** empty log message ***

14 years ago(run_command): Don't set ENCODED and MEASURED of separator.
handa [Wed, 2 Dec 2009 07:44:30 +0000 (07:44 +0000)]
(run_command): Don't set ENCODED and MEASURED of separator.

14 years ago*** empty log message ***
handa [Wed, 2 Dec 2009 01:59:18 +0000 (01:59 +0000)]
*** empty log message ***

14 years ago(mflt_find): If FONT is specified but no flt is
handa [Wed, 2 Dec 2009 01:59:07 +0000 (01:59 +0000)]
(mflt_find): If FONT is specified but no flt is
found, return NULL.

15 years ago*** empty log message ***
handa [Mon, 30 Nov 2009 12:29:36 +0000 (12:29 +0000)]
*** empty log message ***

15 years ago(load_otf_command): Check 4th char against '?'.
handa [Mon, 30 Nov 2009 12:29:06 +0000 (12:29 +0000)]
(load_otf_command): Check 4th char against '?'.
(load_command): Likewise.
(decode_packed_otf_tag): New arg CTX.  If CTX->in == gstring,
update CTX->encoded.  Caller changed.

15 years ago*** empty log message ***
handa [Mon, 30 Nov 2009 11:49:02 +0000 (11:49 +0000)]
*** empty log message ***

15 years ago(ft_drive_otf): Check if OUT is null or not.
handa [Mon, 30 Nov 2009 11:48:42 +0000 (11:48 +0000)]
(ft_drive_otf): Check if OUT is null or not.
(ft_drive_otf): Call OTF_drive_gsub_with_log and
OTF_drive_gpos_with_log.  Record the applied feature in
g->g.internal.

15 years ago(mfont__get_glyph_id): Encode g->c instead of g->code.
handa [Mon, 30 Nov 2009 11:47:12 +0000 (11:47 +0000)]
(mfont__get_glyph_id): Encode g->c instead of g->code.

15 years ago(MAKE_COMBINING_CODE_BY_CLASS)
handa [Mon, 30 Nov 2009 11:46:49 +0000 (11:46 +0000)]
(MAKE_COMBINING_CODE_BY_CLASS)
(COMBINING_BY_CLASS_P, COMBINING_CODE_CLASS)
(MAKE_PRECOMPUTED_COMBINDING_CODE, COMBINING_PRECOMPUTED_P):
Delete externs..
(PACK_OTF_TAG): Extern it.

15 years ago(reorder_combining_chars): Delete it.
handa [Mon, 30 Nov 2009 11:46:18 +0000 (11:46 +0000)]
(reorder_combining_chars): Delete it.

15 years ago(mflt_font_id): Use type MFLFont.
handa [Mon, 30 Nov 2009 11:46:04 +0000 (11:46 +0000)]
(mflt_font_id): Use type MFLFont.
(mflt_iterate_otf_feature): Likewise.

15 years ago(enum FontLayoutCmdType): New member
handa [Thu, 26 Nov 2009 04:19:46 +0000 (04:19 +0000)]
(enum FontLayoutCmdType): New member
FontLayoutCmdTypeOTFCategory.
(FontLayoutFeatureTable): New type.
(FontLayoutCategory): New members feature_table_size and
feature_table.
(load_category_table): Handle feature_table.
(unref_category_table): Likewise.
(load_otf_command): Handle FontLayoutCmdTypeOTFCategory.
(load_command): Likewise.
(free_flt_command): Likewise.

15 years ago*** empty log message ***
handa [Tue, 10 Nov 2009 11:34:02 +0000 (11:34 +0000)]
*** empty log message ***

15 years ago(run_flt): Update category code of each glyph.
handa [Tue, 10 Nov 2009 11:33:57 +0000 (11:33 +0000)]
(run_flt): Update category code of each glyph.

15 years ago*** empty log message ***
handa [Sat, 7 Nov 2009 02:19:15 +0000 (02:19 +0000)]
*** empty log message ***

15 years ago(ft_drive_otf): Don't accumulate anchor adjustments.
handa [Sat, 7 Nov 2009 02:19:07 +0000 (02:19 +0000)]
(ft_drive_otf): Don't accumulate anchor adjustments.

15 years ago*** empty log message ***
handa [Thu, 5 Nov 2009 03:42:19 +0000 (03:42 +0000)]
*** empty log message ***

15 years agoCheck if the OTF library has OTF_drive_gpos2 ().
handa [Thu, 5 Nov 2009 03:42:14 +0000 (03:42 +0000)]
Check if the OTF library has OTF_drive_gpos2 ().

15 years ago(ft_drive_otf): Use OTF_drive_gpos2 if possible.
handa [Thu, 5 Nov 2009 03:41:05 +0000 (03:41 +0000)]
(ft_drive_otf): Use OTF_drive_gpos2 if possible.

15 years ago*** empty log message ***
handa [Wed, 28 Oct 2009 07:30:57 +0000 (07:30 +0000)]
*** empty log message ***

15 years ago(mdebug_flag): New variable.
handa [Wed, 28 Oct 2009 07:30:51 +0000 (07:30 +0000)]
(mdebug_flag): New variable.
(mfont__lookup_fontset): Print debug info.

15 years ago(m17n_init_core): Call SET_DEBUG_FLAG for
handa [Wed, 28 Oct 2009 07:30:26 +0000 (07:30 +0000)]
(m17n_init_core): Call SET_DEBUG_FLAG for
MDEBUG_FONTSET.

15 years ago(enum MDebugFlag): Add MDEBUG_FONTSET.
handa [Wed, 28 Oct 2009 07:29:57 +0000 (07:29 +0000)]
(enum MDebugFlag): Add MDEBUG_FONTSET.

15 years ago*** empty log message ***
handa [Wed, 28 Oct 2009 01:20:11 +0000 (01:20 +0000)]
*** empty log message ***

15 years ago(mscript__from_otf_tag): Adjusted for the new format
handa [Wed, 28 Oct 2009 01:20:05 +0000 (01:20 +0000)]
(mscript__from_otf_tag): Adjusted for the new format
of the database <standard script unicode>.

15 years ago*** empty log message ***
handa [Thu, 22 Oct 2009 04:10:08 +0000 (04:10 +0000)]
*** empty log message ***

15 years ago(check_version): Fix the check.
handa [Thu, 22 Oct 2009 04:10:04 +0000 (04:10 +0000)]
(check_version): Fix the check.

15 years ago*** empty log message ***
handa [Thu, 22 Oct 2009 00:38:56 +0000 (00:38 +0000)]
*** empty log message ***

15 years ago(surrounding_pos): New arg *pos.
handa [Wed, 21 Oct 2009 08:15:32 +0000 (08:15 +0000)]
(surrounding_pos): New arg *pos.
(integer_value): Fix handling of "@+0".
(take_action_list): Adjusted for the change of surrounding_pos.

15 years agoFix previous change.
handa [Mon, 5 Oct 2009 11:06:25 +0000 (11:06 +0000)]
Fix previous change.

15 years ago*** empty log message ***
handa [Mon, 5 Oct 2009 10:58:24 +0000 (10:58 +0000)]
*** empty log message ***

15 years agoVersion changed to 1.6.0.
handa [Mon, 5 Oct 2009 10:58:13 +0000 (10:58 +0000)]
Version changed to 1.6.0.
(API_VERSION): Changed to 4.0.4.

15 years agoDocstring updated.
handa [Mon, 5 Oct 2009 10:57:33 +0000 (10:57 +0000)]
Docstring updated.

15 years ago(mflt_iterate_otf_feature, mflt_font_id): Extern them.
handa [Mon, 5 Oct 2009 10:57:19 +0000 (10:57 +0000)]
(mflt_iterate_otf_feature, mflt_font_id): Extern them.

15 years ago(FontLayoutCategory): New typedef.
handa [Mon, 5 Oct 2009 10:56:48 +0000 (10:56 +0000)]
(FontLayoutCategory): New typedef.
(FontLayoutStage): Type of the member `category' changed.
(struct _MFLT): Type of the member `coverage' changed.  New member
need_config and font_id.
(apply_otf_feature): New function.
(load_category_table): New arg FONT.  If FONT is non-NULL, call
apply_otf_feature.  Setup category->definition.
(ref_category_table): New macro.
(unref_category_table): New function.
(load_flt): Adjusted for the type change of category.
(free_flt_stage): New arg FLT.
(list_flt): Adjusted for the type change of category.
(run_stages): Adjusted for the type change of category.
(configure_category, configure_flt): New function.
(m17n_init_flt): Initialize mflt_iterate_otf_feature and
mflt_font_id to NULL.
(mflt_get): Skip the heading configured FLTs.
(mflt_find): Likewise.  If necessary, configure the found flt.
(mflt_run): Handle mflt_iterate_otf_feature and mflt_font_id.
Adjusted for the type change of category.
(mflt_iterate_otf_feature, mflt_font_id): New variable.

15 years agoDocstring updated.
handa [Mon, 5 Oct 2009 08:12:47 +0000 (08:12 +0000)]
Docstring updated.

15 years ago(xfont_open): Set rfont->id.
handa [Mon, 5 Oct 2009 08:12:28 +0000 (08:12 +0000)]
(xfont_open): Set rfont->id.
(xft_driver): Set xft_iterate_otf_feature.
(xft_open): Set rfont->id.
(xft_iterate_otf_feature): New function.

15 years ago(struct MRealizedFont): New member id.
handa [Mon, 5 Oct 2009 08:11:22 +0000 (08:11 +0000)]
(struct MRealizedFont): New member id.
(struct MFontDriver): New member iterate_otf_feature.

15 years ago(mfont__get_glyph_id): Pay attention to. mfont->source.
handa [Mon, 5 Oct 2009 08:10:01 +0000 (08:10 +0000)]
(mfont__get_glyph_id): Pay attention to. mfont->source.

15 years ago(ft_open, ft_encapsulate): Set rfont->id.
handa [Mon, 5 Oct 2009 08:09:25 +0000 (08:09 +0000)]
(ft_open, ft_encapsulate): Set rfont->id.
(get_otf): New funcition.
(ft_check_otf, ft_drive_otf): Use get_otf.
(iterate_callback, ft_iterate_otf_feature): New functions.
(mfont__ft_driver): Set ft_iterate_otf_feature.

15 years agoDocstring updated.
handa [Mon, 5 Oct 2009 08:08:11 +0000 (08:08 +0000)]
Docstring updated.
(font_id): New function.
(run_flt): Set mflt_font_id and mflt_iterate_otf_feature before
calling mflt_run.

15 years ago*** empty log message ***
handa [Fri, 2 Oct 2009 12:59:15 +0000 (12:59 +0000)]
*** empty log message ***

15 years ago(load_flt): Check the return value of load_category_table.
handa [Fri, 2 Oct 2009 12:59:08 +0000 (12:59 +0000)]
(load_flt): Check the return value of load_category_table.

15 years ago*** empty log message ***
nisikimi [Mon, 7 Sep 2009 00:41:54 +0000 (00:41 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
handa [Thu, 3 Sep 2009 07:35:02 +0000 (07:35 +0000)]
*** empty log message ***

15 years ago(run_otf): Clear combining code for glyphs whose
handa [Thu, 3 Sep 2009 07:34:59 +0000 (07:34 +0000)]
(run_otf): Clear combining code for glyphs whose
positions are adjusted by GPOS table.

15 years ago*** empty log message ***
handa [Wed, 2 Sep 2009 01:56:13 +0000 (01:56 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
handa [Mon, 31 Aug 2009 07:40:36 +0000 (07:40 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
handa [Mon, 31 Aug 2009 06:34:33 +0000 (06:34 +0000)]
*** empty log message ***

15 years ago*** empty log message *** REL-1-5-5
handa [Thu, 13 Aug 2009 11:15:36 +0000 (11:15 +0000)]
*** empty log message ***

15 years ago(M17NLIB_PATCH_LEVEL): Changed to 5.
handa [Thu, 13 Aug 2009 11:15:20 +0000 (11:15 +0000)]
(M17NLIB_PATCH_LEVEL):  Changed to 5.
(M17NLIB_VERSION_NAME): Changed to "1.5.5".

15 years ago*** empty log message ***
handa [Thu, 13 Aug 2009 10:59:20 +0000 (10:59 +0000)]
*** empty log message ***

15 years ago*** empty log message *** REL-1-5-5-RC1
handa [Wed, 29 Jul 2009 12:20:44 +0000 (12:20 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
handa [Wed, 29 Jul 2009 11:59:57 +0000 (11:59 +0000)]
*** empty log message ***

15 years agoFix previous change.
handa [Wed, 29 Jul 2009 11:15:21 +0000 (11:15 +0000)]
Fix previous change.

15 years ago*** empty log message ***
handa [Wed, 29 Jul 2009 11:14:35 +0000 (11:14 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
handa [Wed, 29 Jul 2009 07:56:12 +0000 (07:56 +0000)]
*** empty log message ***

15 years agoAdd AC_CONFIG_MACRO_DIR([m4]). Update by autoupdate program.
handa [Wed, 29 Jul 2009 07:56:04 +0000 (07:56 +0000)]
Add AC_CONFIG_MACRO_DIR([m4]).  Update by autoupdate program.

15 years ago*** empty log message ***
handa [Wed, 29 Jul 2009 07:46:55 +0000 (07:46 +0000)]
*** empty log message ***

15 years agoAdd AC_CONFIG_MACRO_DIR([m4]).
handa [Wed, 29 Jul 2009 07:46:45 +0000 (07:46 +0000)]
Add AC_CONFIG_MACRO_DIR([m4]).

15 years ago*** empty log message ***
handa [Wed, 29 Jul 2009 07:11:17 +0000 (07:11 +0000)]
*** empty log message ***

15 years agoSimplified by using autoreconf.
handa [Wed, 29 Jul 2009 07:10:16 +0000 (07:10 +0000)]
Simplified by using autoreconf.

15 years ago*** empty log message ***
handa [Tue, 28 Jul 2009 07:33:56 +0000 (07:33 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
handa [Tue, 28 Jul 2009 07:27:49 +0000 (07:27 +0000)]
*** empty log message ***

15 years agoVersion changed to 1.5.5.
handa [Tue, 28 Jul 2009 07:27:13 +0000 (07:27 +0000)]
Version changed to 1.5.5.

15 years ago*** empty log message ***
handa [Wed, 1 Jul 2009 12:01:15 +0000 (12:01 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
handa [Tue, 30 Jun 2009 01:14:54 +0000 (01:14 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
handa [Tue, 3 Mar 2009 07:27:35 +0000 (07:27 +0000)]
*** empty log message ***

15 years ago(compose_glyph_string): Check if category not Mnil.
handa [Tue, 3 Mar 2009 07:27:29 +0000 (07:27 +0000)]
(compose_glyph_string): Check if category not Mnil.

15 years ago*** empty log message *** REL-1-5-4
handa [Mon, 2 Mar 2009 03:58:01 +0000 (03:58 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
handa [Wed, 25 Feb 2009 02:56:34 +0000 (02:56 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
handa [Wed, 25 Feb 2009 02:51:32 +0000 (02:51 +0000)]
*** empty log message ***

15 years ago(report_object_array): For M-text and Plist, print
handa [Wed, 25 Feb 2009 02:51:25 +0000 (02:51 +0000)]
(report_object_array): For M-text and Plist, print
more information.

15 years agoVersion changes to 1.5.4.
handa [Wed, 25 Feb 2009 02:50:12 +0000 (02:50 +0000)]
Version changes to 1.5.4.

15 years ago(M17NLIB_PATCH_LEVEL): Changed to 4.
handa [Wed, 25 Feb 2009 02:49:01 +0000 (02:49 +0000)]
(M17NLIB_PATCH_LEVEL): Changed to 4.
(M17NLIB_VERSION_NAME): Changed to "1.5.4".

15 years ago*** empty log message ***
handa [Wed, 25 Feb 2009 02:42:34 +0000 (02:42 +0000)]
*** empty log message ***

15 years ago(get_candidate_list): Free unnecessary objects.
handa [Wed, 25 Feb 2009 02:40:27 +0000 (02:40 +0000)]
(get_candidate_list): Free unnecessary objects.
(take_action_list): Free plist.

15 years ago(mcoding__init): Add "Shift_JIS" as an alias of "sjis".
handa [Wed, 4 Feb 2009 11:31:30 +0000 (11:31 +0000)]
(mcoding__init): Add "Shift_JIS" as an alias of "sjis".

15 years ago*** empty log message ***
nisikimi [Fri, 16 Jan 2009 06:10:27 +0000 (06:10 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
handa [Fri, 16 Jan 2009 05:38:32 +0000 (05:38 +0000)]
*** empty log message ***

15 years ago(Mcased, Msoft_dotted, Mcase_mapping, Mblock): New
handa [Fri, 16 Jan 2009 05:38:23 +0000 (05:38 +0000)]
(Mcased, Msoft_dotted, Mcase_mapping, Mblock): New
variables.

15 years ago(Mcased, Msoft_dotted, Mcase_mapping, Mblock):
handa [Fri, 16 Jan 2009 05:38:16 +0000 (05:38 +0000)]
(Mcased, Msoft_dotted, Mcase_mapping, Mblock):
Extern them.

15 years ago*** empty log message ***
nisikimi [Thu, 15 Jan 2009 05:26:54 +0000 (05:26 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
handa [Thu, 15 Jan 2009 01:46:58 +0000 (01:46 +0000)]
*** empty log message ***

15 years ago(suppress_warning, continue_on_error): Make them global
handa [Thu, 15 Jan 2009 01:46:30 +0000 (01:46 +0000)]
(suppress_warning, continue_on_error): Make them global
variables.
(check_invalid_bytes, check_unencoded_chars): Check
suppress_warning and continue_on_error.
(unknown_encoding): New function.
(FATAL_ERROR): Check suppress_warning.
(main): Use unknown_encoding.  Call check_invalid_bytes and
check_unencoded_chars unconditionally.