m17n/m17n-lib.git
20 years ago*** empty log message ***
nisikimi [Thu, 14 Oct 2004 01:26:52 +0000 (01:26 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
nisikimi [Thu, 14 Oct 2004 01:09:53 +0000 (01:09 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
handa [Thu, 14 Oct 2004 00:54:23 +0000 (00:54 +0000)]
*** empty log message ***

20 years ago(device_open): Accept Mxft as the value of key Mfont.
handa [Thu, 14 Oct 2004 00:54:14 +0000 (00:54 +0000)]
(device_open): Accept Mxft as the value of key Mfont.

20 years ago*** empty log message ***
handa [Thu, 14 Oct 2004 00:45:15 +0000 (00:45 +0000)]
*** empty log message ***

20 years ago(M17N_EXT_LIBS): New variable to accumulate
handa [Thu, 14 Oct 2004 00:26:36 +0000 (00:26 +0000)]
(M17N_EXT_LIBS): New variable to accumulate
available external libraries.

20 years ago(device_open): Be sure to register at least one font
handa [Wed, 13 Oct 2004 11:14:14 +0000 (11:14 +0000)]
(device_open): Be sure to register at least one font
driver.

20 years ago*** empty log message ***
handa [Wed, 13 Oct 2004 08:01:53 +0000 (08:01 +0000)]
*** empty log message ***

20 years agoFix previous change.
handa [Wed, 13 Oct 2004 06:29:56 +0000 (06:29 +0000)]
Fix previous change.

20 years ago*** empty log message ***
handa [Wed, 13 Oct 2004 06:21:47 +0000 (06:21 +0000)]
*** empty log message ***

20 years agoInclude <freetype/ftbdf.h> conditionally. Check
handa [Wed, 13 Oct 2004 06:21:43 +0000 (06:21 +0000)]
Include <freetype/ftbdf.h> conditionally.  Check
HAVE_FTBDF_H before calling FT_Get_BDF_Property.

20 years agoCheck if <freetype/ftbdf.h> is available or not.
handa [Wed, 13 Oct 2004 06:20:33 +0000 (06:20 +0000)]
Check if <freetype/ftbdf.h> is available or not.

20 years ago*** empty log message ***
handa [Tue, 12 Oct 2004 13:05:20 +0000 (13:05 +0000)]
*** empty log message ***

20 years ago(FaceProc): Call hide_cursor () at first.
handa [Tue, 12 Oct 2004 13:05:11 +0000 (13:05 +0000)]
(FaceProc): Call hide_cursor () at first.

20 years ago*** empty log message ***
handa [Tue, 12 Oct 2004 12:24:26 +0000 (12:24 +0000)]
*** empty log message ***

20 years ago(alloc_gstring): Fix previous change.
handa [Tue, 12 Oct 2004 12:24:21 +0000 (12:24 +0000)]
(alloc_gstring): Fix previous change.

20 years ago*** empty log message ***
handa [Tue, 12 Oct 2004 12:19:24 +0000 (12:19 +0000)]
*** empty log message ***

20 years ago(ft_list_generic): Fix for the case of not
handa [Tue, 12 Oct 2004 12:19:15 +0000 (12:19 +0000)]
(ft_list_generic): Fix for the case of not
HAVE_FONTCONFIG.

20 years ago(mwin__parse_event): Fix for non-ASCII keys.
handa [Tue, 12 Oct 2004 12:17:49 +0000 (12:17 +0000)]
(mwin__parse_event): Fix for non-ASCII keys.

20 years ago(mfont_list): If no font is found, return NULL.
handa [Tue, 12 Oct 2004 12:17:07 +0000 (12:17 +0000)]
(mfont_list): If no font is found, return NULL.
(load_font_encoding_table): Put entries of nil registry first.
(find_encoding): Adjust for the above change.

20 years ago(KeyProc): Cast buf to `unsigned char *'.
handa [Tue, 12 Oct 2004 12:16:06 +0000 (12:16 +0000)]
(KeyProc): Cast buf to `unsigned char *'.

20 years ago*** empty log message ***
handa [Tue, 12 Oct 2004 00:23:49 +0000 (00:23 +0000)]
*** empty log message ***

20 years agoUse pkg-config (if available) for Xft.
handa [Tue, 12 Oct 2004 00:23:43 +0000 (00:23 +0000)]
Use pkg-config (if available) for Xft.

20 years ago(mfont_list): If no font is found, return NULL.
handa [Tue, 12 Oct 2004 00:23:10 +0000 (00:23 +0000)]
(mfont_list): If no font is found, return NULL.

20 years ago(xfont_list): Fix previous change.
handa [Mon, 11 Oct 2004 02:17:47 +0000 (02:17 +0000)]
(xfont_list): Fix previous change.

20 years ago(ft_list): Fix previous change.
handa [Mon, 11 Oct 2004 02:17:21 +0000 (02:17 +0000)]
(ft_list): Fix previous change.

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

20 years ago(mfont_list): Adjust prototype.
handa [Mon, 11 Oct 2004 01:01:38 +0000 (01:01 +0000)]
(mfont_list): Adjust prototype.

20 years ago(xfont_list): New arg maxnum.
handa [Mon, 11 Oct 2004 01:00:59 +0000 (01:00 +0000)]
(xfont_list): New arg maxnum.

20 years ago(glyph_category): New enum.
handa [Mon, 11 Oct 2004 01:00:24 +0000 (01:00 +0000)]
(glyph_category): New enum.
(MGlyph): Change type of <category> to enum glyph_category.

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.