m17n/m17n-lib.git
19 years agoRun freetype-config with --libs instead of
handa [Thu, 3 Jun 2004 00:00:43 +0000 (00:00 +0000)]
Run freetype-config with --libs instead of
--libtool.

19 years ago*** empty log message ***
handa [Wed, 2 Jun 2004 11:42:22 +0000 (11:42 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
handa [Wed, 2 Jun 2004 07:23:03 +0000 (07:23 +0000)]
*** empty log message ***

19 years ago* font.c (enum xlfd_field_idx): Moved from m17n-X.c.
handa [Wed, 2 Jun 2004 07:22:41 +0000 (07:22 +0000)]
* font.c (enum xlfd_field_idx): Moved from m17n-X.c.
(xlfd_parse_name): Merge split_font_name and xfont_parse_name.
(xlfd_unparse_name): Renamed from xfont_build_name.
(mfont__init): Initialized Mfontconfig.
(mfont__free_realized): Unconditionally unref rfont->info.
(mfont__select): Free `this' if it's not best.
(mfont__open): Don't check frame->realized_font_list.
(mfont__parse_name_into_font): New function.
(Mfontconfig): New variable.
(mfont_from_name): Call mfont_parse_name.
(mfont_name): Call mfont_unparse_name.
(mdebug_dump_font): Likewise.

* m17n-X.c (xfont_driver): Don't include xfont_parse_name and
xfont_build_name.
(enum xlfd_field_idx): Moved to font.c.
(split_font_name, build_font_name): Likewise.
(build_font_list): Call mfont__parse_name_info_font.
(xfont_open): Call mfont__unparse_name.  Free name.
(xfont_parse_name, xfont_build_name): Moved to font.c
(xft_select): Prototype deleted.
(device_open): Check HAVE_FREETYPE on using mfont__ft_driver.
Call mfont_pase_name.

19 years ago(struct MFontDriver): Delete members parse_name and
handa [Wed, 2 Jun 2004 07:18:43 +0000 (07:18 +0000)]
(struct MFontDriver): Delete members parse_name and
build_name.
(mfont__ft_parse_name, mfont__ft_unparse_name): Extern them.
(mfont__parse_name_into_font): Extern it.

19 years agoInclude "symbol.h".
handa [Wed, 2 Jun 2004 07:17:35 +0000 (07:17 +0000)]
Include "symbol.h".
(close_ft): Unconditionally free filename and charmap_list of
ft_into.
(ft_open): Duplicate base->filename.  Increment ref-count of
ft_info->charmap_list.  Free ft_info->charmap_list and
ft_info->filename on error.
(mfont__ft_parse_name, mfont__ft_unparse_name): New functions.

19 years ago(xfont_driver): Don't include xfont_parse_name and
handa [Wed, 2 Jun 2004 07:14:01 +0000 (07:14 +0000)]
(xfont_driver): Don't include xfont_parse_name and
xfont_build_name.
(enum xlfd_field_idx): Moved to font.c.
(split_font_name, build_font_name): Likewise.
(build_font_list): Call mfont__parse_name_info_font.
(xfont_open): Call mfont__unparse_name.  Free name.
(xfont_parse_name, xfont_build_name): Moved to font.c
(xft_select): Prototype deleted.
(device_open): Check HAVE_FREETYPE on using mfont__ft_driver.
Call mfont_pase_name.

19 years ago(free_frame): Unref frame->font_driver_list.
handa [Wed, 2 Jun 2004 06:44:33 +0000 (06:44 +0000)]
(free_frame): Unref frame->font_driver_list.
(m17n_fini_win): Add check HAVE_FREETYPE in using null_interface.
(mframe): Likewise.

19 years ago(mfont_parse_name, mfont_unparse_name, Mfontconfig):
handa [Wed, 2 Jun 2004 06:43:23 +0000 (06:43 +0000)]
(mfont_parse_name, mfont_unparse_name, Mfontconfig):
Extern them.

19 years ago(linkgui_LDADD): Add libm17n-X.la and libm17n-gd.la.
handa [Wed, 2 Jun 2004 06:15:46 +0000 (06:15 +0000)]
(linkgui_LDADD): Add libm17n-X.la and libm17n-gd.la.

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

19 years ago(mfontset_modify_entry): Pay attention to the case
handa [Tue, 1 Jun 2004 01:21:10 +0000 (01:21 +0000)]
(mfontset_modify_entry): Pay attention to the case
that fontset->font_spec_list is NULL.

19 years ago*** empty log message ***
handa [Mon, 31 May 2004 23:08:08 +0000 (23:08 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
handa [Mon, 31 May 2004 11:28:30 +0000 (11:28 +0000)]
*** empty log message ***

19 years agoInclude <dlfcn.h> only when HAVE_DLFCN_H is defined.
handa [Mon, 31 May 2004 11:28:12 +0000 (11:28 +0000)]
Include <dlfcn.h> only when HAVE_DLFCN_H is defined.

19 years ago(mfont__select): Print score the a font for debugging.
handa [Mon, 31 May 2004 11:27:27 +0000 (11:27 +0000)]
(mfont__select): Print score the a font for debugging.

19 years ago(AM_CPPFLAGS): Cancel previous change.
handa [Mon, 31 May 2004 11:26:39 +0000 (11:26 +0000)]
(AM_CPPFLAGS): Cancel previous change.

19 years ago(libm17n_la_LIBADD): Delete -ldl.
handa [Mon, 31 May 2004 11:26:00 +0000 (11:26 +0000)]
(libm17n_la_LIBADD): Delete -ldl.
(AM_CPPFLAGS): Cancel previous change.

19 years agoCheck the availability of dlopen. Append
handa [Mon, 31 May 2004 11:24:49 +0000 (11:24 +0000)]
Check the availability of dlopen.  Append
$X_CFLAGS to CPPFLAGS.

19 years ago(AM_CPPFLAGS): New variable.
handa [Mon, 31 May 2004 08:06:00 +0000 (08:06 +0000)]
(AM_CPPFLAGS): New variable.

19 years ago(AM_CPPFLAGS): Add @X_CFLAGS@.
handa [Mon, 31 May 2004 07:53:51 +0000 (07:53 +0000)]
(AM_CPPFLAGS): Add @X_CFLAGS@.

19 years ago(reset_coding_sjis): Check kanji and kana instead of
handa [Mon, 31 May 2004 07:50:51 +0000 (07:50 +0000)]
(reset_coding_sjis): Check kanji and kana instead of
kanji_sym and kana_sym.

19 years ago*** empty log message ***
handa [Fri, 28 May 2004 12:08:17 +0000 (12:08 +0000)]
*** empty log message ***

19 years ago(VINFO): New variable.
handa [Fri, 28 May 2004 12:07:51 +0000 (12:07 +0000)]
(VINFO): New variable.
(libmimx_ispell_la_LDFLAGS, libmimx_anthy_la_LDFLAGS): Include
${VINFO}.

19 years ago(VINFO): New variable.
handa [Fri, 28 May 2004 12:07:14 +0000 (12:07 +0000)]
(VINFO): New variable.
(libm17n_core_la_LDFLAGS, libm17n_la_LDFLAGS)
(libm17n_gd_la_LDFLAGS): Include ${VINFO}.

19 years agoNew variable API_VERSION.
handa [Fri, 28 May 2004 12:06:21 +0000 (12:06 +0000)]
New variable API_VERSION.

19 years ago*** empty log message ***
handa [Fri, 28 May 2004 08:09:08 +0000 (08:09 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
handa [Fri, 28 May 2004 04:24:28 +0000 (04:24 +0000)]
*** empty log message ***

19 years agoAccept "GUI" flag and adjusted for the new
handa [Thu, 27 May 2004 23:42:08 +0000 (23:42 +0000)]
Accept "GUI" flag and adjusted for the new
configuration.

19 years ago*** empty log message ***
handa [Thu, 27 May 2004 23:02:11 +0000 (23:02 +0000)]
*** empty log message ***

19 years ago(PROGRAM_VERSION): Renamed from VERSION.
handa [Thu, 27 May 2004 23:01:47 +0000 (23:01 +0000)]
(PROGRAM_VERSION): Renamed from VERSION.
(main): Use PROGRAM_VERSION.

19 years ago*** empty log message ***
handa [Thu, 27 May 2004 11:47:21 +0000 (11:47 +0000)]
*** empty log message ***

19 years agoIf Xft is not available, set XFT2_LD_FLAGS to null.
handa [Thu, 27 May 2004 11:47:17 +0000 (11:47 +0000)]
If Xft is not available, set XFT2_LD_FLAGS to null.
Likewise for xml2.

19 years ago*** empty log message ***
handa [Thu, 27 May 2004 11:32:23 +0000 (11:32 +0000)]
*** empty log message ***

19 years ago(main): Make face_input_status copy of face_default.
handa [Thu, 27 May 2004 11:32:19 +0000 (11:32 +0000)]
(main): Make face_input_status copy of face_default.

19 years agoInclude config.h. If not HAVE_FREETYPE nor HAVE_GD, define a pseudo
handa [Thu, 27 May 2004 11:08:56 +0000 (11:08 +0000)]
Include config.h.  If not HAVE_FREETYPE nor HAVE_GD, define a pseudo
function main that just print an error message.

19 years ago*** empty log message ***
handa [Thu, 27 May 2004 11:04:50 +0000 (11:04 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
handa [Thu, 27 May 2004 10:58:41 +0000 (10:58 +0000)]
*** empty log message ***

19 years agoNew file.
handa [Thu, 27 May 2004 10:57:20 +0000 (10:57 +0000)]
New file.

19 years agoCheck fontconfig even if Xft is available. Check
handa [Thu, 27 May 2004 10:56:55 +0000 (10:56 +0000)]
Check fontconfig even if Xft is available.  Check
gd library.

19 years ago*** empty log message ***
handa [Thu, 27 May 2004 09:21:14 +0000 (09:21 +0000)]
*** empty log message ***

19 years agoClean old files at first.
handa [Thu, 27 May 2004 09:20:44 +0000 (09:20 +0000)]
Clean old files at first.

19 years ago(MDeviceType): New enum.
handa [Thu, 27 May 2004 09:20:23 +0000 (09:20 +0000)]
(MDeviceType): New enum.
(MWDefice): Delete it.
(struct MFrame): Change type of device to void *.  New members
device_type, driver, font_driver_list.
(M_CHECK_WRITABLE, M_CHECK_READABLE): New macros.
(MDeviceDriver): New type.
(Mx, Mgd, Mfreetype): Extern them.
(mwin__XXX): Delete all of them.

19 years ago(Mdevice, Mdisplay, Mscreen, Mdrawable, Mdepth)
handa [Thu, 27 May 2004 09:19:46 +0000 (09:19 +0000)]
(Mdevice, Mdisplay, Mscreen, Mdrawable, Mdepth)
(Mwidget, Mcolormap, Mx): Extern them.

19 years ago*** empty log message ***
handa [Thu, 27 May 2004 09:18:00 +0000 (09:18 +0000)]
*** empty log message ***

19 years ago(m17n_init): Increament shell_initialized.
handa [Thu, 27 May 2004 09:16:47 +0000 (09:16 +0000)]
(m17n_init): Increament shell_initialized.
(m17n_fini): Decremented shell_initialized.

19 years ago(enum MErrorCode): New element MERROR_GD.
handa [Thu, 27 May 2004 09:16:18 +0000 (09:16 +0000)]
(enum MErrorCode): New element MERROR_GD.

19 years agoInclude <dlfcn.h> and "config.h".
handa [Thu, 27 May 2004 09:15:37 +0000 (09:15 +0000)]
Include <dlfcn.h> and "config.h".
(free_frame): Call frame->driver->close instead of
mwin__close_device.
(DLOPEN_SHLIB_EXT): New macro.
(MDeviceLibraryInterface): New type.
(device_library_list): New variable.
(register_device_library): New function.
(null_device): New variable.
(null_device_close, null_device_get_prop)
(null_device_realize_face, null_device_free_realized_face): New
function.
(null_driver): New variable.
(null_device_init, null_device_fini, null_device_open): New
functions.
(null_interface): New variable.
(Mfreetype, Mdevice): Declare them.
(m17n_init_win): Increment win_initialized.  Initialize Mx, Mgd,
Mfreetype, Mdevice, Mdisplay, Mscreen, Mdrawable, Mdevice, and
Mwin__Close_Device.  Register drivers for Mx and Mgd.
(m17n_fini_win): Decremented win_initialized.  Call "fini"
function of all opened devices.  Don't call mwin__fini.
(Mdisplay, Mscreen, Mdrawable, Mdepth, Mwidget, Mcolormap):
Declare them here.
(mframe): Handle Mdevice key of PLIST.
(mframe_get_prop): Call frame->device->get_prop instead of
mwin__device_get_prop.

19 years ago(M17NLIB_MAJOR_VERSION, M17NLIB_MINOR_VERSION)
handa [Thu, 27 May 2004 09:08:26 +0000 (09:08 +0000)]
(M17NLIB_MAJOR_VERSION, M17NLIB_MINOR_VERSION)
(M17NLIB_PATCH_LEVEL, M17NLIB_VERSION_NAME): Updated to 1.1.0.

19 years ago(m17n_init_core): Increate core_initialized.
handa [Thu, 27 May 2004 09:07:41 +0000 (09:07 +0000)]
(m17n_init_core): Increate core_initialized.
(m17n_fini_core): Decremented core_initialized.

19 years ago(Mdisplay, Mscreen, Mdrawable, Mdepth, Mwidget)
handa [Thu, 27 May 2004 09:07:02 +0000 (09:07 +0000)]
(Mdisplay, Mscreen, Mdrawable, Mdepth, Mwidget)
(Mcolormap): Don't extern them here.

19 years ago(FRAME_DEVICE): New macro.
handa [Thu, 27 May 2004 09:06:17 +0000 (09:06 +0000)]
(FRAME_DEVICE): New macro.
(FRAME_DISPLAY, FRAME_SCREEN, FRAME_CMAP): Use FRAME_DEVICE.
(free_display_info): Use MPLIST_DO.
(free_device): Free rface->info.
(xft_close): Delete it.
(device_init): Renamed from mwin__init.
(device_fini): Renamed from mwin__fini.
(device_open): Renamed from mwin__open_device.
(x_driver): New variable.
(MXFontInfo): Delete member frame, add member display.
(Mdisplay, Mscreen, Mdrawable, Mdepth, Mwidget, Mcolormap, Mxim):
Don't declare them here.

19 years ago(win_create_ic): Call frame->driver->XXX instead of
handa [Thu, 27 May 2004 08:54:58 +0000 (08:54 +0000)]
(win_create_ic): Call frame->driver->XXX instead of
mwin__XXX.
(win_destroy_ic): Likewise.
(adjust_window_and_draw): Likewise.
(win_callback): Likewise.
(Mxim): Declare it here.
(minput_event_to_key): Call M_CHECK_READABLE.

19 years ago(mfont__lookup_fontset): Delete local variable
handa [Thu, 27 May 2004 08:53:07 +0000 (08:53 +0000)]
(mfont__lookup_fontset): Delete local variable
font_group.

19 years ago(struct MFontDriver): Delete member close, add members
handa [Thu, 27 May 2004 08:52:33 +0000 (08:52 +0000)]
(struct MFontDriver): Delete member close, add members
parse_name and build_name.
(mfont__driver_list): Delete extern.
(mfont__close): Delete extern.

19 years ago(mfont__init): Don't set mfont__driver_list.
handa [Thu, 27 May 2004 08:48:54 +0000 (08:48 +0000)]
(mfont__init): Don't set mfont__driver_list.
(mfont__fini): Don't unref mfont__driver_list.
(mfont__select): Try font drivers in frame->font_driver_list.  Set
driver member of a realized font.
(mfont__close): Delete it.
(mfont_from_name, mfont_name, mdebug_dump_font): Call driver
functions of the default frame.

19 years ago(close_ft): Check ft_info->ft_face and work
handa [Thu, 27 May 2004 08:45:26 +0000 (08:45 +0000)]
(close_ft): Check ft_info->ft_face and work
differently.
(add_font_info): Allocate ft_info by M17N_OBJECT.
(ft_close): Delete it.
(mfont__ft_driver): Don't set ft_close.
(ft_select): Increment ref-count of best_font.
(ft_open): Decremented ref-count of base.  On error, call
FT_Done_Face and free ft_info.
(ft_find_metric): Always use XXX_MONO in load_flags.
(ft_render): Fix setting of width.  Call
frame->driver->draw_points instead of mwin__draw_points.
(ft_to_prop): Don't set mfont__driver_list.
(mfont__ft_fini): Just unref ft_info.

19 years ago(mface__init): Exchange foreground and background of
handa [Thu, 27 May 2004 08:39:32 +0000 (08:39 +0000)]
(mface__init): Exchange foreground and background of
mface__default.  Call mface_put_prop to set hline of
mface_underline,
(mface__realize): Call frame->driver->XXX instead of mwin__XXX.
(mface__free_realized): Don't call mwin__free_realized_face.

19 years ago(Mdepth): Don't declare it here.
handa [Thu, 27 May 2004 08:36:39 +0000 (08:36 +0000)]
(Mdepth): Don't declare it here.
(draw_background): Call frame->driver->XXX instead of mwin__XXX.
(render_glyphs, render_glyph_string): Likewise.
(mdraw__init): Don't set Mdepth.
(mdraw_text, mdraw_image_text, mdraw_text_with_control): Call
M_CHECK_WRITABLE.
(mdraw_text_per_char_extents): Return 0 on success and -1 on
error.
(mdraw_text_items): Check FRAME is writable.
(mdraw_per_char_extents): Implement body.

19 years ago(lib_LTLIBRARIES): Include libm17n-gui.la and
handa [Thu, 27 May 2004 08:29:46 +0000 (08:29 +0000)]
(lib_LTLIBRARIES): Include libm17n-gui.la and
libm17n-gd.la.
(OPTIONAL_LD_FLAGS): Include @FONTCONFIG_LD_FLAGS@.
(GUI_SOURCES): Delete it.
(libm17n_X_la_SOURCES): Don't include ${GUI_SOURCES}.
(libm17n_gui_la_SOURCES, libm17n_gui_la_LIBADD)
(libm17n_gui_la_LDFLAGS, libm17n_gd_la_SOURCES)
(libm17n_gd_la_LIBADD, libm17n_gd_la_LDFLAGS): New targets.
(linkgui_LDADD): Set to libm17n-gui.la
(linkgui_LDFLAGS): New target.
(SRC): Include ${libm17n_gui_la_SOURCES} and
${libm17n_gd_la_SOURCES}.

19 years ago*** empty log message ***
handa [Thu, 27 May 2004 08:24:54 +0000 (08:24 +0000)]
*** empty log message ***

19 years ago(show_cursor): Check hline->width and box->width.
handa [Thu, 27 May 2004 08:24:39 +0000 (08:24 +0000)]
(show_cursor): Check hline->width and box->width.
(main): Set reverse videomode in a face for selection.

19 years agoInclude <gd.h> instead of <X11/Xlib.h>.
handa [Thu, 27 May 2004 08:23:27 +0000 (08:23 +0000)]
Include <gd.h> instead of <X11/Xlib.h>.
(help_exit): Adjusted for the change of spec.
(dump_image): Argument changed.  Dump PNG image instead of PBM.
(main): Adjusted for the change of spec.

19 years ago(common_ldflags_gui): Renamed from
handa [Thu, 27 May 2004 08:21:40 +0000 (08:21 +0000)]
(common_ldflags_gui): Renamed from
common_ldflags_X.  Set to .../libm17n-gui.la.  Referrer changed.
(mdump_LDFLAGS): Include @GD_LD_FLAGS@

19 years agoAdd Bengali.
handa [Thu, 27 May 2004 08:02:11 +0000 (08:02 +0000)]
Add Bengali.

19 years ago*** empty log message ***
handa [Mon, 24 May 2004 13:12:50 +0000 (13:12 +0000)]
*** empty log message ***

19 years agoFix AC_CHECK_LIB arg for fontconfig.
handa [Mon, 24 May 2004 13:11:42 +0000 (13:11 +0000)]
Fix AC_CHECK_LIB arg for fontconfig.

19 years agoFix typo (pkg-conifg ->pkg-config).
handa [Mon, 24 May 2004 13:06:38 +0000 (13:06 +0000)]
Fix typo (pkg-conifg ->pkg-config).

19 years ago*** empty log message ***
handa [Mon, 24 May 2004 04:06:58 +0000 (04:06 +0000)]
*** empty log message ***

19 years ago(draw_background): Don't draw background even if
handa [Mon, 24 May 2004 04:02:11 +0000 (04:02 +0000)]
(draw_background): Don't draw background even if
rface->face.property[MFACE_BACKGROUND] is not Mnil.

19 years ago(xft_open_font): Fix anti_alias setting.
handa [Sat, 22 May 2004 01:09:16 +0000 (01:09 +0000)]
(xft_open_font): Fix anti_alias setting.

19 years ago*** empty log message ***
handa [Sat, 22 May 2004 01:09:02 +0000 (01:09 +0000)]
*** empty log message ***

19 years agoAdd Bengali.
handa [Fri, 21 May 2004 12:05:03 +0000 (12:05 +0000)]
Add Bengali.

19 years ago*** empty log message ***
handa [Fri, 21 May 2004 11:21:46 +0000 (11:21 +0000)]
*** empty log message ***

19 years ago(HAVE_FRIBIDI): Unset FRIBIDI_LD_FLAGS if fribidi
handa [Fri, 21 May 2004 11:21:37 +0000 (11:21 +0000)]
(HAVE_FRIBIDI): Unset FRIBIDI_LD_FLAGS if fribidi
library is not found.

19 years ago*** empty log message ***
handa [Fri, 21 May 2004 00:03:08 +0000 (00:03 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
handa [Thu, 20 May 2004 06:50:07 +0000 (06:50 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
handa [Thu, 20 May 2004 06:27:50 +0000 (06:27 +0000)]
*** empty log message ***

19 years ago(redraw): If contro.anti_alias is nonzero, always clear.
handa [Thu, 20 May 2004 06:27:38 +0000 (06:27 +0000)]
(redraw): If contro.anti_alias is nonzero, always clear.
(ButtonMoveProc): Don't give control.anti_alias to redraw.
(default_face_list): New variable.
(FaceProc): If no selection, change the default face.
(main): Initialize and finalize default_face_list.

19 years ago(MFaceHookFunc): Change this function type to void.
handa [Thu, 20 May 2004 06:25:28 +0000 (06:25 +0000)]
(MFaceHookFunc): Change this function type to void.

19 years agoInclude "plist.h".
handa [Thu, 20 May 2004 06:24:51 +0000 (06:24 +0000)]
Include "plist.h".
(mframe): If PLIST is NULL, initialize it to emply plist.

19 years ago(build_font_list): Don't set property[MFONT_TYPE].
handa [Thu, 20 May 2004 06:23:51 +0000 (06:23 +0000)]
(build_font_list): Don't set property[MFONT_TYPE].
(xft_driver): New variable.
(xft_select, close_xft, xft_open_font, xft_open, xft_close)
(xft_find_metric, xft_render): New function.
(mwin__init): Adjusted for the new mfont__driver_list.
(mwin__open_device): Assume arg PARAM is not NULL.  Push a newly
generated face to PARAM.
(mwin__realize_face): Fix setting of box colors.  Don't call hook
function here.
(mwin__draw_hline): New function.
(mwin__xft_close, mwin__xft_open, mwin__xft_get_metric)
(mwin__xft_render): Delete these function.

19 years ago(struct MFrame): New member tick.
handa [Thu, 20 May 2004 06:19:30 +0000 (06:19 +0000)]
(struct MFrame): New member tick.
(struct MGlyphString): New member tick.
(mwin__draw_rect, mwin__draw_empty_boxes): Extern them.
(mwin__xft_open, mwin__xft_close, mwin__xft_get_metric)
(mwin__xft_render): Delete extern.

19 years ago(mfont__lookup_fontset): Make the code simpler.
handa [Thu, 20 May 2004 06:17:51 +0000 (06:17 +0000)]
(mfont__lookup_fontset): Make the code simpler.
(mfontset): Always increment the reference count of returned
object.

19 years ago(mfont__ft_fini): Don't include <otf.h> here.
handa [Thu, 20 May 2004 06:16:09 +0000 (06:16 +0000)]
(mfont__ft_fini): Don't include <otf.h> here.
(MFTInfo): Moved to font.h.
(ft_iso8859_1_font_list): Delete this variable.
(set_font_info): Don't set font->property[MFONT_TYPE].
(set_font_info): Don't udpate ft_iso8859_1_font_list.
(add_font_info): Change type to void.
(fc_list): Change anme from xft_list.  Caller changed.  Include
FC_FOUNDRY and FC_PIXEL_SIZE in FcObjectSet.
(mfont__ft_driver): Change name from ft_driver.  Caller changed.
(ft_select): Check HAVE_FONTCONFIG instead of HAVE_XFT2.
(close_ft): Don't call mwin__xft_close.  Unref
ft_info->extra_info.
(ft_open): Don't setup ft_info->fontname.  Don't call
mwin__xft_open.
(ft_find_metric): Don't call mwin__xft_get_metric.
(ft_encode_char): Call rfont->driver->open instead of ft_open.
(ft_render): Don't check HAVE_XFT2.  Don't call mwin__xft_render.
(mfont__ft_init): Adjusted for new mfont__driver_list.
(mfont__ft_fini): Don't unref ft_iso8859_1_font_list.

19 years ago(mfont__driver_list): Make it MPlist.
handa [Thu, 20 May 2004 06:05:29 +0000 (06:05 +0000)]
(mfont__driver_list): Make it MPlist.
(mfont__init): Adjust initialization of mfont__driver_list.
(mfont__fini): Free mfont__driver_list.
(mfont__set_spec_from_face): Don't set spec->property[MFONT_TYPE].
(mfont__select): Adjusted for the new mfont__driver_list.

19 years ago(enum MFontProperty): Delete MFONT_TYPE.
handa [Thu, 20 May 2004 06:03:08 +0000 (06:03 +0000)]
(enum MFontProperty): Delete MFONT_TYPE.
(mfont__drirver_list): Adjust prototype.
(MFTInfo): Moved here from fron.c.

19 years ago(struct MFace): Delete member realized_face_list, add
handa [Thu, 20 May 2004 06:01:18 +0000 (06:01 +0000)]
(struct MFace): Delete member realized_face_list, add
member frame_list.
(struct MRealizedFace): Delete member need_update
andnofont_rface, add member non_ascii_list.
(mface__update_frame_face): Extern it.

19 years ago(hline_prop_list, box_prop_list, noop_hook): New
handa [Thu, 20 May 2004 05:59:47 +0000 (05:59 +0000)]
(hline_prop_list, box_prop_list, noop_hook): New
variables.
(get_hline_create, get_box_create): New functions.
(find_realized_face): Cancel previous change.  Arg RFONT deleted.
Use memcmp.
(free_face): Cancep previous change.  Free face->frame_list.
(serialize_hline): Do nothing if hline->width is zero.
(serialize_box): Do nothing if box->width is zero.
(mface__init): Setup all properties of mfae__default.
(mface__fini): Free hline_prop_list and box_prop_list.
(mface__realize): Cancel previous change.  Update
face->frame_list.  Setup rface->non_ascii_list.
(mface__for_chars): Update rface->non_ascii_list.
(mface__free_realized): Free rface->non_ascii_list.
(mface__update_frame_face): New function.
(mface): Initialize face->frame_list.
(mface_copy): Likewise.  Just copy MFACE_HLINE and MFACE_BOX
properties.
(mface_merge): Likewise.
(mface_put_prop): If key is Mhline or Mbox, get value by
get_hline_create or get_box_create respectively.
(mface_put_prop): Update frame->tick and call
mface__update_frame_face if necessary.
(mface_update): Do nothing if func is noop_hook.

19 years ago(render_glyphs): If a font is not found, use
handa [Thu, 20 May 2004 05:48:27 +0000 (05:48 +0000)]
(render_glyphs): If a font is not found, use
mwin__draw_empty_boxes.
(alloc_gstring): Initialized gstring->tick.
(get_gstring): Check gstring->tick.

19 years ago*** empty log message ***
handa [Thu, 20 May 2004 05:24:44 +0000 (05:24 +0000)]
*** empty log message ***

19 years agoIf libotf is not available, clear OTF_LD_FLAGS.
handa [Tue, 18 May 2004 11:11:29 +0000 (11:11 +0000)]
If libotf is not available, clear OTF_LD_FLAGS.
Double quaote several variables.  Even if xft-config is not
available, check if Xft library is available.  Setup
HAVE_FONTCONFIG.

19 years ago*** empty log message ***
handa [Mon, 17 May 2004 07:00:34 +0000 (07:00 +0000)]
*** empty log message ***

19 years ago(find_realized_face): Return value changed. If RFONT is
handa [Mon, 17 May 2004 06:59:33 +0000 (06:59 +0000)]
(find_realized_face): Return value changed.  If RFONT is
NULL, avoid unnecessary checking.
(free_face): Free face->realized_face_list.
(mface__realize): Adjusted for the change of find_realized_face.
If it returns a realized face that needs update, free it and
realize a new one.  Push a new realized face to
frame->realized_face_list instead of appending.
(mface__for_chars): Adjusted for the change of find_realized_face.
Short cut if the required font is in rface->ascii_rface.
(mface_put_prop): Free old value if necessary.  Set need_update
member of realized faces to 1.

19 years ago(struct MFace): Delete member tick, add member
handa [Mon, 17 May 2004 06:55:12 +0000 (06:55 +0000)]
(struct MFace): Delete member tick, add member
realized_face_list.
(struct MRealizedFace): Delete member tick, add member
need_update.

20 years ago(mwin__xft_open): Destroy unnecessary patterns.
handa [Thu, 13 May 2004 02:23:27 +0000 (02:23 +0000)]
(mwin__xft_open): Destroy unnecessary patterns.

20 years ago(mwin__xft_open): Fix previous change.
handa [Wed, 12 May 2004 01:23:03 +0000 (01:23 +0000)]
(mwin__xft_open): Fix previous change.

20 years ago*** empty log message ***
handa [Tue, 11 May 2004 23:33:44 +0000 (23:33 +0000)]
*** empty log message ***

20 years ago(mwin__xft_open): Arguemnt name changed.
handa [Tue, 11 May 2004 23:33:24 +0000 (23:33 +0000)]
(mwin__xft_open): Arguemnt name changed.

20 years ago(mwin__xft_open): Argument changed to fontname and
handa [Tue, 11 May 2004 23:32:48 +0000 (23:32 +0000)]
(mwin__xft_open): Argument changed to fontname and
parse it XftNameParse.