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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

18 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@.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

18 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".

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

18 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).

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

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

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

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

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

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

18 years ago(Mcommon): New variable.
handa [Thu, 18 Aug 2005 01:03:57 +0000 (01:03 +0000)]
(Mcommon): New variable.
(visual_order): Args to mfont__encode_char changed.
(compose_glyph_string): Handle Mfont text property.
(layout_glyphs): Adjusted for the change of MFont.
(mdraw__init): Initialize Mcommon.
(mdraw_glyph_info): Adjusted for the change of MRealizedFont.

18 years ago(enum MFontType): Members completely changed.
handa [Thu, 18 Aug 2005 01:01:31 +0000 (01:01 +0000)]
(enum MFontType): Members completely changed.
(enum MFontProperty): Move MFONT_SIZE to the tail.
(enum MFontSource): New enum.
(struct MFont): New members type, source, sizes, file, capability,
and encoding.
(struct MRealizedFont): Type of member font changed. Members
score, status, and encoding deleted.
(MFontScore): New type.
(MFontList): Member changed.
(struct MFontDriver): New member has_char.  Types of members
changed.
(Miso8859_1, Miso10646_1, Municode_bmp, Municode_full)
(Mapple_roman): Extern them.
(OTF_Tag): Typedefed if not HAVE_OTF.
(enum MFontOpenTypeTable): New enum.
(MFontCapability): New type.
(mfont__ft_drive_otf): Prototype adjusted.
(mfont__score): Extern deleted.
(mfont__merge): Extern it.
(mfont__has_char): Extern it.
(mfont__encode_char): Prototype adjusted.
(mfont__open): Extern it.
(mfont__set_spec): Prototype adjusted.
(mfont__get_capability): Extern it.

18 years agoInclude "fontset.h".
handa [Wed, 17 Aug 2005 13:00:30 +0000 (13:00 +0000)]
Include "fontset.h".
(M_font_capability, M_font_list, M_font_list_len): New variables.
(font_score_priority): Change order of initial elements.
(font_score_shift_bits): Fix array size.
(common_weight): Add "thin", "semibold", and "heavy".
(common_stretch): Add "ultracondensed", "extracondensed",
"extraexpanded", and "utltraexpand".
(font_weight_regular, font_weight_normal, font_weight_medium): New
variables.
(gen_font_name): This function deleted.
(find_encoding): Set font->encoding.
(OTF_tag): New function.
(otf_script_list): New variable.
(load_otf_script_list): New function.
(find_script_from_otf_tag): New function.
(xlfd_parse_name): Set font->type and font->source.
(mfont__free_realized): Free chains rfonts.
(font_score): Renamed from mfont__score.
(Miso8859_1, Miso10646_1, Municode_bmp, Municode_full)
(Mapple_roman): New variables.
(mfont__init): Initilize new variables.  Initalize
default_encoding.encoding_name and
default_encoding.encoding_charset to Municode_full and
mcharset__unicode.  Use SAFE* macros for allocating filepath
buffer.
(mfont__fini): Free otf_script_list.
(mfont__id): New function.
(mfont__match_p): Check also capability member of MFont.
(mfont__merge): New funciton.
(mfont__set_spec_from_face): Set type and source members.
(mfont__set_spec_from_plist): Set capability and type members.
(mfont__select): Argument changed.
(mfont__available): New function.
(compare_font_score): New function.
(mfont__list): New function.
(mfont__open): Return a realized font.
(mfont__resize): Adjusted for the change of MFont.
(mfont__has_char): New function.
(mfont__encode_char): Argument changed.
(mfont__set_spec): Argument changed.
(free_font_capability): New function.
(mfont__get_capability): New function.
(MFontfile): New variable.
(mfont_get_prop): Adjusted for the change of MFont.
(mfont_put_prop): Likewise.
(mfont_set_selection_priority): Fix the way of setting
font_score_priority[].
(mfont_find): Use mfont__list instead of mfont__select.
(mfont_resize_ratio): Adjusted for the change of MFont.
(mfont_list): Use mfont__list.
(mfont_check): New function.

18 years ago(mfont__realize_fontset): Prototype adjusted.
handa [Wed, 17 Aug 2005 12:43:37 +0000 (12:43 +0000)]
(mfont__realize_fontset): Prototype adjusted.
(mfont__lookup_fontset): Likewise.

