*** empty log message ***
[m17n/m17n-lib.git] / NEWS
1 * NEWS -- What's new in the m17n library.                       -*- outline -*-
2 Copyright (C) 2003, 2004
3   National Institute of Advanced Industrial Science and Technology (AIST)
4   Registration Number H15PRO112
5 See the end for copying conditions.
6
7 \f
8 * Changes in the m17n library 1.1.1
9
10 ** Two new variables MTEXT_FORMAT_UTF_16 and MTEXT_FORMAT_UTF_32.
11 They are initialized to one of MTEXT_FORMAT_UTF_16LE,
12 MTEXT_FORMAT_UTF_16BE,  MTEXT_FORMAT_UTF_LE,  MTEXT_FORMAT_UTF_32BE
13 dependending on the systems's endianess.
14
15 ** In the argument PLIST of mframe (), the key Mfont can be used to
16 specify which font-backend to use.  The value must be Mx or Mfreetype.
17
18 ** New function mfont_list () returns a list of matching fonts.
19
20 \f
21 * Changes in the m17n library 1.1.0
22
23 ** The "configure" script now detects Fontconfig, Xft2, and GD
24 libraries.
25
26 If Fontconfig library is found, the library find local font files
27 (that are to be handled by the Freetype library) by fontconfig, and if
28 Xft2 library is also found, draw text by Xft.
29
30 ** Mdevice (new symbol) is recoginized as a key in the argument PLIST
31 of mframe ().
32
33 The value must be Mx (new symbol), Mgd (new symbol), or Mnil.  See the
34 documentation of mframe () for more detail.
35
36 ** MDrawControl has a new member `anti_alias'.
37
38 If MDrawControl->anti_alias is nonzero, try to draw anti-aliased text
39 if local fonts are used for that text via Freetype.  If Xft2 library
40 can be used, the anti-alias processing is done by Xft2's drawing
41 routine.  Otherwise, the m17n library itself does it by assumming that
42 the background color is `background' property of a face.
43
44 ** Modification of face is now automatically refelected to the next
45 drawing.
46
47 So, for instance, an application can change the default face of a
48 frame after the frame is created.  The sample program "medit" utilize
49 it now.
50
51 ** New function mfontset_lookup () reports contents of a fontset.
52
53 ** New function mplist_deseriaze () parses an M-Text and generates a
54 plist.
55
56 ** The functions mfont_name () and mfont_from_name () are now obsolete
57 (still kept for backward compatibility).  Use mfont_parse_name () and
58 mfont_unparse_name () instead.
59
60 ** The sample program "mdump" generates PNG image file instead of PBM.
61
62 It now runs only when the m17n library is configured with the Freetype
63 library and the GD library.
64
65 \f
66 * Changes in the m17n library 1.0
67
68 ** Released.
69
70 \f
71 * Copyright information
72
73 Copyright (C) 2003, 2004 National Institute of Advanced Industrial
74   Science and Technology (AIST) Registration Number H15PRO112
75
76 This file is part of the m17n library.
77
78 The m17n library is free software; you can redistribute it and/or
79 modify it under the terms of the GNU Lesser General Public License
80 as published by the Free Software Foundation; either version 2.1 of
81 the License, or (at your option) any later version.
82
83 The m17n library is distributed in the hope that it will be useful,
84 but WITHOUT ANY WARRANTY; without even the implied warranty of
85 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
86 Lesser General Public License for more details.
87
88 You should have received a copy of the GNU Lesser General Public
89 License along with the m17n library; if not, write to the Free
90 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
91 02111-1307, USA.
92 \f
93 Local variables:
94 mode: outline
95 paragraph-separate: "[  \f]*$"
96 end: