Update FSF postal address.
[m17n/m17n-lib.git] / NEWS
1 * NEWS -- What's new in the m17n library.                       -*- outline -*-
2 Copyright (C) 2003, 2004, 2005, 2006
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.4.0
9
10 ** If the environment variable "M17NDIR" is not set, the directory
11 "~/.m17n.d" is serched for database files.
12
13 ** New function mfont_list_family_names () returns a list of available
14 font family names.
15
16 ** New functions mlanguage_list (), mlanguage_code (), mlanguage_name (),
17 and mlanguage_text () return various language-related information.
18
19 ** New functions mscript_list () and mscript_language_list () return
20 various script-related information.
21
22 \f
23 * Changes in the m17n library 1.3.0
24
25 ** The `configure' script accepts the argument "--without-gui" to
26 suppress building GUI libraries.
27
28 ** The environment variable MDEBUG_OUTPUT_FILE can specify a file to
29 output the debugging log messages.
30
31 ** The member `candidate_changed' of MInputContext carries more
32 information; i.e. the list itself is changed, only an index is
33 changed, etc.
34
35 ** The member `callback_list' of MInputDriver can have callback
36 functions `input-get-surrounding-text' and
37 `input-delete-surrounding-text'.
38
39 ** The minput_filter () function accepts special events
40 `input-focus-move', `input-focus-in', and `input-focus-out'.
41
42 ** Three letter codes of ISO639-2 are also accepted as language
43 symbols.
44
45 ** New functions minput_get_description (), minput_get_commands (),
46 minput_assign_command_keys (), minput_get_variables (), and
47 minput_set_variable(), minput_get_title_icon() are introduced for
48 handling input methods.
49
50 ** New fucntions mtext_insert () and and mtext_replace () for
51 modifying M-text.
52
53 ** New functions mtext_uppercase (), mtext_titlecase (),
54 mtext_lowercase () implement "3.13 Default Case Operations" of The
55 Unicode Standard 4.0.
56
57 ** New function mtext_line_break () implements the line breaking
58 algorithm of The Unicode Standard 4.0 UAX#14.  The algorithm can be
59 controlled by the variable mdraw_line_break_option.
60
61 ** New function msymbol_is_managing_key () checks if a symbol is a
62 managing key or not.
63
64 ** New function mtext_data () exports various information about
65 M-text.
66
67 ** Function mfont_get_prop () accept properties `fontfile',
68 `font-acsent', `font-descent', and `max-advance'.
69
70 ** New function mfont_check () checks if a specific font can be used
71 for a specific script and language.
72
73 ** New function mface_equal () checks if two faces are equal or not.
74
75 \f
76 * Changes in the m17n library 1.2.0
77
78 ** Two new variables MTEXT_FORMAT_UTF_16 and MTEXT_FORMAT_UTF_32.
79 They are initialized to one of MTEXT_FORMAT_UTF_16LE,
80 MTEXT_FORMAT_UTF_16BE,  MTEXT_FORMAT_UTF_LE,  MTEXT_FORMAT_UTF_32BE
81 dependending on the systems's endianess.
82
83 ** In the argument PLIST of mframe (), the key Mfont can be used to
84 specify which font-backend to use.  The value must be Mx or Mfreetype.
85
86 ** New function mfont_list () returns a list of matching fonts.
87
88 ** New function m17n_status () returns the current initialization
89 status.
90
91 ** New function minput_reset () resets the current input context.
92
93 ** Names of sample programs have prefix "m17n-" instead of single "m".
94 This is to avoid confiliction of program names included in the other
95 packages.
96
97 \f
98 * Changes in the m17n library 1.1.0
99
100 ** The "configure" script now detects Fontconfig, Xft2, and GD
101 libraries.
102
103 If Fontconfig library is found, the library find local font files
104 (that are to be handled by the Freetype library) by fontconfig, and if
105 Xft2 library is also found, draw text by Xft.
106
107 ** Mdevice (new symbol) is recoginized as a key in the argument PLIST
108 of mframe ().
109
110 The value must be Mx (new symbol), Mgd (new symbol), or Mnil.  See the
111 documentation of mframe () for more detail.
112
113 ** MDrawControl has a new member `anti_alias'.
114
115 If MDrawControl->anti_alias is nonzero, try to draw anti-aliased text
116 if local fonts are used for that text via Freetype.  If Xft2 library
117 can be used, the anti-alias processing is done by Xft2's drawing
118 routine.  Otherwise, the m17n library itself does it by assumming that
119 the background color is `background' property of a face.
120
121 ** Modification of face is now automatically refelected to the next
122 drawing.
123
124 So, for instance, an application can change the default face of a
125 frame after the frame is created.  The sample program "medit" utilize
126 it now.
127
128 ** New function mfontset_lookup () reports contents of a fontset.
129
130 ** New function mplist_deseriaze () parses an M-Text and generates a
131 plist.
132
133 ** The functions mfont_name () and mfont_from_name () are now obsolete
134 (still kept for backward compatibility).  Use mfont_parse_name () and
135 mfont_unparse_name () instead.
136
137 ** The sample program "mdump" generates PNG image file instead of PBM.
138
139 It now runs only when the m17n library is configured with the Freetype
140 library and the GD library.
141
142 \f
143 * Changes in the m17n library 1.0
144
145 ** Released.
146
147 \f
148 * Copyright information
149
150 Copyright (C) 2003, 2004, 2005, 2006
151   National Institute of Advanced Industrial Science and Technology (AIST)
152   Registration Number H15PRO112
153
154 This file is part of the m17n library.
155
156 The m17n library is free software; you can redistribute it and/or
157 modify it under the terms of the GNU Lesser General Public License
158 as published by the Free Software Foundation; either version 2.1 of
159 the License, or (at your option) any later version.
160
161 The m17n library is distributed in the hope that it will be useful,
162 but WITHOUT ANY WARRANTY; without even the implied warranty of
163 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
164 Lesser General Public License for more details.
165
166 You should have received a copy of the GNU Lesser General Public
167 License along with the m17n library; if not, write to the Free
168 Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
169 Boston, MA 02110-1301, USA.
170 \f
171 Local Variables:
172 mode: outline
173 paragraph-separate: "[  \f]*$"
174 End: