X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2FChangeLog;h=1d25f55194a1b7c9de2fc9c9284fcd2aa9dbdba4;hb=09fa118a78ad250b6a882ac6f97a44d41a790c46;hp=b88f0fecc5c582baecfddd8943574d39b4573a31;hpb=74bb769d10d8b61d3f995c6370fb8f3d32441d1b;p=m17n%2Fm17n-lib.git diff --git a/src/ChangeLog b/src/ChangeLog index b88f0fe..1d25f55 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,102 @@ +2005-08-24 Kenichi Handa + + * m17n-gui.h (Mascent, Mdescent): Don't extern them. + + * m17n-gui.c (null_device_open): Check Mresolution param and set + frame->dpi. + + * m17n-gd.c (device_open): Check Mresolution param and set + frame->dpi. + + * m17n-X.c (MWDevice): New member resy. + (xfont_open): Set ascent, descent, and max_advance members of + rfont. + (xft_open): Likewise. + (device_open): Compare also screen_num to find a device. Set + device->resy and frame->dpi. + + * internal-gui.h (MFrame): New member dpi. + + * font.h (MRealizedFont): New member max_advance. + + * font.c (xlfd_unparse_name): Handle the case of font->size < 0. + (mfont__init): Don't initialize Mascent, Mdescent. + (Mascent, Mdescent): Delete these variables. + (mfont_get_prop): Fix previous change. Check Mfont_ascent and + Mfont_descent instead of Mascent and Mdescent. + (mfont_put_prop): Allow negative size. + (mfont_find): Handle the case of spec->size < 0. Fix previous + change. + (mfont_list): Handle the case of spec->size < 0. + (mfont_check): Likewise. + + * font-ft.c (STRDUP_LOWER): Ignore the tailing spaces. + (fc_get_pattern): Handle the case of font->size < 0. + (ft_open): Set ascent, descent, and max_advance members of rfont. + (ft_find_metric): Improve rounding. + (mfont__ft_parse_name): If FC_PIXEL_SIZE is not available, set + FC_SIZE. + + * face.c (mface__realize): Handle the case of font->size < 0. + +2005-08-22 Kenichi Handa + + * coding.c (MConverterStatus): Change the member buf to union. + (mconv_buffer_converter): Add const to the arg buf. + (mconv_decode_buffer, mconv_rebind_buffer): Likewise. + (mconv_decode): Adjusted for the change of MConverterStatus. + (mconv_encode_range): Likewise. + + * m17n.h (mconv_buffer_converter): Prototype adjusted. + (mconv_decode_buffer, mconv_rebind_buffer): Likewise. + +2005-08-20 Kenichi Handa + + * m17n-gui.h (mfont_from_name): Prototype adjusted. + (Mspacing, Mascent, Mdescent, Mmax_advance): Extern them. + + * m17n-X.c (xfont_open): Set members ascent, descent, and + max_advance of rfont. + (xft_open): Likewise. + + * font-ft.c (ft_open): Set members ascent, descent, and max_advance + of rfont. + (mfont__ft_parse_name): Add const to the arg name. + + * font.c (xlfd_parse_name): Add const to the arg name. Call + mfont__set_property instead of mfont_set_spec. Set font->spacing. + (xlfd_unparse_name): Handle spacing. + (mfont__init): Initialize new variables. + (mfont__id): Handle spacing. + (mfont__merge): Likewise. + (mfont__set_spec): This function deleted. + (mfont__parse_name_into_font): Add const to the arg name. Fix the + condition of calling mfont__ft_parse_name. + (Mspacing, Mascent, Mdescent, Mmax_advance): New variables. + (mfont_get_prop): Handle properties spacing, ascent, descent, + and max-advance. + (mfont_find): Return a realized font. + (mfont_from_name): Add const to the arg name. + + * font.h (enum MFontProperty): New member MFONT_SPACING. + (enum MFontSpacing): New enum. + (MFont): New members spacing and max_advance. + (mfont__ft_parse_name): Prototype adjusted. + (mfont__set_spec): Extern deleted. + (mfont__parse_name_into_font): Prototype adjusted. + +2005-08-19 Kenichi Handa + + * m17n-gui.h (mfont_parse_name): Prototype adjusted. + + * font.c (mfont_list): If FONT is null, use a temporary font. + (mfont_parse_name): Add const to the arg name. + 2005-08-18 Kenichi Handa + * word-thai.c: Surround code by #ifdef and #endif to escape from + doxygen. + * font-ft.c: Mostly re-written. * font-flt.c (FontLayoutCmdOTF): This type deleted. @@ -110,6 +207,7 @@ (mfont_resize_ratio): Adjusted for the change of MFont. (mfont_list): Use mfont__list. (mfont_check): New function. + (font_score): Make it static. * fontset.h (mfont__realize_fontset): Prototype adjusted. (mfont__lookup_fontset): Likewise.