m17n/m17n-lib.git
20 years ago(struct MFontDriver): Change prototype of <list>.
handa [Mon, 11 Oct 2004 01:00:11 +0000 (01:00 +0000)]
(struct MFontDriver): Change prototype of <list>.

20 years ago(fc_generic_family_list): Delete it.
handa [Mon, 11 Oct 2004 00:59:13 +0000 (00:59 +0000)]
(fc_generic_family_list): Delete it.
(Mserif, Msans_serif, Mmonospace): Delete them.
(M_generic_family_info): New variable.
(enum GenericFamilyType): New enum.
(struct GenericFamilyInfo): New struct.
(generic_family_table): New variable.
(set_font_info): New arg style. Don't check 0xA0..0xBF to decide
iso8859-1.
(add_font_info): Get style here.
(ft_list_family): Don't initialize fc_config here.  Don't list
generic families.
(ft_list_generic): New function.
(ft_select): Pay attention to generic familes here.
(ft_open): Fix calculation of ascent and descent.
(ft_list): Pay attention to generic families.
(mfont__ft_init): Initialize M_generic_family_info,
generic_family_table, and fc_config..
(mfont__ft_fini): Finalize generic_family_table.

20 years ago(mface__realize): Adjust prototype.
handa [Mon, 11 Oct 2004 00:59:04 +0000 (00:59 +0000)]
(mface__realize): Adjust prototype.

20 years ago(mface__realize): Delete args langauge and charset.
handa [Mon, 11 Oct 2004 00:58:57 +0000 (00:58 +0000)]
(mface__realize): Delete args langauge and charset.
(mface__for_chars): Fix for the case that glyphs have different
rfaces.
(mface__update_frame_face): Adjust for mface__realize change.

20 years ago(compose_glyph_string): Use more constant font for
handa [Mon, 11 Oct 2004 00:58:40 +0000 (00:58 +0000)]
(compose_glyph_string): Use more constant font for
glyphs.  Adjust for the member change in MGlyph.
(layout_glyph_string): Adjust for the member change in MGlyph.
(alloc_gstring): Intilize scracth_glyph to avoid
compose_glyph_string on it.
(get_gstring): Don't call compose_glyph_string on scracth_glyph.
(mdraw_coordinates_position): Fix previous change.

20 years agoNew file.
handa [Mon, 11 Oct 2004 00:58:03 +0000 (00:58 +0000)]
New file.

20 years agoInclude m17n-core.pc, m17n-shell.pc, and
handa [Mon, 11 Oct 2004 00:57:26 +0000 (00:57 +0000)]
Include m17n-core.pc, m17n-shell.pc, and
m17n-gui.pc in AC_CONFIG_FILES.

20 years ago(EXTRA_DIST, pkgconfigdir, pkgconfig_DATA): New
handa [Mon, 11 Oct 2004 00:57:10 +0000 (00:57 +0000)]
(EXTRA_DIST, pkgconfigdir, pkgconfig_DATA): New
variables.

