m17n/m17n-lib.git
19 years ago*** empty log message ***
handa [Mon, 12 Sep 2005 01:07:40 +0000 (01:07 +0000)]
*** empty log message ***

19 years ago(redraw): Don't redraw an area where not text is
handa [Mon, 12 Sep 2005 01:07:34 +0000 (01:07 +0000)]
(redraw): Don't redraw an area where not text is
displayed.

19 years ago*** empty log message ***
ntakahas [Fri, 9 Sep 2005 07:59:25 +0000 (07:59 +0000)]
*** empty log message ***

19 years agomtext_lowercase (), mtext_titlecase (), mtext_uppercase () : Change API.
ntakahas [Fri, 9 Sep 2005 07:57:18 +0000 (07:57 +0000)]
mtext_lowercase (), mtext_titlecase (), mtext_uppercase () : Change API.

19 years ago*** empty log message ***
ntakahas [Wed, 7 Sep 2005 11:55:26 +0000 (11:55 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
ntakahas [Wed, 7 Sep 2005 07:13:10 +0000 (07:13 +0000)]
*** empty log message ***

19 years agoAdd "cased", "soft-dotted", and "case-mapping" in mchar__init ().
ntakahas [Wed, 7 Sep 2005 07:11:29 +0000 (07:11 +0000)]
Add "cased", "soft-dotted", and "case-mapping" in mchar__init ().

19 years agoAdd Japanese documentation for mchar_get_prop_table ().
ntakahas [Wed, 7 Sep 2005 07:02:27 +0000 (07:02 +0000)]
Add Japanese documentation for mchar_get_prop_table ().

19 years ago*** empty log message ***
handa [Tue, 6 Sep 2005 00:33:59 +0000 (00:33 +0000)]
*** empty log message ***

19 years ago(read_mtext_element): Fix previous change.
ntakahas [Mon, 5 Sep 2005 11:38:21 +0000 (11:38 +0000)]
(read_mtext_element): Fix previous change.

19 years ago*** empty log message ***
ntakahas [Mon, 5 Sep 2005 11:38:02 +0000 (11:38 +0000)]
*** empty log message ***

19 years agoFix typo in Khmer.
ntakahas [Mon, 5 Sep 2005 07:45:21 +0000 (07:45 +0000)]
Fix typo in Khmer.

19 years ago(read_mtext_element): Fix previous change.
handa [Mon, 5 Sep 2005 05:09:00 +0000 (05:09 +0000)]
(read_mtext_element): Fix previous change.

19 years ago*** empty log message ***
handa [Mon, 5 Sep 2005 05:01:04 +0000 (05:01 +0000)]
*** empty log message ***

19 years ago(read_mtext_element): Handle \uXXXX notation.
handa [Mon, 5 Sep 2005 05:01:00 +0000 (05:01 +0000)]
(read_mtext_element): Handle \uXXXX notation.

19 years ago(MTABLE_MALLOC): Don't use a local variable.
handa [Mon, 5 Sep 2005 05:00:42 +0000 (05:00 +0000)]
(MTABLE_MALLOC): Don't use a local variable.
(MTABLE_ALLOCA): Change the name of local variable.

19 years agoFix previous change.
handa [Mon, 5 Sep 2005 00:56:46 +0000 (00:56 +0000)]
Fix previous change.

19 years agoCheck HAVE_X11_XAW_COMMAND_H before including X11/*.h.
handa [Mon, 5 Sep 2005 00:55:08 +0000 (00:55 +0000)]
Check HAVE_X11_XAW_COMMAND_H before including X11/*.h.

19 years ago*** empty log message ***
handa [Mon, 5 Sep 2005 00:54:55 +0000 (00:54 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
handa [Mon, 5 Sep 2005 00:33:15 +0000 (00:33 +0000)]
*** empty log message ***

19 years ago(device_open): Define it even if HAVE_GD nor
handa [Mon, 5 Sep 2005 00:33:03 +0000 (00:33 +0000)]
(device_open): Define it even if HAVE_GD nor
HAVE_FREETYPE are defined.

19 years agoCheck HAVE_X11.
handa [Mon, 5 Sep 2005 00:32:56 +0000 (00:32 +0000)]
Check HAVE_X11.

19 years agoCall automake with -a -c.
handa [Mon, 5 Sep 2005 00:32:16 +0000 (00:32 +0000)]
Call automake with -a -c.

19 years ago(X_LD_FLAGS): Use @X11_LD_FLAGS@ instead of
handa [Mon, 5 Sep 2005 00:31:41 +0000 (00:31 +0000)]
(X_LD_FLAGS): Use @X11_LD_FLAGS@ instead of
directory listing libraries.
(PURIFY, purify_medit, purify_mdate): Define them in maintainer
mode.

19 years ago(X_LD_FLAGS): Use @X11_LD_FLAGS@ instead of
handa [Mon, 5 Sep 2005 00:31:05 +0000 (00:31 +0000)]
(X_LD_FLAGS): Use @X11_LD_FLAGS@ instead of
directory listing libraries.
(noinst_PROGRAMS): Define it only in maintainer mode.

19 years agoAdd AM_MAINTAINER_MODE.
handa [Mon, 5 Sep 2005 00:30:45 +0000 (00:30 +0000)]
Add AM_MAINTAINER_MODE.
(X11_LD_FLAGS): New variable.
(--with-gd): New AC_ARG_WITH.
(HAVE_FRIBIDI_CONFIG): Fix typo for testing it.

19 years ago*** empty log message ***
handa [Fri, 2 Sep 2005 06:59:05 +0000 (06:59 +0000)]
*** empty log message ***

19 years ago(mdraw_line_break_option): Extern it.
handa [Fri, 2 Sep 2005 06:59:00 +0000 (06:59 +0000)]
(mdraw_line_break_option): Extern it.

19 years ago(truncate_gstring): Use find_glyph_in_gstring to find the
handa [Fri, 2 Sep 2005 06:58:39 +0000 (06:58 +0000)]
(truncate_gstring): Use find_glyph_in_gstring to find the
end of the first glyph.
(GET_LB_TYPE, find_break_backward, find_break_forward): Delete
them.
(mdraw_line_break_option): New variable.
(mdraw_default_line_break): Use mtext_line_break.

19 years ago*** empty log message ***
handa [Fri, 2 Sep 2005 06:22:34 +0000 (06:22 +0000)]
*** empty log message ***

19 years ago(wordseg_func_table): Don't extern it.
handa [Fri, 2 Sep 2005 06:22:14 +0000 (06:22 +0000)]
(wordseg_func_table): Don't extern it.
(mtext__wseg_fini): Extern it.

19 years agoDon't include word-thai.h.
handa [Fri, 2 Sep 2005 06:21:28 +0000 (06:21 +0000)]
Don't include word-thai.h.
(wordseg_func_table): Delete this variable.
(mtext__init): Don't initialize above.  Don't call
mtext__word_thai_init.
(mtext__fini): Don't free wordseg_func_table.  Call
mtext__wseg_fini instead fo mtext__word_thai_fini.
(MTextWordsegFunc): Don't typedef it.
(mtext__word_segment): Moved to mtext-wseg.c.

19 years ago(enum MTextLineBreakOption): New enum.
handa [Fri, 2 Sep 2005 06:18:54 +0000 (06:18 +0000)]
(enum MTextLineBreakOption): New enum.
(mtext_line_break): Extern it.

19 years agoNew file.
handa [Fri, 2 Sep 2005 06:18:07 +0000 (06:18 +0000)]
New file.

19 years ago(libm17n_core_la_SOURCES): Delete word-thai.[ch],
handa [Fri, 2 Sep 2005 06:16:36 +0000 (06:16 +0000)]
(libm17n_core_la_SOURCES): Delete word-thai.[ch],
add mtext-lbrk.c and mtext-wseg.c.

19 years ago*** empty log message ***
handa [Fri, 2 Sep 2005 06:02:02 +0000 (06:02 +0000)]
*** empty log message ***

19 years ago(mtext__adjust_plist_for_change): Pay attention for
handa [Fri, 2 Sep 2005 06:01:57 +0000 (06:01 +0000)]
(mtext__adjust_plist_for_change): Pay attention for
the case that head is NULL.

19 years ago*** empty log message ***
handa [Thu, 1 Sep 2005 13:14:26 +0000 (13:14 +0000)]
*** empty log message ***

19 years ago(wordseg_propertize): If the property value is nil,
handa [Thu, 1 Sep 2005 13:14:22 +0000 (13:14 +0000)]
(wordseg_propertize): If the property value is nil,
don't make the property no-merge.
(thai_wordseg): Don't require *from and *to are set a priori.  Pay
attention to the case that they are NULL.
(mtext__word_thai_init): Make the name of Mthai_wordseg starts
with two spaces.

19 years ago(mtext_dup): Use mtext_duplicate.
handa [Thu, 1 Sep 2005 13:11:50 +0000 (13:11 +0000)]
(mtext_dup): Use mtext_duplicate.
(mtext__word_segment): Don't set *from and *to if a word
segmentation funcion is not found.
(mtext_ins_char): Fix typo.

19 years ago(mchar_get_prop_table): Extern it.
handa [Thu, 1 Sep 2005 13:10:30 +0000 (13:10 +0000)]
(mchar_get_prop_table): Extern it.

19 years ago(mchar_get_prop_table): New function.
handa [Thu, 1 Sep 2005 13:09:43 +0000 (13:09 +0000)]
(mchar_get_prop_table): New function.

19 years ago*** empty log message ***
ntakahas [Thu, 1 Sep 2005 09:05:35 +0000 (09:05 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
handa [Thu, 1 Sep 2005 01:26:17 +0000 (01:26 +0000)]
*** empty log message ***

19 years ago(FORMAT_COVERAGE): New macro.
handa [Thu, 1 Sep 2005 01:26:12 +0000 (01:26 +0000)]
(FORMAT_COVERAGE): New macro.
(insert): Copy mt2->coverage.
(mtext__from_data): Initialize mt->coverage.
(mtext__adjust_format): Update mt->coverage.
(mtext): Initialize mt->coverage.
(mtext_set_char): Adjust args to mtext__adjust_plist_for_change.
Update mt->coverage if necessary.
(mtext_duplicate): Copy mt->coverage.
(mtext_insert, mtext_replace): New functions.

19 years ago(enum MTextCoverage): New enum.
handa [Thu, 1 Sep 2005 01:25:58 +0000 (01:25 +0000)]
(enum MTextCoverage): New enum.
(MText): New member coverage.

19 years ago(mtext_insert, mtext_replace): Extern them.
handa [Thu, 1 Sep 2005 01:25:50 +0000 (01:25 +0000)]
(mtext_insert, mtext_replace): Extern them.

19 years ago(mtext__adjust_plist_for_change): Prototype adjusted.
handa [Thu, 1 Sep 2005 01:25:24 +0000 (01:25 +0000)]
(mtext__adjust_plist_for_change): Prototype adjusted.

19 years ago(CONFIG_FLAGS): Setup this variable and AC_SUBST it.
handa [Thu, 1 Sep 2005 01:24:56 +0000 (01:24 +0000)]
(CONFIG_FLAGS): Setup this variable and AC_SUBST it.

19 years ago*** empty log message ***
handa [Thu, 1 Sep 2005 01:23:35 +0000 (01:23 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
handa [Thu, 25 Aug 2005 01:23:06 +0000 (01:23 +0000)]
*** empty log message ***

19 years ago(MFont): New member for_full_width.
handa [Thu, 25 Aug 2005 01:22:53 +0000 (01:22 +0000)]
(MFont): New member for_full_width.

19 years ago(compare_font_score): Prefer a font of not
handa [Thu, 25 Aug 2005 01:22:09 +0000 (01:22 +0000)]
(compare_font_score): Prefer a font of not
for_full_width.

19 years ago(xfont_registry_list): Set font.for_full_width if the
handa [Thu, 25 Aug 2005 01:21:35 +0000 (01:21 +0000)]
(xfont_registry_list): Set font.for_full_width if the
registry charset of a font is one of CJK charsets.

19 years ago(fc_parse_pattern): Set font->for_full_width if a font
handa [Thu, 25 Aug 2005 01:20:24 +0000 (01:20 +0000)]
(fc_parse_pattern): Set font->for_full_width if a font
supports some of CJK.

19 years agoJapanese Document fixed.
handa [Wed, 24 Aug 2005 13:03:03 +0000 (13:03 +0000)]
Japanese Document fixed.

19 years agoDocument fixed.
handa [Wed, 24 Aug 2005 12:10:19 +0000 (12:10 +0000)]
Document fixed.

19 years agoFix handling of ratio.
handa [Wed, 24 Aug 2005 05:41:08 +0000 (05:41 +0000)]
Fix handling of ratio.

19 years ago*** empty log message ***
handa [Wed, 24 Aug 2005 05:32:48 +0000 (05:32 +0000)]
*** empty log message ***

19 years ago(Mascent, Mdescent): Don't extern them.
handa [Wed, 24 Aug 2005 05:32:39 +0000 (05:32 +0000)]
(Mascent, Mdescent): Don't extern them.

19 years ago(null_device_open): Check Mresolution param and set
handa [Wed, 24 Aug 2005 05:31:34 +0000 (05:31 +0000)]
(null_device_open): Check Mresolution param and set
frame->dpi.

19 years ago(device_open): Check Mresolution param and set
handa [Wed, 24 Aug 2005 05:31:13 +0000 (05:31 +0000)]
(device_open): Check Mresolution param and set
frame->dpi.

19 years ago(MWDevice): New member resy.
handa [Wed, 24 Aug 2005 05:30:43 +0000 (05:30 +0000)]
(MWDevice): New member resy.
(xfont_open): Set ascent, descent, and max_advance members of
rfont.
(xft_open): Likewise.
(device_open): Compare also screen_num to find a device.  Set
device->resy and frame->dpi.

19 years ago(MFrame): New member dpi.
handa [Wed, 24 Aug 2005 05:28:45 +0000 (05:28 +0000)]
(MFrame): New member dpi.

19 years ago(MRealizedFont): New member max_advance.
handa [Wed, 24 Aug 2005 05:28:19 +0000 (05:28 +0000)]
(MRealizedFont): New member max_advance.

19 years ago(xlfd_unparse_name): Handle the case of font->size < 0.
handa [Wed, 24 Aug 2005 05:26:22 +0000 (05:26 +0000)]
(xlfd_unparse_name): Handle the case of font->size < 0.
(mfont__init): Don't initialize Mascent, Mdescent.
(Mascent, Mdescent): Delete these variables.
(mfont_get_prop): Fix previous change.  Check Mfont_ascent and
Mfont_descent instead of Mascent and Mdescent.
(mfont_put_prop): Allow negative size.
(mfont_find): Handle the case of spec->size < 0.  Fix previous
change.
(mfont_list): Handle the case of spec->size < 0.
(mfont_check): Likewise.

19 years ago(STRDUP_LOWER): Ignore the tailing spaces.
handa [Wed, 24 Aug 2005 05:23:53 +0000 (05:23 +0000)]
(STRDUP_LOWER): Ignore the tailing spaces.
(fc_get_pattern): Handle the case of font->size < 0.
(ft_open): Set ascent, descent, and max_advance members of rfont.
(ft_find_metric): Improve rounding.
(mfont__ft_parse_name): If FC_PIXEL_SIZE is not available, set
FC_SIZE.

19 years ago(mface__realize): Handle the case of font->size < 0.
handa [Wed, 24 Aug 2005 05:21:46 +0000 (05:21 +0000)]
(mface__realize): Handle the case of font->size < 0.

19 years ago*** empty log message ***
handa [Mon, 22 Aug 2005 05:05:39 +0000 (05:05 +0000)]
*** empty log message ***

19 years ago(mconv_buffer_converter): Prototype adjusted.
handa [Mon, 22 Aug 2005 05:05:33 +0000 (05:05 +0000)]
(mconv_buffer_converter): Prototype adjusted.
(mconv_decode_buffer, mconv_rebind_buffer): Likewise.

19 years ago(MConverterStatus): Change the member buf to union.
handa [Mon, 22 Aug 2005 05:05:26 +0000 (05:05 +0000)]
(MConverterStatus): Change the member buf to union.
(mconv_buffer_converter): Add const to the arg buf.
(mconv_decode_buffer, mconv_rebind_buffer): Likewise.
(mconv_decode): Adjusted for the change of MConverterStatus.
(mconv_encode_range): Likewise.

19 years ago*** empty log message ***
handa [Mon, 22 Aug 2005 01:16:10 +0000 (01:16 +0000)]
*** empty log message ***

19 years agoDon't include config.h.
handa [Mon, 22 Aug 2005 01:15:55 +0000 (01:15 +0000)]
Don't include config.h.

19 years agoLikewise.
handa [Mon, 22 Aug 2005 01:14:22 +0000 (01:14 +0000)]
Likewise.

19 years ago(AM_CPPFLAGS): Set it to @CONFIG_FLAGS@.
handa [Mon, 22 Aug 2005 01:13:30 +0000 (01:13 +0000)]
(AM_CPPFLAGS): Set it to @CONFIG_FLAGS@.

19 years ago(CONFIG_FLAGS): Setup this variable and AC_SUBST it.
handa [Mon, 22 Aug 2005 01:12:57 +0000 (01:12 +0000)]
(CONFIG_FLAGS): Setup this variable and AC_SUBST it.

19 years ago*** empty log message ***
handa [Sat, 20 Aug 2005 02:40:20 +0000 (02:40 +0000)]
*** empty log message ***

19 years ago(mfont_from_name): Prototype adjusted.
handa [Sat, 20 Aug 2005 02:40:17 +0000 (02:40 +0000)]
(mfont_from_name): Prototype adjusted.
(Mspacing, Mascent, Mdescent, Mmax_advance): Extern them.

19 years ago(xfont_open): Set members ascent, descent, and
handa [Sat, 20 Aug 2005 02:39:17 +0000 (02:39 +0000)]
(xfont_open): Set members ascent, descent, and
max_advance of rfont.
(xft_open): Likewise.

19 years ago(ft_open): Set members ascent, descent, and max_advance
handa [Sat, 20 Aug 2005 02:38:48 +0000 (02:38 +0000)]
(ft_open): Set members ascent, descent, and max_advance
of rfont.
(mfont__ft_parse_name): Add const to the arg name.

19 years ago(xlfd_parse_name): Add const to the arg name. Call
handa [Sat, 20 Aug 2005 02:37:49 +0000 (02:37 +0000)]
(xlfd_parse_name): Add const to the arg name.  Call
mfont__set_property instead of mfont_set_spec.  Set font->spacing.
(xlfd_unparse_name): Handle spacing.
(mfont__init): Initialize new variables.
(mfont__id): Handle spacing.
(mfont__merge): Likewise.
(mfont__set_spec): This function deleted.
(mfont__parse_name_into_font): Add const to the arg name.  Fix the
condition of calling mfont__ft_parse_name.
(Mspacing, Mascent, Mdescent, Mmax_advance): New variables.
(mfont_get_prop): Handle properties spacing, ascent, descent,
and max-advance.
(mfont_find): Return a realized font.
(mfont_from_name): Add const to the arg name.

19 years ago(enum MFontProperty): New member MFONT_SPACING.
handa [Sat, 20 Aug 2005 02:05:59 +0000 (02:05 +0000)]
(enum MFontProperty): New member MFONT_SPACING.
(enum MFontSpacing): New enum.
(MFont): New members spacing and max_advance.
(mfont__ft_parse_name): Prototype adjusted.
(mfont__set_spec): Extern deleted.
(mfont__parse_name_into_font): Prototype adjusted.

19 years ago(mfont_parse_name): Add const to the arg name.
handa [Fri, 19 Aug 2005 02:27:03 +0000 (02:27 +0000)]
(mfont_parse_name): Add const to the arg name.

19 years ago(mfont_parse_name): Prototype adjusted.
handa [Fri, 19 Aug 2005 02:26:55 +0000 (02:26 +0000)]
(mfont_parse_name): Prototype adjusted.

19 years ago(mfont_list): If FONT is null, use a temporary font.
handa [Fri, 19 Aug 2005 02:06:24 +0000 (02:06 +0000)]
(mfont_list): If FONT is null, use a temporary font.

19 years ago/*=*/ between @addtogroup and @{ removed
nisikimi [Thu, 18 Aug 2005 06:08:32 +0000 (06:08 +0000)]
/*=*/ between @addtogroup and @{ removed

19 years ago*** empty log message ***
handa [Thu, 18 Aug 2005 05:00:36 +0000 (05:00 +0000)]
*** empty log message ***

19 years agoSurround code by #ifdef and #endif to escape from
handa [Thu, 18 Aug 2005 05:00:28 +0000 (05:00 +0000)]
Surround code by #ifdef and #endif to escape from
doxygen.

19 years ago*** empty log message ***
handa [Thu, 18 Aug 2005 04:50:28 +0000 (04:50 +0000)]
*** empty log message ***

19 years ago(font_score): Make it static.
handa [Thu, 18 Aug 2005 04:50:19 +0000 (04:50 +0000)]
(font_score): Make it static.

19 years ago*** empty log message ***
handa [Thu, 18 Aug 2005 01:27:28 +0000 (01:27 +0000)]
*** empty log message ***

19 years ago(M17NLIB_MINOR_VERSION): Changed to 3.
handa [Thu, 18 Aug 2005 01:24:37 +0000 (01:24 +0000)]
(M17NLIB_MINOR_VERSION): Changed to 3.
(M17NLIB_VERSION_NAME): Changed to "1.3.0".

19 years agoVersion changed to 1.3.0.
handa [Thu, 18 Aug 2005 01:23:36 +0000 (01:23 +0000)]
Version changed to 1.3.0.

19 years ago(main): Adjusted for the change of symbol's language
handa [Thu, 18 Aug 2005 01:20:55 +0000 (01:20 +0000)]
(main): Adjusted for the change of symbol's language
property (now in lowercase).

19 years ago(main): Handle --fontset arg.
handa [Thu, 18 Aug 2005 01:19:15 +0000 (01:19 +0000)]
(main): Handle --fontset arg.

19 years ago*** empty log message ***
handa [Thu, 18 Aug 2005 01:18:12 +0000 (01:18 +0000)]
*** empty log message ***

19 years agoMostly re-written.
handa [Thu, 18 Aug 2005 01:18:07 +0000 (01:18 +0000)]
Mostly re-written.

19 years ago(FontLayoutCmdOTF): This type deleted.
handa [Thu, 18 Aug 2005 01:13:27 +0000 (01:13 +0000)]
(FontLayoutCmdOTF): This type deleted.
(FontLayoutCmd): Type of the member otf changed..
(load_otf_command): Adjusted for the format change of otf command.
(load_command): Likewise.
(free_flt_command): Unref cmd->body.otf.
(run_otf): Ajusted for the type change of otf_cmd.
(run_command): Ajusted for the type change of otf_cmd.  On
debugging, print ctx->combining_code.
(mfont__flt_run): Initialize ctx's members code_offset,
combining_code, and left_padding to 0.

19 years ago(struct MRealizedFace): New member font.
handa [Thu, 18 Aug 2005 01:08:36 +0000 (01:08 +0000)]
(struct MRealizedFace): New member font.
(mface__realize): Prototype adjusted.

19 years ago(find_realized_face): New arg font.
handa [Thu, 18 Aug 2005 01:07:54 +0000 (01:07 +0000)]
(find_realized_face): New arg font.
(find_realized_face): Adjusted for the change of MFont.
(mface__init): Call M17N_OBJECT_ADD_ARRAY.
(mface__fini): Don't call mdebug__report_object.
(mface__realize): New arg font.
(mface__for_chars): Adjusted for the change of mfont__encode_char.
Optimize the latin case.
(mface__free_realized): Free rface->font.
(mface__update_frame_face): Adjusted for the change of mface__realize.
(mface_equal): New function.