m17n/m17n-lib.git
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.

20 years ago(MFTInfo) [HAVE_XFT2]: New member fontname.
handa [Tue, 11 May 2004 23:31:21 +0000 (23:31 +0000)]
(MFTInfo) [HAVE_XFT2]: New member fontname.
(all_fonts_scaned): New variable.
(set_font_info): FAMILY may be Mnil.
(add_font_info): Argument changed.
(xft_list): Call add_font_info in it.
(ft_list): Likewise.
(ft_select): Make it work in the case family is Mnil.
(ft_open) [HAVE_XFT2]: Setup ft_info->fontname.
(mfont__ft_fini): Set all_fonts_scaned to 0.

20 years ago(mfont__lookup_fontset): Don't repeatedly try a font
handa [Tue, 11 May 2004 23:27:09 +0000 (23:27 +0000)]
(mfont__lookup_fontset): Don't repeatedly try a font
that is failed to open.

20 years ago*** empty log message ***
handa [Mon, 10 May 2004 07:40:46 +0000 (07:40 +0000)]
*** empty log message ***

20 years ago(mwin__xft_render): Don't use anti-alias if the
handa [Mon, 10 May 2004 07:15:10 +0000 (07:15 +0000)]
(mwin__xft_render): Don't use anti-alias if the
device's depth is 1 (i.e. monochrome).

20 years ago*** empty log message ***
handa [Mon, 10 May 2004 07:10:09 +0000 (07:10 +0000)]
*** empty log message ***

20 years ago(OPTIONAL_LD_FLAGS): Change the order of elements
handa [Mon, 10 May 2004 07:09:40 +0000 (07:09 +0000)]
(OPTIONAL_LD_FLAGS): Change the order of elements
to work around the problem of libtool.

20 years ago(set_font_info): Fix previous change.
handa [Mon, 10 May 2004 07:08:40 +0000 (07:08 +0000)]
(set_font_info): Fix previous change.

20 years ago*** empty log message ***
handa [Mon, 10 May 2004 07:07:39 +0000 (07:07 +0000)]
*** empty log message ***

20 years agoInclude <freetype/ftbdf.h>.
handa [Mon, 10 May 2004 01:55:22 +0000 (01:55 +0000)]
Include <freetype/ftbdf.h>.
(Municode_bmp, Municode_full, Miso10646_1, Miso8859_1): New
variables.
(mfont__ft_init): Initialize them.
(ft_iso8859_1_font_list): New variable.
(set_font_info): Detect a font containing iso8859-1 glyphs and
register it in ft_iso8859_1_font_list.  If the font is not
scalable, assume it as BDF or PCF font and setup SIZE and RESY
properties of the font from its properties.
(add_font_list): If the font is not scalable, check if it is BDF
or PCF font.  If not, ignore it.
(ft_select): If FAMILY is Mnil, return NULL only if the requested
registry is not iso8859-1.
(ft_select) [not HAVE_XFT2]: If FAMILY is Mnil, select one from
ft_iso8859_1_font_list.
(ft_find_metric): If the font is not scalable, assume it as BDF
or PCF, and get a metric from its properties.
(mfont__ft_fini): Free ft_iso8859_1_font_list.

20 years ago*** empty log message ***
handa [Fri, 7 May 2004 04:47:55 +0000 (04:47 +0000)]
*** empty log message ***

20 years agoFix previous change. Comment out xom and effence
handa [Fri, 7 May 2004 04:47:50 +0000 (04:47 +0000)]
Fix previous change.  Comment out xom and effence
related codes.

20 years ago(libm17n_la_LIBADD): Include -ldl.
handa [Fri, 7 May 2004 04:47:15 +0000 (04:47 +0000)]
(libm17n_la_LIBADD): Include -ldl.
(libm17n_la_LDFLAGS): Delete it.
(noinst_PROGRAMS): Renamed from bin_PROGRAMS.
(install-binPROGRAMS, uninstall-binPROGRAMS): Delete them.

20 years ago*** empty log message ***
handa [Thu, 6 May 2004 12:08:17 +0000 (12:08 +0000)]
*** empty log message ***

20 years ago(compose_glyph_string): Fix previous change.
handa [Thu, 6 May 2004 12:08:11 +0000 (12:08 +0000)]
(compose_glyph_string): Fix previous change.

