From: handa Date: Sun, 26 Sep 2004 23:42:13 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: REL-1-2-0~180 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=14f2d22913449527bf521351c7ef62116236fb16;p=m17n%2Fm17n-lib.git *** empty log message *** --- diff --git a/NEWS b/NEWS index 4b7a180..0d26c04 100644 --- a/NEWS +++ b/NEWS @@ -5,6 +5,14 @@ Copyright (C) 2003, 2004 See the end for copying conditions. +* Changes in the m17n library 1.1.1 + +** Two new variables MTEXT_FORMAT_UTF_16 and MTEXT_FORMAT_UTF_32. +They are initialized to one of MTEXT_FORMAT_UTF_16LE, +MTEXT_FORMAT_UTF_16BE, MTEXT_FORMAT_UTF_LE, MTEXT_FORMAT_UTF_32BE +dependending on the systems's endianess. + + * Changes in the m17n library 1.1 ** The "configure" script now detects Fontconfig, Xft2, and GD diff --git a/src/ChangeLog b/src/ChangeLog index dfc649f..491c830 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,15 @@ +2004-09-27 Kenichi Handa + + * internal-gui.h (struct MGlyphString): Delete members mt, + sub_width, sub_lbrearing, sub_rbearing, and region. + + * draw.c (MSubTextExtents): New type. + (layout_glyphs): New arg extents. Set its members. + (layout_glyph_string): Adjusted for the above change. + (alloc_gstring): Don't set gstring->mt. + (truncate_gstring): Call line_break function with mt instead of + gstring->mt. + 2004-09-22 Kenichi Handa * mtext.c (count_utf_16_chars): Count each code of invalid diff --git a/src/font-ft.c b/src/font-ft.c index 2610839..5ba41ba 100644 --- a/src/font-ft.c +++ b/src/font-ft.c @@ -320,6 +320,8 @@ fc_list (MSymbol family) && (pathname = MPLIST_STRING (plist)) && stat (pathname, &buf) == 0) FcConfigAppFontAddDir (fc_config, (FcChar8 *) pathname); + /* TODO: avoid duplicate addition by checking the current font + directory list given by FcConfigGetFontDirs (). */ } pattern = FcPatternCreate ();