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