m17n/m17n-lib.git
13 years agoFix help string for --enable-gui.
handa [Thu, 12 Aug 2010 07:47:43 +0000 (07:47 +0000)]
Fix help string for --enable-gui.

13 years ago*** empty log message ***
handa [Thu, 12 Aug 2010 07:33:33 +0000 (07:33 +0000)]
*** empty log message ***

13 years ago(mfont__init): Initialize buf to NULL.
handa [Thu, 12 Aug 2010 07:33:27 +0000 (07:33 +0000)]
(mfont__init): Initialize buf to NULL.
(mfont__id): Likewise.

13 years ago(ft_encapsulate): Use MDEBUG_PRINT1 instead of
handa [Thu, 12 Aug 2010 07:33:06 +0000 (07:33 +0000)]
(ft_encapsulate): Use MDEBUG_PRINT1 instead of
MDEBUG_DUMP.
(ft_check_otf): Move the label not_otf: within #ifdef HAVE_OTF.
(get_otf): Move the code within #ifdef HAVE_OTF.
(ft_drive_otf): Move declarations of some local variables within
#ifdef HAVE_OTF.

13 years ago(shift_state): Just set ic_info->state_hook, instead of
handa [Wed, 11 Aug 2010 11:25:08 +0000 (11:25 +0000)]
(shift_state): Just set ic_info->state_hook, instead of
taking state-hook actions.
(handle_key): Check ic_info->state_hook.  If KEY is unhandled,
init ic_info->state_hook.

13 years ago*** empty log message ***
handa [Wed, 11 Aug 2010 11:24:52 +0000 (11:24 +0000)]
*** empty log message ***

13 years ago(MInputContextInfo): New member state_hook.
handa [Wed, 11 Aug 2010 11:24:45 +0000 (11:24 +0000)]
(MInputContextInfo): New member state_hook.

13 years ago*** empty log message ***
handa [Mon, 9 Aug 2010 07:50:09 +0000 (07:50 +0000)]
*** empty log message ***

13 years ago(try_otf): Remove unused local vars.
handa [Mon, 9 Aug 2010 07:50:05 +0000 (07:50 +0000)]
(try_otf): Remove unused local vars.

13 years ago(fully_initialize): Avoid compiler warning by casting.
handa [Mon, 9 Aug 2010 07:49:22 +0000 (07:49 +0000)]
(fully_initialize): Avoid compiler warning by casting.

13 years ago(m17n_init_core): Fix handling of env_value.
handa [Mon, 9 Aug 2010 07:48:43 +0000 (07:48 +0000)]
(m17n_init_core): Fix handling of env_value.

13 years ago(realize_fontset_elements): Fix typo (pl->plist).
handa [Mon, 9 Aug 2010 07:48:15 +0000 (07:48 +0000)]
(realize_fontset_elements): Fix typo (pl->plist).

13 years ago(decode_coding_iso_2022): Sanitize "if" condition.
handa [Mon, 9 Aug 2010 07:47:08 +0000 (07:47 +0000)]
(decode_coding_iso_2022): Sanitize "if" condition.

14 years agoAdd Unicode 5.1 based Myanmar. REL-1-6-1
handa [Fri, 23 Apr 2010 03:57:19 +0000 (03:57 +0000)]
Add Unicode 5.1 based Myanmar.

14 years ago*** empty log message ***
handa [Fri, 23 Apr 2010 03:56:43 +0000 (03:56 +0000)]
*** empty log message ***

14 years ago(enum GlyphInfoMask): Shift upper masks 1-bit left.
handa [Fri, 23 Apr 2010 03:55:22 +0000 (03:55 +0000)]
(enum GlyphInfoMask): Shift upper masks 1-bit left.
(decode_packed_otf_tag): If a glyph has combining information,
don't touch it.
(run_otf):

14 years ago(ft_drive_otf): Reset 28th bit of g->g.internal for
handa [Fri, 23 Apr 2010 03:53:21 +0000 (03:53 +0000)]
(ft_drive_otf): Reset 28th bit of g->g.internal for
storing OTF feature tag.

