m17n/m17n-lib.git
19 years ago*** empty log message ***
nisikimi [Fri, 3 Dec 2004 08:31:49 +0000 (08:31 +0000)]
*** empty log message ***

19 years agoFix typo in comments.
ntakahas [Fri, 3 Dec 2004 08:07:12 +0000 (08:07 +0000)]
Fix typo in comments.

19 years ago*** empty log message ***
handa [Fri, 3 Dec 2004 00:22:51 +0000 (00:22 +0000)]
*** empty log message ***

19 years ago(m17n__core_initialized, m17n__shell_initialized,
handa [Fri, 3 Dec 2004 00:19:44 +0000 (00:19 +0000)]
(m17n__core_initialized, m17n__shell_initialized,
m17n__gui_initialized): New externs.

19 years ago(m17n_init_win): Adjust the prototype.
handa [Fri, 3 Dec 2004 00:19:28 +0000 (00:19 +0000)]
(m17n_init_win): Adjust the prototype.

19 years ago(win_initialized): Delete this variable.
handa [Fri, 3 Dec 2004 00:18:49 +0000 (00:18 +0000)]
(win_initialized): Delete this variable.
(m17n_init_win, m17n_fini_win): Check m17n__gui_initialized
instead of gui_initialized.

19 years ago(shell_initialized): Delete this variable.
handa [Fri, 3 Dec 2004 00:18:28 +0000 (00:18 +0000)]
(shell_initialized): Delete this variable.
(m17n_init, m17n_fini): Check m17n__shell_initialized instead of
shell_initialized.

19 years ago(core_initialized): Delete this variable.
handa [Fri, 3 Dec 2004 00:18:09 +0000 (00:18 +0000)]
(core_initialized): Delete this variable.
(m17n__core_initialized, m17n__shell_initialized,
m17n__gui_initialized): New variables.
(m17n_init_core, m17n_fini_core): Check m17n__core_initialized
instead of core_initialized.
(m17n_status): New function.

19 years ago(enum M17NStatus): New enum.
handa [Fri, 3 Dec 2004 00:17:08 +0000 (00:17 +0000)]
(enum M17NStatus): New enum.
(m17n_status): Extern it.

19 years ago(face_available): New variable.
handa [Fri, 3 Dec 2004 00:09:34 +0000 (00:09 +0000)]
(face_available): New variable.
(init): Check if GUI APIs are available or not.  If not, set
face_available to 0.
(fini): Free a face only if face_available is not zero.
(ispell_word): Put face property only if available.

19 years agoFix typo in comments.
ntakahas [Thu, 2 Dec 2004 08:29:05 +0000 (08:29 +0000)]
Fix typo in comments.

19 years agoFix typo in comments.
ntakahas [Thu, 2 Dec 2004 08:13:25 +0000 (08:13 +0000)]
Fix typo in comments.

19 years ago*** empty log message ***
handa [Fri, 19 Nov 2004 11:22:38 +0000 (11:22 +0000)]
*** empty log message ***

19 years ago(load_input_method): Don't unref `maps' it it's not created.
handa [Fri, 19 Nov 2004 11:22:20 +0000 (11:22 +0000)]
(load_input_method): Don't unref `maps' it it's not created.

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

19 years ago(reset_ic): Check if ic_info->state is NULL.
handa [Fri, 19 Nov 2004 02:41:22 +0000 (02:41 +0000)]
(reset_ic): Check if ic_info->state is NULL.
(filter): If ic_info->state is NULL, return 0.

19 years ago*** empty log message ***
handa [Mon, 15 Nov 2004 12:00:44 +0000 (12:00 +0000)]
*** empty log message ***

19 years ago(find_candidates_group): If INDEX is -1, find the last
handa [Mon, 15 Nov 2004 12:00:21 +0000 (12:00 +0000)]
(find_candidates_group): If INDEX is -1, find the last
candidate group.
(take_action_list): If the previous of the first candidate is
requested, select the last candidate.

19 years ago*** empty log message ***
handa [Sun, 7 Nov 2004 23:08:52 +0000 (23:08 +0000)]
*** empty log message ***

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.