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