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.
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@
handa [Thu, 27 May 2004 08:02:11 +0000 (08:02 +0000)]
Add Bengali.
handa [Mon, 24 May 2004 13:12:50 +0000 (13:12 +0000)]
*** empty log message ***
handa [Mon, 24 May 2004 13:11:42 +0000 (13:11 +0000)]
Fix AC_CHECK_LIB arg for fontconfig.
handa [Mon, 24 May 2004 13:06:38 +0000 (13:06 +0000)]
Fix typo (pkg-conifg ->pkg-config).
handa [Mon, 24 May 2004 04:06:58 +0000 (04:06 +0000)]
*** empty log message ***
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.
handa [Sat, 22 May 2004 01:09:16 +0000 (01:09 +0000)]
(xft_open_font): Fix anti_alias setting.
handa [Sat, 22 May 2004 01:09:02 +0000 (01:09 +0000)]
*** empty log message ***
handa [Fri, 21 May 2004 12:05:03 +0000 (12:05 +0000)]
Add Bengali.
handa [Fri, 21 May 2004 11:21:46 +0000 (11:21 +0000)]
*** empty log message ***
handa [Fri, 21 May 2004 11:21:37 +0000 (11:21 +0000)]
(HAVE_FRIBIDI): Unset FRIBIDI_LD_FLAGS if fribidi
library is not found.
handa [Fri, 21 May 2004 00:03:08 +0000 (00:03 +0000)]
*** empty log message ***
handa [Thu, 20 May 2004 06:50:07 +0000 (06:50 +0000)]
*** empty log message ***
handa [Thu, 20 May 2004 06:27:50 +0000 (06:27 +0000)]
*** empty log message ***
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.
handa [Thu, 20 May 2004 06:25:28 +0000 (06:25 +0000)]
(MFaceHookFunc): Change this function type to void.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
handa [Thu, 20 May 2004 05:24:44 +0000 (05:24 +0000)]
*** empty log message ***
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.
handa [Mon, 17 May 2004 07:00:34 +0000 (07:00 +0000)]
*** empty log message ***
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.
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.
handa [Thu, 13 May 2004 02:23:27 +0000 (02:23 +0000)]
(mwin__xft_open): Destroy unnecessary patterns.
handa [Wed, 12 May 2004 01:23:03 +0000 (01:23 +0000)]
(mwin__xft_open): Fix previous change.
handa [Tue, 11 May 2004 23:33:44 +0000 (23:33 +0000)]
*** empty log message ***
handa [Tue, 11 May 2004 23:33:24 +0000 (23:33 +0000)]
(mwin__xft_open): Arguemnt name changed.
handa [Tue, 11 May 2004 23:32:48 +0000 (23:32 +0000)]
(mwin__xft_open): Argument changed to fontname and
parse it XftNameParse.
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.
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.
handa [Mon, 10 May 2004 07:40:46 +0000 (07:40 +0000)]
*** empty log message ***
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).
handa [Mon, 10 May 2004 07:10:09 +0000 (07:10 +0000)]
*** empty log message ***
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.
handa [Mon, 10 May 2004 07:08:40 +0000 (07:08 +0000)]
(set_font_info): Fix previous change.
handa [Mon, 10 May 2004 07:07:39 +0000 (07:07 +0000)]
*** empty log message ***
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.
handa [Fri, 7 May 2004 04:47:55 +0000 (04:47 +0000)]
*** empty log message ***
handa [Fri, 7 May 2004 04:47:50 +0000 (04:47 +0000)]
Fix previous change. Comment out xom and effence
related codes.
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.
handa [Thu, 6 May 2004 12:08:17 +0000 (12:08 +0000)]
*** empty log message ***
handa [Thu, 6 May 2004 12:08:11 +0000 (12:08 +0000)]
(compose_glyph_string): Fix previous change.
handa [Mon, 3 May 2004 00:52:55 +0000 (00:52 +0000)]
*** empty log message ***
handa [Mon, 3 May 2004 00:52:40 +0000 (00:52 +0000)]
Fix comment.
handa [Mon, 3 May 2004 00:51:04 +0000 (00:51 +0000)]
Use fribidi-config and xft-config if they are
available.
handa [Mon, 3 May 2004 00:46:31 +0000 (00:46 +0000)]
*** empty log message ***
handa [Fri, 30 Apr 2004 05:25:30 +0000 (05:25 +0000)]
*** empty log message ***
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.
nisikimi [Fri, 30 Apr 2004 04:37:42 +0000 (04:37 +0000)]
*** empty log message ***
nisikimi [Fri, 30 Apr 2004 02:42:44 +0000 (02:42 +0000)]
*** empty log message ***
nisikimi [Fri, 30 Apr 2004 02:33:01 +0000 (02:33 +0000)]
*** empty log message ***
nisikimi [Fri, 30 Apr 2004 02:21:31 +0000 (02:21 +0000)]
*** empty log message ***
nisikimi [Wed, 28 Apr 2004 09:11:48 +0000 (09:11 +0000)]
*** empty log message ***
nisikimi [Wed, 28 Apr 2004 08:39:33 +0000 (08:39 +0000)]
*** empty log message ***
nisikimi [Wed, 28 Apr 2004 08:34:18 +0000 (08:34 +0000)]
*** empty log message ***
nisikimi [Wed, 28 Apr 2004 06:48:06 +0000 (06:48 +0000)]
*** empty log message ***
nisikimi [Wed, 28 Apr 2004 06:40:44 +0000 (06:40 +0000)]
*** empty log message ***
nisikimi [Wed, 28 Apr 2004 06:32:46 +0000 (06:32 +0000)]
*** empty log message ***
nisikimi [Wed, 28 Apr 2004 05:00:12 +0000 (05:00 +0000)]
*** empty log message ***
nisikimi [Wed, 28 Apr 2004 04:32:13 +0000 (04:32 +0000)]
*** empty log message ***
handa [Tue, 27 Apr 2004 12:19:12 +0000 (12:19 +0000)]
*** empty log message ***
nisikimi [Tue, 27 Apr 2004 08:12:23 +0000 (08:12 +0000)]
*** empty log message ***
nisikimi [Tue, 27 Apr 2004 07:55:59 +0000 (07:55 +0000)]
*** empty log message ***
handa [Tue, 27 Apr 2004 07:39:21 +0000 (07:39 +0000)]
*** empty log message ***
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`.
handa [Tue, 27 Apr 2004 07:38:48 +0000 (07:38 +0000)]
(mtext_attach_property): Declare the return type as `int'.
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.
handa [Tue, 27 Apr 2004 07:33:48 +0000 (07:33 +0000)]
Include FT_FREETYPE_H.
(mwin__xft_open, mwin__xft_close) [HAVE_FREETYPE]: New externs.
(mwin__xft_get_metric, mwin__xft_render) [HAVE_FREETYPE]: New
externs.
nisikimi [Tue, 27 Apr 2004 07:33:17 +0000 (07:33 +0000)]
*** empty log message ***
handa [Tue, 27 Apr 2004 07:32:23 +0000 (07:32 +0000)]
Include FT_FREETYPE_H.
handa [Tue, 27 Apr 2004 07:31:31 +0000 (07:31 +0000)]
Don't include FT_FREETYPE_H here.
[HAVE_XFT2]: Include <fontconfig/fontconfig.h>.
(fontconfig_initialized, fc_config) [HAVE_XFT2]: New variables.
(MFTInfo): New member charmap_index.
(MFTInfo) [HAVE_XFT2]: New member xft_info.
(check_otf_filename): Renamed from check_filename. Return value
changed.
(ft_set_property): This function deleted.
(set_font_info): New function.
(add_font_list): Argument changed. Add multiple fonts.
(xft_list) [HAVE_XFT2]: New function.
(ft_list) [not HAVE_XFT2]: New function.
(ft_select): Add code for Xft.
(close_ft): Likewise.
(ft_open): Likewise.
(ft_find_metric): Likewise.
(ft_encode_char): Likewise.
(ft_render): Likewise.
handa [Tue, 27 Apr 2004 07:23:38 +0000 (07:23 +0000)]
(OPTIONAL_LD_FLAGS): Include @XFT2_LD_FLAGS@.
handa [Tue, 27 Apr 2004 07:22:55 +0000 (07:22 +0000)]
*** empty log message ***
handa [Tue, 27 Apr 2004 07:22:46 +0000 (07:22 +0000)]
Add coding tag euc-jp.
handa [Tue, 27 Apr 2004 07:21:52 +0000 (07:21 +0000)]
Add coding tag euc-jp.
(ButtonMoveProc): Full redraw if we are using anti-aliased text.
(main): Set control.anti_alias to 1.
nisikimi [Tue, 27 Apr 2004 07:05:42 +0000 (07:05 +0000)]
*** empty log message ***
nisikimi [Tue, 27 Apr 2004 06:00:24 +0000 (06:00 +0000)]
*** empty log message ***
nisikimi [Tue, 27 Apr 2004 04:51:14 +0000 (04:51 +0000)]
*** empty log message ***
nisikimi [Tue, 27 Apr 2004 04:42:02 +0000 (04:42 +0000)]
*** empty log message ***
nisikimi [Mon, 26 Apr 2004 07:30:32 +0000 (07:30 +0000)]
*** empty log message ***
handa [Thu, 22 Apr 2004 23:23:17 +0000 (23:23 +0000)]
*** empty log message ***
handa [Thu, 22 Apr 2004 07:06:29 +0000 (07:06 +0000)]
*** empty log message ***
nisikimi [Thu, 22 Apr 2004 04:33:51 +0000 (04:33 +0000)]
*** empty log message ***
nisikimi [Thu, 22 Apr 2004 01:27:43 +0000 (01:27 +0000)]
*** empty log message ***
handa [Thu, 22 Apr 2004 01:21:12 +0000 (01:21 +0000)]
*** empty log message ***
nisikimi [Thu, 22 Apr 2004 00:08:46 +0000 (00:08 +0000)]
*** empty log message ***
nisikimi [Wed, 21 Apr 2004 23:57:23 +0000 (23:57 +0000)]
*** empty log message ***
nisikimi [Wed, 21 Apr 2004 23:51:08 +0000 (23:51 +0000)]
*** empty log message ***
nisikimi [Wed, 21 Apr 2004 23:45:13 +0000 (23:45 +0000)]
*** empty log message ***
nisikimi [Wed, 21 Apr 2004 06:17:47 +0000 (06:17 +0000)]
*** empty log message ***