20 years ago*** empty log message ***
handa [Mon, 11 Oct 2004 00:56:31 +0000 (00:56 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
handa [Tue, 5 Oct 2004 07:46:41 +0000 (07:46 +0000)]
*** empty log message ***

20 years ago(add_font_info): Add instead of push the element.
handa [Mon, 4 Oct 2004 06:36:11 +0000 (06:36 +0000)]
(add_font_info): Add instead of push the element.
(ft_list_family): For generic fonts, try all
substituted. families.

20 years ago*** empty log message ***
handa [Mon, 4 Oct 2004 06:36:02 +0000 (06:36 +0000)]
*** empty log message ***

20 years ago(UPDATE_CLUSTER_RANGE): New macro.
handa [Mon, 4 Oct 2004 00:37:44 +0000 (00:37 +0000)]
(UPDATE_CLUSTER_RANGE): New macro.
(run_rule): Don't update cluster range here.
(run_command): Update cluster range on appending a glyph.
(run_otf): Update cluster range for glyphs generated by OTF.

20 years ago*** empty log message ***
handa [Mon, 4 Oct 2004 00:37:34 +0000 (00:37 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
handa [Sat, 2 Oct 2004 02:55:13 +0000 (02:55 +0000)]
*** empty log message ***

20 years ago(device_open): Handle Mfont key in PLIST.
handa [Sat, 2 Oct 2004 02:55:09 +0000 (02:55 +0000)]
(device_open): Handle Mfont key in PLIST.

20 years ago*** empty log message ***
handa [Sat, 2 Oct 2004 02:36:08 +0000 (02:36 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
handa [Thu, 30 Sep 2004 13:12:06 +0000 (13:12 +0000)]
*** empty log message ***

20 years ago(ft_select): Ignore family on calling mfont__score.
handa [Thu, 30 Sep 2004 13:11:55 +0000 (13:11 +0000)]
(ft_select): Ignore family on calling mfont__score.

20 years ago*** empty log message ***
handa [Thu, 30 Sep 2004 02:21:31 +0000 (02:21 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
handa [Thu, 30 Sep 2004 01:55:41 +0000 (01:55 +0000)]
*** empty log message ***

20 years ago(ft_list): Fix typo (== -> !=).
handa [Thu, 30 Sep 2004 01:55:37 +0000 (01:55 +0000)]
(ft_list): Fix typo (== -> !=).

20 years ago*** empty log message ***
handa [Thu, 30 Sep 2004 01:25:27 +0000 (01:25 +0000)]
*** empty log message ***

20 years ago(STRDUP_LOWER): New macro.
handa [Thu, 30 Sep 2004 01:25:23 +0000 (01:25 +0000)]
(STRDUP_LOWER): New macro.
(set_font_info): Use STRDUP_LOWER.
(ft_list_family): Avoid duplicate addition of font path.  Use
STRDUP_LOWER.
(fc_decode_prop): Fix typo.

20 years ago*** empty log message ***
handa [Thu, 30 Sep 2004 00:03:06 +0000 (00:03 +0000)]
*** empty log message ***

20 years agoDon't include <fontconfig/fontconfig.h> here.
handa [Thu, 30 Sep 2004 00:03:00 +0000 (00:03 +0000)]
Don't include <fontconfig/fontconfig.h> here.
(Mserif, Msans_serif, Mmonospace, Mmedium, Mr, Mnull): New
variables.
(ft_family_list): New variable.
(set_font_info): New arg basep.  Callers changed.
(fc_list): Check the return value of FcPatternGetString.
(add_font_info): New arg plist.  Callers changed. Update
ft_family_list.
(ft_list_family): New function (merged fc_list and ft_list_all).
(ft_select): Use ft_list_family.
(ft_list): Likewise.  If FONT is not NULL, check all fonts.
(mfont__ft_init): Initialize above new variables.
(mfont__ft_fini): Free ft_family_list.

20 years agoInclude <fontconfig/fontconfig.h>.
handa [Wed, 29 Sep 2004 23:57:50 +0000 (23:57 +0000)]
Include <fontconfig/fontconfig.h>.
(MFTInfo): New member langset.
(mfont__encoding_list): Extern it.

20 years ago(mfont__encoding_list): New function.
handa [Wed, 29 Sep 2004 23:57:03 +0000 (23:57 +0000)]
(mfont__encoding_list): New function.
(mdebug_dump_font_list): New function.

20 years ago(MDisplayInfo): New member all_fonts_scaned.
handa [Wed, 29 Sep 2004 23:56:31 +0000 (23:56 +0000)]
(MDisplayInfo): New member all_fonts_scaned.
(xfont_registry_list): Change argument disp_info to frame.
Callers changed.
(xfont_list_all): New function.
(xfont_list): If FONT is not NULL, check all fonts.

20 years ago*** empty log message ***
handa [Wed, 29 Sep 2004 00:06:30 +0000 (00:06 +0000)]
*** empty log message ***

20 years ago(device_init): Set xft_driver.list.
handa [Wed, 29 Sep 2004 00:06:27 +0000 (00:06 +0000)]
(device_init): Set xft_driver.list.

20 years ago*** empty log message ***
handa [Tue, 28 Sep 2004 23:40:41 +0000 (23:40 +0000)]
*** empty log message ***

20 years agoFix previous change.
handa [Tue, 28 Sep 2004 11:20:14 +0000 (11:20 +0000)]
Fix previous change.

20 years ago*** empty log message ***
handa [Tue, 28 Sep 2004 11:17:17 +0000 (11:17 +0000)]
*** empty log message ***

20 years ago(MXFont, MXFontList): New types.
handa [Tue, 28 Sep 2004 11:17:12 +0000 (11:17 +0000)]
(MXFont, MXFontList): New types.
(MDisplayInfo): Delete members font_registry_list,
iso8859_1_family_list, iso10646_1_family_list, new members
font_list, base_font_list.
(free_display_info): Adusted for the change of MDisplayInfo.
(xfont_driver): Initialize with xfont_list.
(font_compare): New function.
(build_font_list): Deleted.
(xfont_registry_list): New function.
(xfont_select): Use xfont_registry_list.
(xfont_list): New function.
(device_open): Adusted for the change of MDisplayInfo.

20 years ago(add_font_info): New arg languages. Callers changed.
handa [Tue, 28 Sep 2004 11:12:39 +0000 (11:12 +0000)]
(add_font_info): New arg languages.  Callers changed.
(fc_list): Get languages from fonts..
(ft_list_all): Renamed from ft_list.  Callers changed.
(ft_list): New function.
(mfont__ft_driver): Initalize with ft_list.

20 years ago(mfont_list): New function.
handa [Tue, 28 Sep 2004 11:10:40 +0000 (11:10 +0000)]
(mfont_list): New function.

20 years ago(struct MFontDriver): New member `list'.
handa [Tue, 28 Sep 2004 11:10:19 +0000 (11:10 +0000)]
(struct MFontDriver): New member `list'.
(MFTInfo): New member languages.

20 years ago(mfont_list): Extern it.
handa [Tue, 28 Sep 2004 11:09:34 +0000 (11:09 +0000)]
(mfont_list): Extern it.

20 years ago*** empty log message ***
handa [Mon, 27 Sep 2004 07:42:23 +0000 (07:42 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
handa [Sun, 26 Sep 2004 23:42:13 +0000 (23:42 +0000)]
*** empty log message ***

20 years ago(struct MGlyphString): Delete members mt,
handa [Sun, 26 Sep 2004 23:41:49 +0000 (23:41 +0000)]
(struct MGlyphString): Delete members mt,
sub_width, sub_lbrearing, sub_rbearing, and region.

20 years ago(MSubTextExtents): New type.
handa [Sun, 26 Sep 2004 23:40:42 +0000 (23:40 +0000)]
(MSubTextExtents): New type.
(layout_glyphs): New arg extents.  Set its members.
(layout_glyph_string): Adjusted for the above change.
(alloc_gstring): Don't set gstring->mt.
(truncate_gstring): Call line_break function with mt instead of
gstring->mt.

20 years ago*** empty log message ***
handa [Thu, 23 Sep 2004 00:40:47 +0000 (00:40 +0000)]
*** empty log message ***

20 years agoAdd Sinhala.
handa [Thu, 23 Sep 2004 00:40:24 +0000 (00:40 +0000)]
Add Sinhala.

20 years ago(count_utf_16_chars): Count each code of invalid
handa [Wed, 22 Sep 2004 00:07:43 +0000 (00:07 +0000)]
(count_utf_16_chars): Count each code of invalid
surrogates as one.

20 years ago*** empty log message ***
handa [Wed, 22 Sep 2004 00:07:08 +0000 (00:07 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
handa [Sun, 19 Sep 2004 01:15:57 +0000 (01:15 +0000)]
*** empty log message ***

20 years ago(default_utf_16, default_utf_32): Rename them to
handa [Sun, 19 Sep 2004 01:15:50 +0000 (01:15 +0000)]
(default_utf_16, default_utf_32): Rename them to
MTEXT_FORMAT_UTF_16 and MTEXT_FORMAT_UTF_32 respectively.  Callers
changed.

20 years ago(MTEXT_FORMAT_UTF_16, MTEXT_FORMAT_UTF_32): Extern
handa [Sun, 19 Sep 2004 01:07:26 +0000 (01:07 +0000)]
(MTEXT_FORMAT_UTF_16, MTEXT_FORMAT_UTF_32): Extern
them.

20 years ago*** empty log message ***
handa [Tue, 14 Sep 2004 02:38:09 +0000 (02:38 +0000)]
*** empty log message ***

20 years ago(update_selection): Fix for the case that the selection
handa [Tue, 14 Sep 2004 02:38:02 +0000 (02:38 +0000)]
(update_selection): Fix for the case that the selection
is just one line.

20 years ago*** empty log message ***
handa [Mon, 13 Sep 2004 11:02:25 +0000 (11:02 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
handa [Mon, 13 Sep 2004 04:55:27 +0000 (04:55 +0000)]
*** empty log message ***

20 years ago(Mlatin): Don't declare it here.
handa [Mon, 13 Sep 2004 04:55:21 +0000 (04:55 +0000)]
(Mlatin): Don't declare it here.
(visual_order): Fix reordering of combining characters.
(compose_glyph_string): Fix detection of script.
(layout_glyphs): Don't fix reordering of combining characters
here.
(layout_glyph_string): Pay attention to
control->disable_overlapping_adjustment.
(truncate_gstring): Include at least on character in a line.
(get_gstring): Always scan one full line.
(mdraw__init): Don't initialize Mlatin here.
(mdraw_text_per_char_extents): Fix iteration.  If a glyph doesn't
have a font, use ascent/descent of an ASCII font.  Allow
ink_array_return and logical_array_return to be NULL.
(mdraw_coordinates_position): Fix iteration.

20 years ago(MFTtoProp): Member completely changed.
handa [Mon, 13 Sep 2004 02:09:08 +0000 (02:09 +0000)]
(MFTtoProp): Member completely changed.
(ft_to_prop): Adjusted for the above change.
(ft_to_prop_size): Likewise.
(set_font_info): Adjusted for the change of MFTtoProp.
(fc_generic_family_list): New variable.
(fc_list): Add special handling of generic font names.
(mfont__ft_init): Adjusted for the change of MFTtoProp.
Initialize fc_generic_family_list.
(mfont__ft_fini): Don't free ft_to_prop.  Free
fc_generic_family_list.
(FC_vs_M17N_font_prop): New type.
(fc_weight_table, fc_slant_table, fc_width_table): New variables.
(fc_decode_prop, fc_encode_prop): New functions.
(mfont__ft_parse_name): Use fc_decode_prop.
(mfont__ft_unparse_name): Use fc_encode_prop.

20 years ago(MDisplayInfo): Delete member realized_font_list.
handa [Mon, 13 Sep 2004 01:58:14 +0000 (01:58 +0000)]
(MDisplayInfo): Delete member realized_font_list.
(MWDevice): Add member realized_font_list.
(free_display_info): Don't free disp_info->realized_font_list.
(free_device): Free device->realized_fontset_list.
(xft_find_metric): Use gstring->frame instead of rfont->frame.
(device_open): Don't initialize disp_info->realized_font_list.
(device_open): Initialize device->realized_font_list and set it to
frame->realized_font_list.

20 years ago(try_font_group): New function.
handa [Mon, 13 Sep 2004 01:55:39 +0000 (01:55 +0000)]
(try_font_group): New function.
(mfont__lookup_fontset): Use try_font_group.

20 years ago(common_weight): Change the order of "regular".
handa [Mon, 13 Sep 2004 01:54:51 +0000 (01:54 +0000)]
(common_weight): Change the order of "regular".

20 years ago(Mlatin): Don't make it static.
handa [Mon, 13 Sep 2004 01:53:52 +0000 (01:53 +0000)]
(Mlatin): Don't make it static.
(mface__realize): Be sure to set work_gstring.frame.
(mface__for_chars): Likewise.

20 years ago(mdebug_dump_mtext): Fix for the case of mt->format >
handa [Mon, 13 Sep 2004 01:52:35 +0000 (01:52 +0000)]
(mdebug_dump_mtext): Fix for the case of mt->format >
MTEXT_FORMAT_UTF_8.

20 years ago(Mlatin): Extern it.
handa [Mon, 13 Sep 2004 01:51:24 +0000 (01:51 +0000)]
(Mlatin): Extern it.

20 years ago*** empty log message ***
handa [Mon, 13 Sep 2004 01:50:45 +0000 (01:50 +0000)]
*** empty log message ***

20 years ago(layout_glyphs): If a glyph of width zero is found in r2l
handa [Mon, 6 Sep 2004 23:48:54 +0000 (23:48 +0000)]
(layout_glyphs): If a glyph of width zero is found in r2l
level, reorder it so that it follows a base glyph.

20 years ago*** empty log message ***
handa [Mon, 6 Sep 2004 12:47:19 +0000 (12:47 +0000)]
*** empty log message ***

20 years ago(run_otf): Fix typo ('}'->']').
handa [Mon, 6 Sep 2004 12:47:14 +0000 (12:47 +0000)]
(run_otf): Fix typo ('}'->']').

20 years ago*** empty log message ***
handa [Mon, 6 Sep 2004 12:45:33 +0000 (12:45 +0000)]
*** empty log message ***

20 years ago(mfont__ft_drive_otf): Set g->combining_code to a
handa [Mon, 6 Sep 2004 12:45:25 +0000 (12:45 +0000)]
(mfont__ft_drive_otf): Set g->combining_code to a
precomupted combining code.

20 years ago(layout_glyphs): Hanlde precomputed combining code.
handa [Mon, 6 Sep 2004 12:44:44 +0000 (12:44 +0000)]
(layout_glyphs): Hanlde precomputed combining code.

20 years ago(MAKE_PRECOMPUTED_COMBINDING_CODE)
handa [Mon, 6 Sep 2004 12:44:17 +0000 (12:44 +0000)]
(MAKE_PRECOMPUTED_COMBINDING_CODE)
(COMBINING_PRECOMPUTED_P): New macros.

20 years ago*** empty log message ***
handa [Fri, 3 Sep 2004 08:04:56 +0000 (08:04 +0000)]
*** empty log message ***

20 years ago(mfont__ft_drive_otf): Use malloc and free for
handa [Fri, 3 Sep 2004 08:04:50 +0000 (08:04 +0000)]
(mfont__ft_drive_otf): Use malloc and free for
otf_gstring.glyphs.

20 years ago*** empty log message ***
ntakahas [Wed, 1 Sep 2004 03:43:20 +0000 (03:43 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
ntakahas [Wed, 1 Sep 2004 02:39:16 +0000 (02:39 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
handa [Fri, 27 Aug 2004 12:50:28 +0000 (12:50 +0000)]
*** empty log message ***

20 years ago(help_exit): Describe about the arg "-r".
handa [Fri, 27 Aug 2004 12:50:20 +0000 (12:50 +0000)]
(help_exit): Describe about the arg "-r".
(reverse_bit_order, init_reverse_bit_order): Delete them.
(main): Handle the arg "-r".

20 years ago(mface_put_prop): Fix previous change.
handa [Fri, 27 Aug 2004 12:48:17 +0000 (12:48 +0000)]
(mface_put_prop): Fix previous change.

20 years ago*** empty log message ***
handa [Fri, 27 Aug 2004 07:47:06 +0000 (07:47 +0000)]
*** empty log message ***

20 years ago(mface_put_prop): If the new value is the same as the
handa [Fri, 27 Aug 2004 07:47:00 +0000 (07:47 +0000)]
(mface_put_prop): If the new value is the same as the
current one, don't increment frame->tick.

20 years ago*** empty log message ***
handa [Wed, 25 Aug 2004 08:47:06 +0000 (08:47 +0000)]
*** empty log message ***

20 years ago(mfontset): Initialize font_spec_list member.
handa [Wed, 25 Aug 2004 08:46:53 +0000 (08:46 +0000)]
(mfontset): Initialize font_spec_list member.
(mfontset_copy): Load fontset if necessary.

20 years ago*** empty log message ***
handa [Wed, 25 Aug 2004 03:51:54 +0000 (03:51 +0000)]
*** empty log message ***

20 years agoAdjusted for the member name change
handa [Wed, 25 Aug 2004 03:51:12 +0000 (03:51 +0000)]
Adjusted for the member name change
(MDrawGlyphInfo->this -> MDrawGlyphInfo->metics).

20 years ago(MDrawGlyphInfo): Change the member name 'this' to
handa [Wed, 25 Aug 2004 03:48:40 +0000 (03:48 +0000)]
(MDrawGlyphInfo): Change the member name 'this' to
'metrics' to for C++.

20 years ago(mdraw_glyph_info): Adjusted for the member name change
handa [Wed, 25 Aug 2004 03:48:30 +0000 (03:48 +0000)]
(mdraw_glyph_info): Adjusted for the member name change
(this -> metics).

20 years agoNew file.
ntakahas [Mon, 23 Aug 2004 08:59:27 +0000 (08:59 +0000)]
New file.

20 years ago*** empty log message *** REL-1-1-0
handa [Mon, 16 Aug 2004 08:19:13 +0000 (08:19 +0000)]
*** empty log message ***

20 years agoAdd Oriya and Dhivehi.
handa [Mon, 16 Aug 2004 08:19:05 +0000 (08:19 +0000)]
Add Oriya and Dhivehi.

20 years agoAdd Dhivehi.
handa [Mon, 16 Aug 2004 08:09:14 +0000 (08:09 +0000)]
Add Dhivehi.

20 years agoAdd Dhivehi.
ntakahas [Mon, 16 Aug 2004 08:01:57 +0000 (08:01 +0000)]
Add Dhivehi.

20 years agoAdd Oriya.
ntakahas [Mon, 16 Aug 2004 07:30:49 +0000 (07:30 +0000)]
Add Oriya.
Order sorted.

20 years ago*** empty log message ***
handa [Mon, 16 Aug 2004 04:35:46 +0000 (04:35 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
handa [Mon, 16 Aug 2004 04:27:25 +0000 (04:27 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
handa [Mon, 16 Aug 2004 02:06:45 +0000 (02:06 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
handa [Mon, 16 Aug 2004 00:58:14 +0000 (00:58 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
handa [Mon, 16 Aug 2004 00:38:55 +0000 (00:38 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
handa [Mon, 16 Aug 2004 00:02:41 +0000 (00:02 +0000)]
*** empty log message ***

20 years ago(covert_selection): Handle explicit request of
handa [Mon, 16 Aug 2004 00:02:35 +0000 (00:02 +0000)]
(covert_selection): Handle explicit request of
UTF8_STRING.
(ExposeProc): If an initial input method is specifed, activate it.
(setup_input_methods): New arg initial_input_method.  If it's not
NULL, set current_input_method to the corresponding index.
(help_exit): Fix help message.
(main): Handle --im and -s command args.

20 years ago(help_exit): Fix help message.
handa [Mon, 16 Aug 2004 00:01:20 +0000 (00:01 +0000)]
(help_exit): Fix help message.

20 years ago(mdraw_glyph_list): Fix previous change.
handa [Fri, 13 Aug 2004 13:05:35 +0000 (13:05 +0000)]
(mdraw_glyph_list): Fix previous change.