m17n/m17n-lib.git
19 years ago(mframe): Print error message give by dlopen to
handa [Sun, 18 Jul 2004 07:42:12 +0000 (07:42 +0000)]
(mframe): Print error message give by dlopen to
stderr.

19 years ago*** empty log message ***
handa [Fri, 16 Jul 2004 12:50:19 +0000 (12:50 +0000)]
*** empty log message ***

19 years ago(compose_glyph_string): Improve the way of deciding a
handa [Fri, 16 Jul 2004 12:48:18 +0000 (12:48 +0000)]
(compose_glyph_string): Improve the way of deciding a
script.  For a character that doesn't have script property, use
the last non-latin script.

19 years ago(fc_list): Cancel previous change.
handa [Fri, 16 Jul 2004 12:46:14 +0000 (12:46 +0000)]
(fc_list): Cancel previous change.
(mfont__ft_init): Add more entries in ft_to_prop_name.

19 years ago(compose_glyph_string): If a character's script is not
handa [Fri, 16 Jul 2004 04:25:21 +0000 (04:25 +0000)]
(compose_glyph_string): If a character's script is not
available, try searching backward before searching forward.

19 years ago(mdraw_glyph_list): Fix previous change.
handa [Thu, 15 Jul 2004 02:50:28 +0000 (02:50 +0000)]
(mdraw_glyph_list): Fix previous change.

19 years ago(mdraw_glyph_list): Fix previous change.
handa [Thu, 15 Jul 2004 02:44:30 +0000 (02:44 +0000)]
(mdraw_glyph_list): Fix previous change.

19 years ago(mdraw_glyph_list): Fix previous change.
handa [Thu, 15 Jul 2004 02:40:05 +0000 (02:40 +0000)]
(mdraw_glyph_list): Fix previous change.

19 years ago(mdraw_glyph_list): Add the width of padding glyphs to
handa [Thu, 15 Jul 2004 02:37:25 +0000 (02:37 +0000)]
(mdraw_glyph_list): Add the width of padding glyphs to
previous or next character glyphs.

19 years ago(mfont__lookup_fontset): Fix previous change.
handa [Wed, 14 Jul 2004 05:19:25 +0000 (05:19 +0000)]
(mfont__lookup_fontset): Fix previous change.

19 years ago(compose_glyph_string): Fix previous change.
handa [Wed, 14 Jul 2004 05:19:04 +0000 (05:19 +0000)]
(compose_glyph_string): Fix previous change.

19 years ago*** empty log message ***
handa [Wed, 14 Jul 2004 05:12:11 +0000 (05:12 +0000)]
*** empty log message ***

19 years ago(compose_glyph_string): Be sure to set codes for glyphs
handa [Wed, 14 Jul 2004 05:12:07 +0000 (05:12 +0000)]
(compose_glyph_string): Be sure to set codes for glyphs
of type GLYPH_SPACE.

19 years ago(mfont__lookup_fontset): If glyph type is
handa [Wed, 14 Jul 2004 05:10:59 +0000 (05:10 +0000)]
(mfont__lookup_fontset): If glyph type is
GLYPH_SPACE, get codes for SPACE.

19 years ago(Mfont): Delete extern.
handa [Wed, 14 Jul 2004 01:34:21 +0000 (01:34 +0000)]
(Mfont): Delete extern.

19 years ago(Mfont): Delete duplicated extern.
handa [Wed, 14 Jul 2004 01:33:38 +0000 (01:33 +0000)]
(Mfont): Delete duplicated extern.

19 years ago*** empty log message ***
handa [Tue, 13 Jul 2004 01:48:19 +0000 (01:48 +0000)]
*** empty log message ***

19 years ago(DEVICE_DELTA): New macro.
handa [Tue, 13 Jul 2004 01:48:03 +0000 (01:48 +0000)]
(DEVICE_DELTA): New macro.
(adjust_anchor): New function.
(mfont__ft_drive_gsub): Renamed from mfont__ft_drive_otf.  Drive
only GSUB.
(mfont__ft_drive_gpos): New function.