14 years ago(run_stages): Fix previous change.
handa [Mon, 19 Apr 2010 12:12:52 +0000 (12:12 +0000)]
(run_stages): Fix previous change.

14 years ago(run_stages): Update category code of glyphs if
handa [Mon, 19 Apr 2010 11:56:31 +0000 (11:56 +0000)]
(run_stages): Update category code of glyphs if
category table is changed.

14 years ago*** empty log message ***
handa [Tue, 13 Apr 2010 05:45:02 +0000 (05:45 +0000)]
*** empty log message ***

14 years ago*** empty log message ***
handa [Tue, 13 Apr 2010 05:38:06 +0000 (05:38 +0000)]
*** empty log message ***

14 years ago*** empty log message ***
handa [Thu, 8 Apr 2010 02:07:18 +0000 (02:07 +0000)]
*** empty log message ***

14 years ago*** empty log message ***
handa [Wed, 7 Apr 2010 08:08:35 +0000 (08:08 +0000)]
*** empty log message ***

14 years ago*** empty log message ***
handa [Wed, 7 Apr 2010 08:08:24 +0000 (08:08 +0000)]
*** empty log message ***

14 years ago(moduledir): New variable.
handa [Wed, 7 Apr 2010 08:08:14 +0000 (08:08 +0000)]
(moduledir): New variable.

14 years ago*** empty log message ***
handa [Mon, 5 Apr 2010 23:11:50 +0000 (23:11 +0000)]
*** empty log message ***

14 years agoAdd mkinstalldirs, ltmain.sh.
handa [Mon, 5 Apr 2010 23:11:38 +0000 (23:11 +0000)]
Add mkinstalldirs, ltmain.sh.

14 years ago*** empty log message ***
handa [Mon, 5 Apr 2010 14:21:57 +0000 (14:21 +0000)]
*** empty log message ***

14 years ago(ft_check_cap_otf): Fix conditions to call
handa [Mon, 5 Apr 2010 14:21:50 +0000 (14:21 +0000)]
(ft_check_cap_otf): Fix conditions to call
OTF_check_features.

14 years ago(check_version): Fix previous change.
handa [Sun, 4 Apr 2010 23:39:20 +0000 (23:39 +0000)]
(check_version): Fix previous change.

14 years ago*** empty log message ***
handa [Sun, 4 Apr 2010 23:39:12 +0000 (23:39 +0000)]
*** empty log message ***

14 years agoAdd AC_PROG_LIBTOOL. Comment out LT_PREREQ and
handa [Sat, 3 Apr 2010 15:40:54 +0000 (15:40 +0000)]
Add AC_PROG_LIBTOOL. Comment out LT_PREREQ and
LT_INIT.

14 years ago*** empty log message ***
handa [Sat, 3 Apr 2010 15:40:35 +0000 (15:40 +0000)]
*** empty log message ***

14 years ago*** empty log message ***
handa [Fri, 2 Apr 2010 12:30:58 +0000 (12:30 +0000)]
*** empty log message ***

14 years agoVersion changed to 1.6.1.
handa [Fri, 2 Apr 2010 12:30:24 +0000 (12:30 +0000)]
Version changed to 1.6.1.

14 years ago(M17NLIB_PATCH_LEVEL): Changed to 1.
handa [Fri, 2 Apr 2010 12:29:07 +0000 (12:29 +0000)]
(M17NLIB_PATCH_LEVEL): Changed to 1.
(M17NLIB_VERSION_NAME): 1.6.1.

14 years ago(M17NLIB_MINOR_VERSION): Changed to 6.
handa [Fri, 2 Apr 2010 12:28:22 +0000 (12:28 +0000)]
(M17NLIB_MINOR_VERSION): Changed to 6.
(M17NLIB_PATCH_LEVEL): Changed to 0.
(M17NLIB_VERSION_NAME): 1.6.0.

