m17n/m17n-lib.git
19 years ago(struct MFrame): New member average_width.
handa [Thu, 22 Sep 2005 07:23:12 +0000 (07:23 +0000)]
(struct MFrame): New member average_width.

19 years ago(mframe): Fix setting of frame->rfont.
handa [Thu, 22 Sep 2005 07:22:57 +0000 (07:22 +0000)]
(mframe): Fix setting of frame->rfont.
(mframe_get_prop): Return the average_width of a font.

19 years ago(mface__realize): Set rface->average_width.
handa [Thu, 22 Sep 2005 07:20:15 +0000 (07:20 +0000)]
(mface__realize): Set rface->average_width.
(mface__update_frame_face): Set frame->average_width.

19 years ago(MRealizedFace): New member average_width.
handa [Thu, 22 Sep 2005 07:19:34 +0000 (07:19 +0000)]
(MRealizedFace): New member average_width.

19 years ago(m17n_init_core): Fix previous change.
handa [Mon, 19 Sep 2005 01:57:12 +0000 (01:57 +0000)]
(m17n_init_core): Fix previous change.

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

19 years ago(xlfd_unparse_name): New arg full_xlfd.
handa [Mon, 19 Sep 2005 01:02:21 +0000 (01:02 +0000)]
(xlfd_unparse_name): New arg full_xlfd.
(mfont__encode_char): Use shortcut only for X core fonts.
(mfont_unparse_name): Call xlfd_unparse_name with full_xlfd arg 1.
(mfont_put_prop): Handle `language' property.
(mdebug_dump_font): Call xlfd_unparse_name with full_xlfd arg 0.
Print file can capability info too.

19 years ago(mdebug__output): New variable.
handa [Mon, 19 Sep 2005 01:00:20 +0000 (01:00 +0000)]
(mdebug__output): New variable.
(SET_DEBUG_FLAG): Unset mask if env_value is '0'.
(m17n_init_core): Handle MDEBUG_ALL and MDEBUG_OUTPUT_FILE.
(m17n_fini_core): Close mdebug__output if it's not stderr.

19 years ago(MDisplayInfo): New member MULE_BASELINE_OFFSET.
handa [Mon, 19 Sep 2005 00:58:55 +0000 (00:58 +0000)]
(MDisplayInfo): New member MULE_BASELINE_OFFSET.
(xfont_open): Handle baseline_offset.
(xfont_find_metric): Likewise.
(xfont_render): Likewise.
(xft_open): Likewise.
(xft_render): Likewise.

19 years ago(MDebugMaskBit): Add MDEBUG_ALL.
handa [Mon, 19 Sep 2005 00:57:12 +0000 (00:57 +0000)]
(MDebugMaskBit): Add MDEBUG_ALL.
(mdebug__output): Extern it.
(MDEBUG_PRINT, MDEBUG_PRINT1, MDEBUG_PRINT2, MDEBUG_PRINT3)
(MDEBUG_PRINT4, MDEBUG_PRINT5): Print to medebug__output.
(MDEBUG_DUMP): New macro.
(MDEBUG_PRINT_TIME): Print to medebug__output.

19 years ago(MRealizedFont): New member baseline_offset.
handa [Mon, 19 Sep 2005 00:55:28 +0000 (00:55 +0000)]
(MRealizedFont): New member baseline_offset.

19 years ago(ft_get_charmaps): Check if the font support iso8859-1
handa [Mon, 19 Sep 2005 00:55:03 +0000 (00:55 +0000)]
(ft_get_charmaps): Check if the font support iso8859-1
characters.
(fc_weight_table): Add FC_WEIGHT_REGULAR.
(ft_list_family): Check alias.
(ft_list_language): If language is "en", don't try to the second
step.
(ft_default_list): New variable.
(ft_list_default): New function.
(ft_select): If family is not specified, try only the default
fonts.  Treat the weights normal and medium same.
(ft_open): Fix debug message.  If registry is not specified, try
unicode-bmp.  Handle _MULE_BASELINE_OFFSET property of BDF fonts.
(ft_find_metric): Likewise.
(ft_render): Likewise.
(ft_list): Fix debug message.  Accept the registring iso8859-1.
If family is not specified, try only the default fonts.

19 years ago(mface__realize): Fix logic of opening a font.
handa [Mon, 19 Sep 2005 00:45:36 +0000 (00:45 +0000)]
(mface__realize): Fix logic of opening a font.

19 years ago*** empty log message ***
handa [Fri, 16 Sep 2005 11:51:25 +0000 (11:51 +0000)]
*** empty log message ***

19 years ago(ButtonProc): Don't reset ic, instead send
handa [Fri, 16 Sep 2005 11:51:20 +0000 (11:51 +0000)]
(ButtonProc): Don't reset ic, instead send
Minput_focus_move event to the current input method.
(FocusInProc, FocusOutProc): New functions.
(actions): Add elements for FocusIn and FocusOut.
(main): Add  elements for FocusIn and FocusOut to trans2.

19 years ago(Minput_focus_move, Minput_focus_in, Minput_focus_out):
handa [Fri, 16 Sep 2005 11:39:49 +0000 (11:39 +0000)]
(Minput_focus_move, Minput_focus_in, Minput_focus_out):
Extern them.

19 years ago*** empty log message ***
handa [Fri, 16 Sep 2005 11:39:39 +0000 (11:39 +0000)]
*** empty log message ***

19 years ago(shift_state): Fix the condition of taking init actions.
handa [Fri, 16 Sep 2005 11:38:53 +0000 (11:38 +0000)]
(shift_state): Fix the condition of taking init actions.
(take_action_list): Fix handling of pushback action.
(handle_key): Don't change key while checking its alias.
(minput__init): Initialize new variables.
(Minput_focus_move, Minput_focus_in, Minput_focus_out): New
variables.

19 years ago*** empty log message ***
handa [Mon, 12 Sep 2005 02:09:19 +0000 (02:09 +0000)]
*** empty log message ***

19 years ago(mtext__uppercase): Add proper open/close parens.
handa [Mon, 12 Sep 2005 02:08:13 +0000 (02:08 +0000)]
(mtext__uppercase): Add proper open/close parens.
(mtext_titlecase): Add proper casting.

19 years ago*** empty log message ***
handa [Mon, 12 Sep 2005 01:46:59 +0000 (01:46 +0000)]
*** empty log message ***

19 years ago(parse_action_list): Handle the case that the arg is a
handa [Mon, 12 Sep 2005 01:46:51 +0000 (01:46 +0000)]
(parse_action_list): Handle the case that the arg is a
key sequence (MText or MPlist).
(take_action_list): Likewise.
(shift_state): Shorter debug message.
(handle_key): Terminate a debug message by "\n".
(reset_ic): Don't take initial actions here.
(minput_open_im): Print a debug message.
(minput_close_im): Likewise.
(minput_create_ic): Likewise.
(minput_destroy_ic): Likewise.

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.