18 years ago(struct MFontset): Delete member font_spec_list.
handa [Wed, 17 Aug 2005 12:42:54 +0000 (12:42 +0000)]
(struct MFontset): Delete member font_spec_list.
(struct MRealizedFontset): Type of member spec changed.  New
member request.
(load_font_group): Arg spec_list deleted.
(load_fontset_contents): Adjusted for the change of fontset_def.
(free_fontset): Fix the way of freeing fontset elements.
(realize_fontset_elements): Argument changed.
(get_per_script): New function.
(free_realized_fontset_elements): Fix the way of feeing rfontset
elements.
(update_fontset_elements): Fix args to realize_fontset_elements.
(mfont__realize_fontset): New arg spec.
(try_font_list): New function.
(try_font_group): New arg request.  Use try_font_list.
(mfont__lookup_fontset): New arg ignore_fallback.  Fix arg to
try_font_group.
(mfontset): Adjusted for the change of MFontset.
(mfontset_copy): Likewise.  Don't share plists.
(mfontset_modify_entry): Adjusted for the change of MFontset.
(mfontset_lookup): Call get_per_script.
(mdebug_dump_fontset): Print also the address of fonts.

18 years ago(shift_state): Don't reset ic_info->vars.
handa [Wed, 17 Aug 2005 12:17:21 +0000 (12:17 +0000)]
(shift_state): Don't reset ic_info->vars.
(take_action_list): Call MDEBUG_PRINT fore calling
take_action_list.

18 years ago(MFontDriver): Don't typedef it here.
handa [Wed, 17 Aug 2005 12:15:36 +0000 (12:15 +0000)]
(MFontDriver): Don't typedef it here.

18 years agoInclude <fontconfig/fcfreetype.h> if HAVE_XFT2.
handa [Wed, 17 Aug 2005 12:13:55 +0000 (12:13 +0000)]
Include <fontconfig/fcfreetype.h> if HAVE_XFT2.
(MXFont): This type deleted.
(MFontX): New type.
(struct _MFontX): New struct.
(SET_SIZE, HAVE_SIZE): Adjusted for the change of arg FONTX.
(MDisplayInfo): Member base_font_list deleted.
(DEFAULT_FONT): Definition changed.
(FALLBACK_FONT): This maclr deleted.
(free_display_info): Adjusted for the change of MDisplayInfo.
(free_device): Argument to mfont__free_realized changed.
(xfont_driver): Adjusted for the change of MFontDriver.
(xfont_registry_list): Use MFontX instead of MXFont.
(MRealizedFontX): Renamed from MXFontInfo.
(xfont_select): Return the font found first.
(close_xfont): Change MXFontInfo to MRealizedFontX.
(xfont_open): Return the realized font.
(xfont_find_metric): Get xfont from rfont->fontp.
(xfont_has_char): New function.
(xfont_encode_char): Adjusted for the argument change.
(xfont_render): Get xfont from rfont->fontp.
(xfont_list): Adjusted for the argument change.
(MRealizedFontXft): Renamed from MXftFontInfo.
(xft_driver): Ajusted for the change of MFontDriver.
(close_xft): Change MXtfFontInfo to MRealizedFontXft
(xft_open_font): Argument changed.
(xft_open): Argument changed.  Return the realized font.
(xft_find_metric): Get xft_font from rfont->fontp.
(xft_has_char, xft_encode_char): New functions.
(xft_render): Change MXftFontInfo to MRealizedFontXft.  Open a
font if not yet opened.
(device_open): Don't set frame->font.

18 years ago(gd_font_driver): Adjusted for the change of
handa [Wed, 17 Aug 2005 11:46:36 +0000 (11:46 +0000)]
(gd_font_driver): Adjusted for the change of
MFontDriver.
(gd_font_open): New function.
(gd_render): Don't use the local variable ft_info.
(device_init): Adjusted for the change of gd_font_driver.

18 years ago(mtext__prop_init): Initialize text_property_table.
handa [Wed, 17 Aug 2005 11:43:59 +0000 (11:43 +0000)]
(mtext__prop_init): Initialize text_property_table.
Call M17N_OBJECT_ADD_ARRAY.
(mtext__prop_fini): Don't call mdebug__report_object.

18 years ago(mplist__init): Initialize plist_table.
handa [Wed, 17 Aug 2005 11:43:07 +0000 (11:43 +0000)]
(mplist__init): Initialize plist_table.
(mplist__init): Call M17N_OBJECT_ADD_ARRAY.
(mplist__fini): Don't call mdebug__report_object.

18 years ago(mtext__init): Call M17N_OBJECT_ADD_ARRAY.
handa [Wed, 17 Aug 2005 11:41:51 +0000 (11:41 +0000)]
(mtext__init): Call M17N_OBJECT_ADD_ARRAY.
(mtext__fini): Don't call mdebug__report_object.
(MTEXT_FORMAT_UTF_16): Correct type.
(mtext_data): New function.
(mtext_text): Fix calculation of limit and args to
find_char_backward.