14 years ago*** empty log message *** REL-1-6-0
handa [Tue, 30 Mar 2010 06:04:24 +0000 (06:04 +0000)]
*** empty log message ***

14 years agoVersion changed to 1.6.0.
handa [Tue, 30 Mar 2010 06:04:20 +0000 (06:04 +0000)]
Version changed to 1.6.0.

14 years agoVersion changed to 1.6.0pre. merge-to-XML-2
handa [Fri, 19 Mar 2010 12:16:15 +0000 (12:16 +0000)]
Version changed to 1.6.0pre.

14 years ago*** empty log message ***
handa [Fri, 19 Mar 2010 12:16:11 +0000 (12:16 +0000)]
*** empty log message ***

14 years agoCopyright years udpated.
handa [Fri, 19 Mar 2010 11:59:43 +0000 (11:59 +0000)]
Copyright years udpated.

14 years ago*** empty log message *** merge-to-XML
handa [Mon, 1 Mar 2010 06:17:35 +0000 (06:17 +0000)]
*** empty log message ***

14 years ago(run_rule): Fix checking of glyph availability.
handa [Mon, 1 Mar 2010 06:17:31 +0000 (06:17 +0000)]
(run_rule): Fix checking of glyph availability.

14 years ago*** empty log message ***
handa [Thu, 18 Feb 2010 07:43:13 +0000 (07:43 +0000)]
*** empty log message ***

14 years ago(register_device_library): Preprend M17N_MODULE_DIR
handa [Thu, 18 Feb 2010 07:41:22 +0000 (07:41 +0000)]
(register_device_library): Preprend M17N_MODULE_DIR
to the module file name.

14 years ago(load_external_module): Preprend M17N_MODULE_DIR to the
handa [Thu, 18 Feb 2010 07:40:54 +0000 (07:40 +0000)]
(load_external_module): Preprend M17N_MODULE_DIR to the
module file name.

14 years ago(load_charset): Check the return value of fgets.
handa [Thu, 18 Feb 2010 07:40:22 +0000 (07:40 +0000)]
(load_charset): Check the return value of fgets.

14 years agoBuild modules dynamically loaded with
handa [Thu, 18 Feb 2010 07:39:56 +0000 (07:39 +0000)]
Build modules dynamically loaded with
-avoid-version and no -version-info.

14 years ago(M17N_BINARY_VERSION): New variable.
handa [Thu, 18 Feb 2010 07:36:56 +0000 (07:36 +0000)]
(M17N_BINARY_VERSION): New variable.
(M17N_MODULE_DIR): New variable.  AC_SUBST it.

14 years ago*** empty log message ***
handa [Tue, 9 Feb 2010 06:39:08 +0000 (06:39 +0000)]
*** empty log message ***

14 years ago(Greek, Hindi): Fixed.
handa [Tue, 9 Feb 2010 06:38:55 +0000 (06:38 +0000)]
(Greek, Hindi): Fixed.

14 years ago*** empty log message ***
handa [Fri, 15 Jan 2010 12:15:49 +0000 (12:15 +0000)]
*** empty log message ***

14 years ago(run_flt): Set mflt_try_otf to rfont->driver->try_otf.
handa [Fri, 15 Jan 2010 12:15:41 +0000 (12:15 +0000)]
(run_flt): Set mflt_try_otf to rfont->driver->try_otf.
(mdraw__init): Set mflt_enable_new_feature to 1.

14 years ago(ft_try_otf): New function.
handa [Fri, 15 Jan 2010 12:13:10 +0000 (12:13 +0000)]
(ft_try_otf): New function.
(mfont__ft_driver): Set ft_try_otf.

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.

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

14 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.

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

14 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.

14 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.

14 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.

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

14 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.

14 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.

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

14 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.

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

14 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.

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

14 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 ().

14 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.

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

14 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.

14 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.

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

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

14 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>.

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

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

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

14 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.

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