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