m17n/m17n-lib.git
19 years ago(device_open): Try at most 32 fonts to find a
handa [Sun, 7 Nov 2004 23:08:44 +0000 (23:08 +0000)]
(device_open): Try at most 32 fonts to find a
non-autoscaled font.

19 years ago*** empty log message ***
handa [Fri, 5 Nov 2004 02:05:05 +0000 (02:05 +0000)]
*** empty log message ***

19 years ago(commont_style): Include dummy elements "slanted" and
handa [Fri, 5 Nov 2004 02:05:00 +0000 (02:05 +0000)]
(commont_style): Include dummy elements "slanted" and
"rslanted" to prefer "o" to "r" if "i" is requested.

19 years ago(ft_to_prop): Fix "oblique" entry.
handa [Fri, 5 Nov 2004 02:03:58 +0000 (02:03 +0000)]
(ft_to_prop): Fix "oblique" entry.

19 years agoAdd Armenian.
ntakahas [Mon, 1 Nov 2004 12:57:38 +0000 (12:57 +0000)]
Add Armenian.

19 years ago*** empty log message ***
handa [Fri, 29 Oct 2004 11:07:41 +0000 (11:07 +0000)]
*** empty log message ***

19 years ago(MXFont): New members smallest and larger.
handa [Fri, 29 Oct 2004 11:07:35 +0000 (11:07 +0000)]
(MXFont): New members smallest and larger.
(xfont_registry_list): Fix previous change.
(xfont_select): Likewise.

19 years ago(xlfd_parse_name): If avgwidth is 0, set the size to 0.
handa [Fri, 29 Oct 2004 07:42:01 +0000 (07:42 +0000)]
(xlfd_parse_name): If avgwidth is 0, set the size to 0.

19 years ago(MXFont): Change type of the member `sizes' to int.
handa [Fri, 29 Oct 2004 07:41:07 +0000 (07:41 +0000)]
(MXFont): Change type of the member `sizes' to int.
(SET_SIZE, HAVE_SIZE): Adjusted for the above change.
(xfont_registry_list): Likewise.
(xfont_select): Likewise.

19 years ago*** empty log message ***
handa [Fri, 29 Oct 2004 07:12:05 +0000 (07:12 +0000)]
*** empty log message ***

19 years ago(main): Fix handling of "-s" arg.
handa [Fri, 29 Oct 2004 07:12:01 +0000 (07:12 +0000)]
(main): Fix handling of "-s" arg.

19 years ago*** empty log message ***
handa [Thu, 28 Oct 2004 11:47:39 +0000 (11:47 +0000)]
*** empty log message ***

19 years ago(xfont_registry_list): Include '-' before PIXEL_SIZE in
handa [Thu, 28 Oct 2004 11:47:27 +0000 (11:47 +0000)]
(xfont_registry_list): Include '-' before PIXEL_SIZE in
font name comparison.
(xfont_select): Fix logic for selecting a larger size font.

19 years ago*** empty log message ***
handa [Mon, 25 Oct 2004 11:26:04 +0000 (11:26 +0000)]
*** empty log message ***

19 years ago(take_action_list): Initialize `ret' to 0 for "=", "<",
handa [Mon, 25 Oct 2004 11:25:58 +0000 (11:25 +0000)]
(take_action_list): Initialize `ret' to 0 for "=", "<",
">" actions.

19 years ago*** empty log message ***
handa [Fri, 22 Oct 2004 05:43:05 +0000 (05:43 +0000)]
*** empty log message ***

19 years ago(update_candidate): Renamed from udpate_candidate.
handa [Fri, 22 Oct 2004 05:43:00 +0000 (05:43 +0000)]
(update_candidate): Renamed from udpate_candidate.
(take_action_list): Show more debugging info on arithmetic commands.

19 years ago(device_open): Fix previous change.
handa [Fri, 22 Oct 2004 05:42:09 +0000 (05:42 +0000)]
(device_open): Fix previous change.

19 years ago(compose_glyph_string): Don't get face property at the
handa [Fri, 22 Oct 2004 05:41:38 +0000 (05:41 +0000)]
(compose_glyph_string): Don't get face property at the
end of M-text.

19 years ago*** empty log message ***
handa [Thu, 21 Oct 2004 06:35:09 +0000 (06:35 +0000)]
*** empty log message ***

19 years ago(compose_glyph_string): Fix for the case of category
handa [Thu, 21 Oct 2004 06:35:03 +0000 (06:35 +0000)]
(compose_glyph_string): Fix for the case of category
being Mnil.

19 years ago*** empty log message ***
handa [Tue, 19 Oct 2004 01:53:42 +0000 (01:53 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
nisikimi [Thu, 14 Oct 2004 01:26:52 +0000 (01:26 +0000)]
*** empty log message ***

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

19 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 *'.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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