18 years agoInclude "plist.h".
handa [Wed, 17 Aug 2005 11:39:22 +0000 (11:39 +0000)]
Include "plist.h".
(M_script_lang_list): New variable.
(mlang__init): Read languages and their information from m17n
database.
(mlanguage__list): New function.
(Miso639_1, Miso639_2): New variables.

18 years ago(mlanguage__list): Extern it.
handa [Wed, 17 Aug 2005 11:37:43 +0000 (11:37 +0000)]
(mlanguage__list): Extern it.

18 years ago(get_database_stream): Use SAFE_* macros for
handa [Wed, 17 Aug 2005 11:36:42 +0000 (11:36 +0000)]
(get_database_stream): Use SAFE_* macros for
allocating and freeing path.
(mdatabase__init): Likewise.

18 years ago(mchartable__init): Initalize chartable_table.count.
handa [Wed, 17 Aug 2005 11:35:33 +0000 (11:35 +0000)]
(mchartable__init): Initalize chartable_table.count.
(mchartable__fini): Use N17n_OBJECT_ADD_ARRAY instead of
mdebug__report_object.

18 years ago(msymbol__fini): Don't free symbols here.
handa [Wed, 17 Aug 2005 11:35:11 +0000 (11:35 +0000)]
(msymbol__fini): Don't free symbols here.
(msymbol__free_table): New function.
(msymbol_is_managing_key): New function.

18 years ago* symbol.h (msymbol__free_table): Extern it.
handa [Wed, 17 Aug 2005 11:33:23 +0000 (11:33 +0000)]
* symbol.h (msymbol__free_table): Extern it.
(msymbol__list): Extern it.

* m17n-core.c: Include "symbol.h".
(report_header_printed): This variable deleted.
(object_array_root): New variable.
(report_object_array): New function.
(mdebug__report_object): This function deleted.
(mdebug__add_object_array): New function.
(m17n_init_core): Call mchartable_init () before mtext_init ().
(m17n_fini_core): Call report_object_array (if necessary) and
msymbol__free_atable at the end.

18 years ago(MFATAL, USE_SAFE_ALLOCA, SAFE_ALLOCA, SAFE_FREE):
handa [Wed, 17 Aug 2005 11:32:45 +0000 (11:32 +0000)]
(MFATAL, USE_SAFE_ALLOCA, SAFE_ALLOCA, SAFE_FREE):
New macros.
(M17N_OBJECT_UNREF): Change "if ... else ..." structure.
(struct _M17NObjectArray): New member name and next.
(mdebug__add_object_array): Extern it.
(M17N_OBJECT_ADD_ARRAY): New macro.
(mdebug__report_object): Don't extern it.

18 years ago(enum MErrorCode): New element MERROR_FONT_X.
handa [Wed, 17 Aug 2005 11:28:46 +0000 (11:28 +0000)]
(enum MErrorCode): New element MERROR_FONT_X.

18 years ago(free_frame): Don't free frame->font.
handa [Wed, 17 Aug 2005 11:28:02 +0000 (11:28 +0000)]
(free_frame): Don't free frame->font.
(null_device_fini): Fix code for freeing
null_device.realized_font_list.
(m17n_fini_win): Free interface.
(mframe): Cast the return value of dlsym.  Set frame->font here.
(mframe_get_prop): Check frame->rface->rfont before accessing the
member font.

18 years ago(Mfontfile): Extern it.
handa [Wed, 17 Aug 2005 11:24:07 +0000 (11:24 +0000)]
(Mfontfile): Extern it.
(mfont_check): Extern it.
(mface_equal): Extern it.

18 years agoInclude "symbol.h".
handa [Wed, 17 Aug 2005 11:22:48 +0000 (11:22 +0000)]
Include "symbol.h".
(report_header_printed): This variable deleted.
(object_array_root): New variable.
(report_object_array): New function.
(mdebug__report_object): This function deleted.
(mdebug__add_object_array): New function.
(m17n_init_core): Call mchartable_init () before mtext_init ().
(m17n_fini_core): Call report_object_array (if necessary) and
msymbol__free_atable at the end.

18 years ago(msymbol_is_managing_key): Extern it.
handa [Wed, 17 Aug 2005 11:18:48 +0000 (11:18 +0000)]
(msymbol_is_managing_key): Extern it.
(mtext_data): Extern it.
(MTEXT_FORMAT_UTF_16): Correct type.

18 years ago(Miso639_1, Miso639_2): Extern them.a
handa [Thu, 26 May 2005 08:15:53 +0000 (08:15 +0000)]
(Miso639_1, Miso639_2): Extern them.a