19 years ago* font-flt.c (FontLayoutCmdOTF): Moved to internal-gui.h.
handa [Tue, 13 Jul 2004 01:46:38 +0000 (01:46 +0000)]
* font-flt.c (FontLayoutCmdOTF): Moved to internal-gui.h.
(FontLayoutContext): Delete member `rfont'.
(run_otf): Set g->otf_cmd.  Call
(mfont__flt_run): Don't set ctx.rfont.  Call mfont__ft_decode_otf
only whne HAVE_OTF is defined.

* internal-gui.h (FontLayoutCmdOTF): Moved from font-flt.c.
(MGlyph): New member otf_cmd.

19 years agoInclude "config.h".
handa [Tue, 13 Jul 2004 01:42:32 +0000 (01:42 +0000)]
Include "config.h".

19 years ago(FontLayoutCmdOTF): Moved from font-flt.c.
handa [Tue, 13 Jul 2004 01:42:12 +0000 (01:42 +0000)]
(FontLayoutCmdOTF): Moved from font-flt.c.
(MGlyph): New member otf_cmd.

19 years ago(mfont__ft_drive_gsub): Adjust prototype.
handa [Tue, 13 Jul 2004 01:41:15 +0000 (01:41 +0000)]
(mfont__ft_drive_gsub): Adjust prototype.
(mfont__ft_drive_gpos): Extern it.

19 years ago(layout_glyphs): Call mfont__ft_drive_gpos.
handa [Tue, 13 Jul 2004 01:40:03 +0000 (01:40 +0000)]
(layout_glyphs): Call mfont__ft_drive_gpos.

19 years ago*** empty log message ***
handa [Wed, 7 Jul 2004 11:49:01 +0000 (11:49 +0000)]
*** empty log message ***

19 years ago(Mcoding_compound_text): New variable.
handa [Wed, 7 Jul 2004 11:48:54 +0000 (11:48 +0000)]
(Mcoding_compound_text): New variable.
(covert_selection): Fix previous change.
(main): Set Mcoding_compound_text.

19 years ago*** empty log message ***
handa [Wed, 7 Jul 2004 11:26:34 +0000 (11:26 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
handa [Tue, 6 Jul 2004 11:37:40 +0000 (11:37 +0000)]
*** empty log message ***

19 years ago(libm17n_core_la_LIBADD): New variable.
handa [Tue, 6 Jul 2004 11:37:14 +0000 (11:37 +0000)]
(libm17n_core_la_LIBADD): New variable.
(libm17n_core_la_LDFLAGS): Add -export-dynamic, move
@XML2_LD_FLAGS@ to above.
(libm17n_la_LIBADD): Add -ldl.
(libm17n_la_LDFLAGS): Add -export-dynamic.
(X_LD_FLAGS): Fix the order of linking.
(libm17n_gui_la_LIBADD): Add ${OPTIONAL_LD_FLAGS}.
(libm17n_gui_la_LDFLAGS): Add -export-dynamic, delete above.
(libm17n_X_la_LDFLAGS): Add -module.
(libm17n_gd_la_SOURCES): Delete m17n-gd.h.
(libm17n_gd_la_LIBADD): Add @GD_LD_FLAGS@.
(libm17n_gd_la_LDFLAGS): Add -module.
(include_HEADERS): Delete m17n-gd.h.

19 years agoCancel previous changes
handa [Tue, 6 Jul 2004 11:36:45 +0000 (11:36 +0000)]
Cancel previous changes

19 years ago*** empty log message ***
handa [Tue, 6 Jul 2004 11:24:04 +0000 (11:24 +0000)]
*** empty log message ***

19 years agoCancel previous change.
handa [Tue, 6 Jul 2004 11:23:57 +0000 (11:23 +0000)]
Cancel previous change.

19 years ago(X_LD_FLAGS): Fix the order of linking.
handa [Tue, 6 Jul 2004 11:23:30 +0000 (11:23 +0000)]
(X_LD_FLAGS): Fix the order of linking.
(medit_LDADD, mview_LDADD, mdump_LDADD): Cancel previous change.

19 years ago*** empty log message ***
handa [Tue, 6 Jul 2004 05:14:19 +0000 (05:14 +0000)]
*** empty log message ***

19 years ago(covert_selection): If X_HAVE_UTF8_STRING is defined and
handa [Tue, 6 Jul 2004 05:14:07 +0000 (05:14 +0000)]
(covert_selection): If X_HAVE_UTF8_STRING is defined and
target is XA_UTF8_STRING, encode by utf-8.
(get_selection): If X_HAVE_UTF8_STRING is defined and *type is
XA_UTF8_STRING, decode by utf-8.

19 years agoAdd Punjabi, Kannada, Telugu, and Gujarati.
handa [Tue, 6 Jul 2004 05:13:54 +0000 (05:13 +0000)]
Add Punjabi, Kannada, Telugu, and Gujarati.

19 years agoAdd Telugu & Gujarati.
ntakahas [Mon, 5 Jul 2004 07:37:42 +0000 (07:37 +0000)]
Add Telugu & Gujarati.

19 years ago*** empty log message ***
handa [Mon, 5 Jul 2004 03:49:54 +0000 (03:49 +0000)]
*** empty log message ***

19 years agoAdd Kannada.
handa [Mon, 5 Jul 2004 03:49:39 +0000 (03:49 +0000)]
Add Kannada.

19 years ago*** empty log message ***
handa [Wed, 30 Jun 2004 07:06:27 +0000 (07:06 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
handa [Wed, 30 Jun 2004 03:38:09 +0000 (03:38 +0000)]
*** empty log message ***

19 years agoAdjusted for the change of struct MDeviceDriver.
handa [Wed, 30 Jun 2004 03:37:50 +0000 (03:37 +0000)]
Adjusted for the change of struct MDeviceDriver.
(MDeviceLibraryInterface): Delete it.
(register_device_library): Delete it.
(m17n__device_library_list): Renamed from device_library_list.

19 years ago* m17n-gui.h (M17N_INIT_X, M17N_INIT_GD): New macros.
handa [Wed, 30 Jun 2004 03:36:08 +0000 (03:36 +0000)]
* m17n-gui.h (M17N_INIT_X, M17N_INIT_GD): New macros.
(m17n_init_win): Adjust prototype.

* m17n-X.h: Include <m17n-gui.h>.
(m17n_init_X): Extern it.
(M17N_INIT): Redefine it.

19 years agoAdjusted for the change of struct MDeviceDriver.
handa [Wed, 30 Jun 2004 03:35:19 +0000 (03:35 +0000)]
Adjusted for the change of struct MDeviceDriver.
(m17n_init_gd): New function.

19 years agoNew file.
handa [Wed, 30 Jun 2004 02:53:23 +0000 (02:53 +0000)]
New file.

19 years agoInclude <m17n-gui.h>.
handa [Wed, 30 Jun 2004 02:53:04 +0000 (02:53 +0000)]
Include <m17n-gui.h>.
(m17n_init_X): Extern it.
(M17N_INIT): Redefine it.

19 years agoAdjusted for the change of struct MDeviceDriver.
handa [Wed, 30 Jun 2004 02:51:55 +0000 (02:51 +0000)]
Adjusted for the change of struct MDeviceDriver.
(m17n_init_X): New function.

19 years ago(m17n__device_library_list): Extern it.
handa [Wed, 30 Jun 2004 02:50:33 +0000 (02:50 +0000)]
(m17n__device_library_list): Extern it.
(struct MDeviceDriver): New members initialized, init, and fini.

19 years ago(libm17n_X_la_LIBADD): Add ${X_LD_FLAGS} and
handa [Wed, 30 Jun 2004 02:49:56 +0000 (02:49 +0000)]
(libm17n_X_la_LIBADD): Add ${X_LD_FLAGS} and
@XFT2_LD_FLAGS@.
(libm17n_X_la_LIBADD): Delete aboves.
(libm17n_gd_la_SOURCES): Add m17n-gd.h.
(libm17n_gd_la_LIBADD): Add @GD_LD_FLAGS@.
(libm17n_gd_la_LDFLAGS): Delete it.
(include_HEADERS): Add m17n-gd.h.

19 years agoInclude <m17n-gd.h> instead of <m17n-gui.h>.
handa [Wed, 30 Jun 2004 02:47:36 +0000 (02:47 +0000)]
Include <m17n-gd.h> instead of <m17n-gui.h>.

19 years ago(X_LD_FLAGS): New variable.
handa [Wed, 30 Jun 2004 02:46:55 +0000 (02:46 +0000)]
(X_LD_FLAGS): New variable.
(medit_LDADD, mview_LDADD, mdump_LDADD): Add all depending
libraries.
(medit_LDFLAGS, mview_LDFLAGS, mdump_LDFLAGS): Delete them.
(libmimx_anthy_la_LIBADD): Add @ANTHY_LD_FLAGS@.
(libmimx_anthy_la_LDFLAGS): Delete @ANTHY_LD_FLAGS@.

19 years ago*** empty log message ***
handa [Wed, 30 Jun 2004 02:44:12 +0000 (02:44 +0000)]
*** empty log message ***

19 years agoAdd -lm17n-X and -lm17n-gd if necessary.
handa [Wed, 30 Jun 2004 02:44:04 +0000 (02:44 +0000)]
Add -lm17n-X and -lm17n-gd if necessary.

19 years ago*** empty log message ***
ntakahas [Fri, 25 Jun 2004 13:10:42 +0000 (13:10 +0000)]
*** empty log message ***

19 years agoAdd Punjabi.
ntakahas [Fri, 25 Jun 2004 13:07:02 +0000 (13:07 +0000)]
Add Punjabi.

19 years ago*** empty log message ***
handa [Fri, 25 Jun 2004 12:56:37 +0000 (12:56 +0000)]
*** empty log message ***

19 years ago(libm17n_X_la_LDFLAGS): Cancel previous change.
handa [Fri, 25 Jun 2004 12:56:33 +0000 (12:56 +0000)]
(libm17n_X_la_LDFLAGS): Cancel previous change.
(libm17n_gd_la_LDFLAGS): Cancel previous change.

19 years ago*** empty log message ***
handa [Fri, 25 Jun 2004 12:55:59 +0000 (12:55 +0000)]
*** empty log message ***

19 years ago(gd_render): Don't call FT_Get_Char_Index.
handa [Fri, 25 Jun 2004 12:53:54 +0000 (12:53 +0000)]
(gd_render): Don't call FT_Get_Char_Index.

19 years ago*** empty log message ***
handa [Fri, 25 Jun 2004 11:57:29 +0000 (11:57 +0000)]
*** empty log message ***

19 years ago(fc_list): If FcFontList finds no font, try
handa [Fri, 25 Jun 2004 11:57:20 +0000 (11:57 +0000)]
(fc_list): If FcFontList finds no font, try
FcFontMatch.

19 years ago(compose_glyph_string): Terminate the last loop after
handa [Fri, 25 Jun 2004 11:56:09 +0000 (11:56 +0000)]
(compose_glyph_string): Terminate the last loop after
doing default combining if necessary.

19 years ago*** empty log message ***
handa [Thu, 24 Jun 2004 07:08:59 +0000 (07:08 +0000)]
*** empty log message ***

19 years ago(mdraw_glyph_list): Unref gstring->top at the tail.
handa [Thu, 24 Jun 2004 07:08:49 +0000 (07:08 +0000)]
(mdraw_glyph_list): Unref gstring->top at the tail.

19 years ago(mchar_define_property): Add const to an arg.
handa [Thu, 24 Jun 2004 02:45:51 +0000 (02:45 +0000)]
(mchar_define_property): Add const to an arg.

19 years ago*** empty log message ***
handa [Thu, 24 Jun 2004 02:45:46 +0000 (02:45 +0000)]
*** empty log message ***

19 years ago(mchar_define_charset): Add const to an arg.
handa [Thu, 24 Jun 2004 02:45:20 +0000 (02:45 +0000)]
(mchar_define_charset): Add const to an arg.

19 years ago(MCodingSystem): Add const to an arg or decoder.
handa [Thu, 24 Jun 2004 02:44:57 +0000 (02:44 +0000)]
(MCodingSystem): Add const to an arg or decoder.
(finish_decoding): Add const to an arg.
(decode_coding_charset, decode_coding_utf_8)
(decode_coding_utf_16, decode_coding_utf_32)
(decode_coding_iso_2022, decode_coding_sjis)
(mconv_define_coding): Likewise.

19 years ago(xft_find_metric): Delete unused variable.
handa [Thu, 24 Jun 2004 02:43:29 +0000 (02:43 +0000)]
(xft_find_metric): Delete unused variable.

19 years ago(mchar_define_property, mtext_from_data): Adjust
handa [Thu, 24 Jun 2004 02:43:07 +0000 (02:43 +0000)]
(mchar_define_property, mtext_from_data): Adjust
prototypes.

19 years ago(mchar_define_charset, mconv_define_coding): Adjust
handa [Thu, 24 Jun 2004 02:42:32 +0000 (02:42 +0000)]
(mchar_define_charset, mconv_define_coding): Adjust
prototypes.

19 years ago(count_utf_8_chars, count_utf_16_chars)
handa [Thu, 24 Jun 2004 02:41:50 +0000 (02:41 +0000)]
(count_utf_8_chars, count_utf_16_chars)
(mtext__from_data, mtext_from_data): Add `const' to an arg.

