*** empty log message ***
[m17n/libotf.git] / ChangeLog
1 2004-08-06  Kenichi Handa  <handa@m17n.org>
2
3         * src/otfdrive.c (lookup_gsub): Fix handling of Extension lookup.
4         (lookup_gpos): Support Extension lookup.
5
6 2004-08-05  Kenichi Handa  <handa@m17n.org>
7
8         * src/otf.h (enum OTF_LookupFlagBit): Fix OTF_IgnoreMarks.
9
10         * example/otfview.c (update_seq_area): Fix sign of yoff.
11         Support more positioning_type.
12
13         * example/otfdump.c (dump_lookup_subtable_gpos): Add support for
14         LookupType 5.
15
16         * src/otfopen.c (read_ligature_attach): Fix for the case that an
17         offset is NULL.
18
19         * src/otfdrive.c (lookup_gpos): Add support for LookupType 5.
20         Fix handling of flag.
21         (gstring_subst): Fix previous change.
22
23 2004-08-04  Kenichi Handa  <handa@m17n.org>
24
25         * example/otfview.c (bidi, reversed): New variables.
26         (update_seq_area): Call OTF_drive_gdef.  If reversed is nonzero,
27         reorder glyphs properly.  Create pixmap if necessary.  Handle
28         OTF_XAdvance and OTF_XAdvDevice.
29         (BidiProc): New function.
30         (create_widgets): Setup bidi.
31
32         * src/otfdrive.c (gstring_subst): New arg flag.  Caller changed.
33         Ignore glyphs specified in flag.
34         (match_ids, match_classes, match_coverages): Likewise.
35         (match_chain_ids, match_chain_classes, match_chain_coverages): New
36         arg flag.
37         (lookup_gsub): Fix handling of LookupFlag.
38         (lookup_gpos): Likewise.  Support more LookupType.
39
40         * src/otf.h (OTF_LookupFlagIgnoreMask): New macro.
41
42 2004-07-29  Kenichi Handa  <handa@m17n.org>
43
44         * example/otfview.c (create_widgets): Fix width of index glyphs..
45
46 2004-07-26  Kenichi Handa  <handa@m17n.org>
47
48         * src/otfopen.c (read_value_record): Fix typo.
49
50         * src/otfdrive.c (lookup_gpos): Don't apply a GPOS feature twice.
51         (OTF_drive_gpos): Initialize values positioning_type memeber.
52         (OTF_drive_gsub): Fix previous change.
53
54 2004-07-24  Kenichi Handa  <handa@m17n.org>
55
56         * src/otfdrive.c (gstring_subst): Set `c' and `f.index' of
57         OTF_Glyph.
58         (OTF_drive_gsub): Iniialize f.index member of OTF_Glhph.
59
60         * src/otf.h (OTF_Glyph): New union member u.index.
61
62 2004-07-23  Kenichi Handa  <handa@m17n.org>
63
64         * example/otfview.c: Big change to implement selection of script.
65
66 2004-07-12  Kenichi Handa  <handa@m17n.org>
67
68         * example/otfview.c: Big change to implement driving OpenType
69         tables (GSUB and GPOS).
70
71         * src/otfdrive.c (get_langsys): If script is NULL, use the first
72         one in script_list.
73
74 2004-07-09  Kenichi Handa  <handa@m17n.org>
75
76         * src/otfdrive.c (lookup_gpos): Ignore glyphs whose ID is 0 (fix
77         for the case of LookupType 2).
78
79 2004-07-08  Kenichi Handa  <handa@m17n.org>
80
81         * src/otfopen.c (read_class_set_list): Allocate the array *set
82         by OTF_CALLOC.
83
84 2004-07-07  Kenichi Handa  <handa@m17n.org>
85
86         * src/otfdrive.c (lookup_gsub): For LookupType 5 Subformat 2, if
87         ClassSet is not defined, do nothing.
88
89 2004-06-29  Kenichi Handa  <handa@m17n.org>
90
91         * src/otfdrive.c (lookup_gsub): Fix handling of lookup type 6
92         format 3.
93
94 2004-05-28  Kenichi Handa  <handa@m17n.org>
95
96         * example/otflist.c: Include <sys/types.h> and "config.h".
97         (next_file): New function.
98         (main): Call next_file.
99
100         * configure.ac: Check functions scandir and alphasort.
101
102 2004-05-06  Kenichi Handa  <handa@m17n.org>
103
104         * example/otftobdf.c (registry): New variable.
105         (dump_header): Include registry in the font name.
106         (main): Handle the encoding arg of the format M-N.  Without this
107         arg, generate a font with raw-encoding.
108
109         * src/otfdrive.c: Include "config.h".  Delete '//' style comments.
110         (lookup_encoding_0, lookup_encoding_2, lookup_encoding_4)
111         (lookup_encoding_6, lookup_encoding_8, lookup_encoding_10)
112         (lookup_encoding_12, OTF_drive_cmap2): New functions.
113
114         * src/otfopen.c (read_name): Argument changed.  Set
115         OTF_NameRecord->ascii.  If possible, convert Unicode sequence to
116         ASCII.
117         (read_name_table): Adjusted for the change of read_name.
118         (read_cmap_table): Signal an error (not-yet-supported) if format
119         is 2.  Support for formats, 8, 10, 12.
120         (read_value_record): Clear value_record at first.
121         (read_lookup_subtable_gpos): Fix for the case subFormat is 1 and
122         2.
123         (OTF_open): Check file name extension.
124
125         * example/otflist.c: Include <otf.h>.
126         (FATAL_ERROR): New macro.
127         (print_tag, print_gsub_gpos_info, help_and_exit): New functions.
128         (main): Handle -h, --help, -l args.  Prefer family/style names
129         extracted by the otf library.
130
131 2004-03-30  Kenichi Handa  <handa@m17n.org>
132
133         * src/otfopen.c (read_value_record): Clear value_record at
134         first.
135         (read_lookup_subtable_gpos): For Lookup Type 1, read Coverage at
136         first.
137
138 2004-03-29  Kenichi Handa  <handa@m17n.org>
139
140         * example/otfdump.c (dump_lookup_subtable_gsub): For Lookup Type
141         7, fix arg to dump_lookup_subtable_gsub.
142         (dump_lookup_subtable_gpos): Support Lookup Type 9.
143
144         * autogen.sh: Run automake after autoheader.
145
146         * src/otfopen.c (OTF_close): Free otf->filename.
147
148 2004-02-01  Kenichi Handa  <handa@m17n.org>
149
150         * Version 0.9 released.
151
152 \f
153 Copyright (C) 2003, 2004
154   National Institute of Advanced Industrial Science and Technology (AIST)
155   Registration Number H15PRO112
156
157 This file is part of the m17n library.
158
159 The m17n library is free software; you can redistribute it and/or
160 modify it under the terms of the GNU Lesser General Public License
161 as published by the Free Software Foundation; either version 2.1 of
162 the License, or (at your option) any later version.
163
164 The m17n library is distributed in the hope that it will be useful,
165 but WITHOUT ANY WARRANTY; without even the implied warranty of
166 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
167 Lesser General Public License for more details.
168
169 You should have received a copy of the GNU Lesser General Public
170 License along with the m17n library; if not, write to the Free
171 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
172 02111-1307, USA.