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