19 years ago(mtext__from_data): Ajust prototype.
handa [Thu, 24 Jun 2004 02:41:02 +0000 (02:41 +0000)]
(mtext__from_data): Ajust prototype.

19 years ago*** empty log message ***
handa [Thu, 24 Jun 2004 02:39:58 +0000 (02:39 +0000)]
*** empty log message ***

19 years ago(libmimx_ispell_la_LDFLAGS)
handa [Thu, 24 Jun 2004 02:39:53 +0000 (02:39 +0000)]
(libmimx_ispell_la_LDFLAGS)
(libmimx_anthy_la_LDFLAGS): Add -module.

19 years ago*** empty log message ***
handa [Wed, 23 Jun 2004 05:43:38 +0000 (05:43 +0000)]
*** empty log message ***

19 years ago(medit_LDFLAGS, mview_LDFLAGS): Cancel the previous
handa [Wed, 23 Jun 2004 05:43:27 +0000 (05:43 +0000)]
(medit_LDFLAGS, mview_LDFLAGS): Cancel the previous
change.

19 years ago*** empty log message ***
handa [Wed, 23 Jun 2004 05:42:48 +0000 (05:42 +0000)]
*** empty log message ***

19 years ago(redraw_cursor): Refer to cursor.logical_width instead
handa [Wed, 23 Jun 2004 05:42:26 +0000 (05:42 +0000)]
(redraw_cursor): Refer to cursor.logical_width instead
of cursor.this.width.

19 years ago(compose_glyph_string): Always get glyph codes by
handa [Wed, 23 Jun 2004 05:41:37 +0000 (05:41 +0000)]
(compose_glyph_string): Always get glyph codes by
mface__for_char.
(mdraw_glyph_info): Set info->glyph_code and info->logical_width.
(mdraw_glyph_list): New function.

19 years ago(mfont__flt_run): Be sure to call
handa [Wed, 23 Jun 2004 05:40:15 +0000 (05:40 +0000)]
(mfont__flt_run): Be sure to call
rfont->driver->encode_char.

19 years ago(ft_find_metric): Don't call FT_Get_Char_Index.
handa [Wed, 23 Jun 2004 05:39:41 +0000 (05:39 +0000)]
(ft_find_metric): Don't call FT_Get_Char_Index.
(ft_encode_char): Delete arg C.
(ft_render): Don't call FT_Get_Char_Index.

19 years ago(mfont__encodable_p): Delete it.
handa [Wed, 23 Jun 2004 05:38:32 +0000 (05:38 +0000)]
(mfont__encodable_p): Delete it.
(mfont__encode_char): Be sure to call rfont->driver->encode_char.

19 years ago(struct MFontDriver): Delete arg C of encode_char.
handa [Wed, 23 Jun 2004 05:37:53 +0000 (05:37 +0000)]
(struct MFontDriver): Delete arg C of encode_char.
(mfont__encodable_p): Delete extern.

19 years ago(xfont_encode_char): Delete arg C.
handa [Wed, 23 Jun 2004 05:36:58 +0000 (05:36 +0000)]
(xfont_encode_char): Delete arg C.
(xft_find_metric): Don't cal FT_Get_Char_Index.
(xft_render): Likewise.

19 years ago(MDrawGlyphInfo): New members glyph_code and
handa [Wed, 23 Jun 2004 05:35:18 +0000 (05:35 +0000)]
(MDrawGlyphInfo): New members glyph_code and
logical_width.
(mdraw_glyph_list): Extern it.

19 years ago(libm17n_X_la_LDFLAGS): Don't include ${X_LD_FLAGS}.
handa [Wed, 23 Jun 2004 05:32:25 +0000 (05:32 +0000)]
(libm17n_X_la_LDFLAGS): Don't include ${X_LD_FLAGS}.

19 years ago*** empty log message ***
handa [Tue, 22 Jun 2004 07:46:30 +0000 (07:46 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
handa [Tue, 22 Jun 2004 06:37:09 +0000 (06:37 +0000)]
*** empty log message ***

19 years ago(mfontset_lookup): Extern it.
handa [Tue, 22 Jun 2004 05:56:33 +0000 (05:56 +0000)]
(mfontset_lookup): Extern it.

19 years ago*** empty log message ***
handa [Tue, 22 Jun 2004 05:56:26 +0000 (05:56 +0000)]
*** empty log message ***

19 years ago(m17n_init_win): Delete unnecessary printing.
handa [Tue, 22 Jun 2004 05:56:05 +0000 (05:56 +0000)]
(m17n_init_win): Delete unnecessary printing.

19 years ago(realize_fontset_elements)
handa [Tue, 22 Jun 2004 05:55:26 +0000 (05:55 +0000)]
(realize_fontset_elements)
(free_realized_fontset_elements, update_fontset_elements): New
functions.
(mfont__realize_fontset): Call realize_fontset_elements.
(mfont__free_realized_fontset): Call free_realized_fontset_elements.
(mfont__lookup_fontset): If a fontset was modified, update
the realized fontset.
(mfontset_modify_entry): Increment fontset->tick.
(mfontset_lookup): New function.

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

19 years ago(mfont__ft_parse_name): Cast the arg to FcNameParse.
handa [Mon, 21 Jun 2004 11:02:08 +0000 (11:02 +0000)]
(mfont__ft_parse_name): Cast the arg to FcNameParse.

19 years ago*** empty log message ***
handa [Mon, 21 Jun 2004 06:53:21 +0000 (06:53 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
handa [Mon, 21 Jun 2004 05:01:01 +0000 (05:01 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
handa [Mon, 21 Jun 2004 04:56:03 +0000 (04:56 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
handa [Mon, 21 Jun 2004 01:47:44 +0000 (01:47 +0000)]
*** empty log message ***

19 years ago(medit_LDFLAGS, mview_LDFLAGS): Include -lX11 and
handa [Mon, 21 Jun 2004 01:47:32 +0000 (01:47 +0000)]
(medit_LDFLAGS, mview_LDFLAGS): Include -lX11 and
-lXt.

19 years ago(mtext_dup, mtext_cat, mtext_ncat, mtext_cpy)
handa [Mon, 21 Jun 2004 01:27:56 +0000 (01:27 +0000)]
(mtext_dup, mtext_cat, mtext_ncat, mtext_cpy)
(mtext_ncpy, mtext_duplicate): Pay attention to the case that the
length of source text 0.