20 years ago*** empty log message ***
handa [Mon, 3 May 2004 00:52:55 +0000 (00:52 +0000)]
*** empty log message ***

20 years agoFix comment.
handa [Mon, 3 May 2004 00:52:40 +0000 (00:52 +0000)]
Fix comment.

20 years agoUse fribidi-config and xft-config if they are
handa [Mon, 3 May 2004 00:51:04 +0000 (00:51 +0000)]
Use fribidi-config and xft-config if they are
available.

20 years ago*** empty log message ***
handa [Mon, 3 May 2004 00:46:31 +0000 (00:46 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
handa [Fri, 30 Apr 2004 05:25:30 +0000 (05:25 +0000)]
*** empty log message ***

20 years ago(ft_list): Delete unused variable `result'.
handa [Fri, 30 Apr 2004 05:25:22 +0000 (05:25 +0000)]
(ft_list): Delete unused variable `result'.
(ft_render): Fix for the case that bitmap.pitch < bitmap.width.

20 years ago*** empty log message ***
nisikimi [Fri, 30 Apr 2004 04:37:42 +0000 (04:37 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
nisikimi [Fri, 30 Apr 2004 02:42:44 +0000 (02:42 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
nisikimi [Fri, 30 Apr 2004 02:33:01 +0000 (02:33 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
nisikimi [Fri, 30 Apr 2004 02:21:31 +0000 (02:21 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
nisikimi [Wed, 28 Apr 2004 09:11:48 +0000 (09:11 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
nisikimi [Wed, 28 Apr 2004 08:39:33 +0000 (08:39 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
nisikimi [Wed, 28 Apr 2004 08:34:18 +0000 (08:34 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
nisikimi [Wed, 28 Apr 2004 06:48:06 +0000 (06:48 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
nisikimi [Wed, 28 Apr 2004 06:40:44 +0000 (06:40 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
nisikimi [Wed, 28 Apr 2004 06:32:46 +0000 (06:32 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
nisikimi [Wed, 28 Apr 2004 05:00:12 +0000 (05:00 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
nisikimi [Wed, 28 Apr 2004 04:32:13 +0000 (04:32 +0000)]
*** empty log message ***

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

20 years ago*** empty log message ***
nisikimi [Tue, 27 Apr 2004 08:12:23 +0000 (08:12 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
nisikimi [Tue, 27 Apr 2004 07:55:59 +0000 (07:55 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
handa [Tue, 27 Apr 2004 07:39:21 +0000 (07:39 +0000)]
*** empty log message ***

20 years agoCheck if Xft2 library is available.
handa [Tue, 27 Apr 2004 07:39:18 +0000 (07:39 +0000)]
Check if Xft2 library is available.
(OTF_LD_FLAGS): Set to `libotf-config --libs`.
(FREETYPE_LD_FLAGS): Set to `freetype-config --libtool`.

20 years ago(mtext_attach_property): Declare the return type as `int'.
handa [Tue, 27 Apr 2004 07:38:48 +0000 (07:38 +0000)]
(mtext_attach_property): Declare the return type as `int'.

20 years agoInclude config.h
handa [Tue, 27 Apr 2004 07:37:48 +0000 (07:37 +0000)]
Include config.h
[HAVE_XFT2]: Include <X11/Xft/Xft.h>.
(GCInfo) [HAVE_XFT2]: New member xft_color_fore, xft_color_back.
(MWDevice) [HAVE_XFT2]: New member xft_draw.
(FRAME_CMAP, FRAME_VISUAL): New macros.
(free_device) [HAVE_XFT2]: Destroy device->xft_draw.
(xfont_driver): Make it static.
(mwin__open_device) [HAVE_XFT2]: Setup device->xft_draw.
(mwin__realize_face) [HAVE_XFT2]: Setup info->xft_color_fore and
info->xft_color_back.
(MXftFontInfo) [HAVE_XFT2]: New type.
(mwin__xft_close) [HAVE_XFT2]: New function.
(mwin__xft_open) [HAVE_XFT2]: New function.
(mwin__xft_get_metric) [HAVE_XFT2]: New function.
(mwin__xft_render) [HAVE_XFT2]: New function.