*** empty log message ***
[m17n/libotf.git] / ChangeLog
1 2009-02-26  Kenichi Handa  <handa@m17n.org>
2
3         * src/otfopen.c (free_stream): Check stream->buf before freeing
4         it.
5         (read_gdef_table): Do nothing if stream->buf is NULL.
6         (read_header_part): If a font doesn't have a GDEF table, make a
7         pseudo stream.
8
9         * src/otfdrive.c (glyph_class_table): New variable.
10         (get_class_def_auto): New function.
11         (OTF_drive_gdef): If a font doesn't have a GDEF table, use
12         get_class_def_auto.
13
14 2009-02-25  Kenichi Handa  <handa@m17n.org>
15
16         * src/otfopen.c (get_table_info): Always succeed for GDEF table.
17
18         * example/otfview.c (main): If ! otf, don't setup sub14.
19
20 2008-12-31  Kenichi Handa  <handa@m17n.org>
21
22         * src/otfdrive.c (check_cmap_uvs): Update the member
23         MGlyph.f.index.to.
24
25 2008-12-29  Kenichi Handa  <handa@m17n.org>
26
27         * src/otf.h (OTF_get_variation_glyphs): Extern it..
28
29         * src/otfdrive.c (OTF_get_variation_glyphs): New function.
30
31         * example/otfview.c (uvs_area, uvs_label): New variables.
32         (sub14, uvs): New variable.
33         (update_uvs_area): New function.
34         (update_seq_area): Set `glyph_id' member only when no charmap is
35         used.
36         (update_render_area): Handle a variation selector.
37         (UVSProc): New function.
38         (RenderProc): Call update_uvs_area if the font is OpenType.
39         (create_widgets): Create uvs_area widget if the font has variation
40         selector.
41         (main): Setup sub14. Set font in gc_set.
42
43 2008-12-24  Kenichi Handa  <handa@m17n.org>
44
45         * src/otfdrive.c (get_uvs_glyph): Complete the code.
46
47 2008-12-23  Kenichi Handa  <handa@m17n.org>
48
49         * example/otfview.c (update_seq_area): Call OTF_drive_cmap.
50
51         * example/otfdump.c (dump_cmap_table): Fix previous change.
52
53         * src/otfdrive.c (lookup_encoding_4): Fix typo.
54         (get_uvs_glyph): Argument changed.
55         (check_cmap_uvs): Adjusted for the above change.
56
57         * src/otfopen.c (READ_UINT24): New macro.
58         (read_cmap_uvs_table): Argument changed.  Complete the code.
59         (read_cmap_table): Adjusted for the above change.  Fix typo.
60
61         * src/otf.h (OTF_cmapSegment): Fix typo.
62         (OTF_EncodingSubtable4): Fix typo.
63         (OTF_UVSMapping): New type.
64         (OTF_UnicodeValueRange): New type.
65         (OTF_VariationSelectorRecord): New type.
66         (OTF_EncodingSubtable14): Fix previous change.
67
68 2008-12-22  Kenichi Handa  <handa@m17n.org>
69
70         * example/otfdump.c (dump_cmap_table): Handle format 14.
71
72         * src/otfdrive.c (check_cmap_uvs): New function.  Not yet completed.
73         (UVS_P): New macro.
74         (OTF_drive_cmap): Check UVS (Unicode Variation Sequences).
75         (get_uvs_glyph): New function.
76
77         * src/otfopen.c (read_cmap_uvs_table): New function.
78         (read_cmap_table): Handle format 14 (Unicode Variation Sequences).
79         Not yet completed.
80
81         * src/otf.h (OTF_EncodingSubtable14): New type.
82         (OTF_EncodingSubtable): New union member f.f14.
83
84 2008-12-03  Kenichi Handa  <handa@m17n.org>
85
86         * example/otfview.c (update_seq_area): Call OTF_drive_gpos2
87         instead of OTF_drive_gpos.  Handle the accumulated positioning.
88
89         * src/otfdrive.c (setup_lookup_flags): The last argument changed
90         to lookup_flags.  Just set the elements to 1 or 0.
91         (gstring_insert_for_gpos): New function.
92         (lookup_gpos): New arg accumulate.  Insert pseudo glyphs to
93         accumulate positioning if necessary.
94         (OTF_drive_gsub_internal): Adjusted for the change of
95         setup_lookup_flags.
96         (OTF_drive_gpos_internal): Renamed from OTF_drive_gpos.  Adjusted
97         for the change of setup_lookup_flags and lookup_gpos.
98         (OTF_drive_gpos): Just call OTF_drive_gpos_internal with
99         accumulate == 0.
100         (OTF_drive_gpos2): New function.
101
102         * src/otf.h (OTF_drive_gpos2): Extern it.
103
104 2008-11-27  Simon Zamecnik  <zamecnik@ui42.sk>  (tiny change)
105
106         * src/otfdrive.c (setup_lookup_indices): New arg LangSys.
107         (OTF_drive_gsub_internal, OTF_drive_gpos): Adjusted for the above
108         change.
109
110 2008-07-01  Kenichi Handa  <handa@m17n.org>
111
112         * src/otfopen.c (make_stream, setup_stream)
113         (make_stream_from_ft_face, free_stream, read_offset_table): Make
114         them static.
115
116 2008-06-29  Kenichi Handa  <handa@m17n.org>
117
118         * Version 0.9.8 released.
119
120 2008-06-29  Kenichi Handa  <handa@m17n.org>
121
122         * configure.ac: Versions changed to 0.9.8.
123
124         * example/otfview.c (DEVICE_DELTA): Handle an invalid table.
125
126         * example/otfdump.c (dump_device_table): Handle an invalid table.
127
128         * src/otfopen.c (read_device_table): Accept an invalid table.
129
130 2007-12-28  Kenichi Handa  <handa@ni.aist.go.jp>
131
132         * Version 0.9.7 released.
133
134 2007-12-28  Kenichi Handa  <handa@ni.aist.go.jp>
135
136         * configure.ac: Versions changed to 0.9.7.
137
138 2007-12-20  Kenichi Handa  <handa@ni.aist.go.jp>
139
140         * src/otfdrive.c (gstring_subst): If a glyph is changed, set the
141         character code to 0, and update GlyphClass.
142
143 2007-10-29  Kenichi Handa  <handa@m17n.org>
144
145         * example/otfdump.c (dump_chain_class_set_list): Ignore an element
146         whose offset is zero.
147
148 2007-09-06  Kenichi Handa  <handa@m17n.org>
149
150         * src/otfdrive.c (lookup_gpos): Ignore mark glyphs while
151         processing GPOS_MarkBase1.
152
153 2007-08-17  Kenichi Handa  <handa@m17n.org>
154
155         * src/otfdrive.c (lookup_gpos): Fix handling of IGNORED_GLYPH.
156
157 2007-08-06  Kenichi Handa  <handa@m17n.org>
158
159         * src/otfdrive.c (gstring_subst): If otf->cmap is NULL, set
160         character code of a glyph to 0.
161         (OTF_drive_gsub): If otf->cmap is NULL, try to load it.
162
163 2007-07-13  Kenichi Handa  <handa@m17n.org>
164
165         * Version 0.9.6 released.
166
167 2007-07-13  Kenichi Handa  <handa@m17n.org>
168
169         * configure.ac: Updated to 0.9.6.
170
171         * src/otf.h (LIBOTF_VERSION): Updated to 0.9.6.
172         (LIBOTF_RELEASE_NUMBER): Updated to 6.
173
174 2007-07-09  Kenichi Handa  <handa@m17n.org>
175
176         * src/otfdrive.c (gstring_subst): Remove a glyph if it is ignored
177         because of 0 glyph ID.
178
179 2007-01-09  Kenichi Handa  <handa@m17n.org>
180
181         * src/otf.h: Adjusted for C++.  Adjusted many prototypes to
182         contain `const' qualifiers.
183
184         * src/otferror.h (otf__error): Add `const' qualifier.
185
186         * src/otferror.c (otf__error, OTF_perror): Add `const' qualifiers.
187
188         * src/otfdrive.c: Add many `const' qualifiers.
189
190         * src/otfopen.c: Add many `const' qualifiers.
191
192 2006-07-25  Kenichi Handa  <handa@m17n.org>
193
194         * Version 0.9.5 released.
195
196 2006-07-25  Kenichi Handa  <handa@m17n.org>
197
198         * src/otfdrive.c (gstring_subst): Setup all members of struct
199         OTF_Glyph.
200         (lookup_gsub): Call gstring_subst with correct args.
201
202 2006-07-19  Kenichi Handa  <handa@m17n.org>
203
204         * libotf.pc.in: New file.
205
206         * Makefile.am (pkgconfigdir, pkgconfig_DATA): New variables.
207
208         * configure.ac: Updated to 0.9.5.
209         (FREETYPE_INC, FREETYPE_LD_FLAGS): AC_SUBST them.
210         (AC_CONFIG_FILES): Include libotf.pc.
211
212         * libotf-config.in: Include @FREETYPE_INC@ and @FREETYPE_LD_FLAGS@
213         in output.
214
215 2006-07-18  Kenichi Handa  <handa@m17n.org>
216
217         * example/otfview.c (bitmap): Array increated to cover full
218         Unicode.
219         (fontindex): New variable.
220         (update_glyph_area): Adjusted for the change of `bitmap'.
221         (GlyphProc): Likewise.
222         (help): New function.
223         (main): Accept a new 2nd arg INDEX.
224
225 2006-07-14  Kenichi Handa  <handa@m17n.org>
226
227         * src/otfopen.c: Include FT_TRUETYPE_TABLES_H.
228         (make_stream): New arg name.  Caller changed.
229         (setup_stream): Delete arg name.
230         (make_stream_from_ft_face): New function.
231         (read_cmap_table): Fix typo (`i'->`j').
232         (read_header_part): New arg face.  Caller changed.
233         (OTF_open_ft_face): New function.
234
235         * src/otf.h (LIBOTF_VERSION): Updated to 0.9.5.
236         (LIBOTF_RELEASE_NUMBER): Updated to 5.
237         (OTF_open_ft_face): Extern it.
238
239 2006-07-11  Kenichi Handa  <handa@m17n.org>
240
241         * src/otf.h (OTF_ERROR_FT_FACE): New macro.
242
243 2006-07-07  Kenichi Handa  <handa@m17n.org>
244
245         * src/otf.h (OTF_Anchor): Distinguish XDeviceTable and
246         YDeviceTable.
247
248 2006-06-23  Kenichi Handa  <handa@m17n.org>
249
250         * example/otfview.c (update_glyph_area): Don't use none_pixmap for
251         glyph index 0 if charmap_index is negative.
252
253         * example/otftobdf.c (main): Call dump_image with the arg full as 0.
254
255         * src/otfopen.c (read_table_directory): Fix setting of tag name.
256
257 2006-02-15  Kenichi Handa  <handa@m17n.org>
258
259         * example/otfview.c (DumpProc): Fix handling of non-existing glyph.
260         (create_otf_script_widgets): Fix typo; gsub -> gpos.
261
262 2006-02-10  Kenichi Handa  <handa@m17n.org>
263
264         * src/otfopen.c (read_table_directory): Fix setting of
265         OTF_TableDirectory->name.
266
267 2006-02-07  Kenichi Handa  <handa@m17n.org>
268
269         * example/otfview.c (DumpProc): Fix calculation of x/y offsets.
270
271 2006-01-27  Kenichi Handa  <handa@m17n.org>
272
273         * example/otfview.c (DumpProc): Completely re-written to produce
274         PostScirpt instead of PBM.
275
276 2005-12-22  Kenichi Handa  <handa@m17n.org>
277
278         * Version 0.9.4 released.
279
280         * src/otf.h (LIBOTF_VERSION): Updated to "0.9.4"
281         (LIBOTF_RELEASE_NUMBER): Update to 4.
282
283 2005-12-22  Kenichi Handa  <handa@m17n.org>
284
285         * example/otfview.c (update_glyph_area): Use non_pixmap for
286         non-existing glyphs.
287
288 2005-11-22  Kenichi Handa  <handa@m17n.org>
289
290         * example/otfview.c (main) [! HAVE_X11_XAW_COMMAND_H]: Fix args to
291         fprintf.
292
293         * configure.ac: Use AC_CHECK_HEADERS instead of AC_CHECK_HEADER.
294
295 2005-09-02  Kenichi Handa  <handa@m17n.org>
296
297         * example/Makefile.am (otfview_LDFLAGS): Use @X11_XT_XAW_XMU@
298         instead of directory listing libraries.
299
300         * autogen.sh: Run automake with -a -c.
301
302         * configure.ac (AC_INIT): Version updated to 0.9.4.
303         (AM_INIT_AUTOMAKE): Likewise.
304         (X11_XT_XAW_XMU): New variable.  Set to a library list for Xaw if
305         X11 is available.
306
307 2005-07-11  Kenichi Handa  <handa@m17n.org>
308
309         * src/otfdrive.c (OTF_drive_gsub_internal): Call OTF_get_table
310         unconditionally.
311         (OTF_drive_gpos): Likewise.
312
313         * src/otfopen.c (read_gsub_gpos_table): Set *table->address earlier.
314         (OTF_check_features): Set script_list and feature_list according
315         to gsubp.  Even if failed in getting features, if all requested
316         features are negative, return 1.
317
318 2005-06-29  Kenichi Handa  <handa@m17n.org>
319
320         * example/otfview.c (get_features): Don't return "*" even if all
321         features are being used.
322
323         * src/otfdrive.c (OTF_drive_gsub_internal): Initialize
324         positioning_type member to 0.
325         (OTF_drive_gpos): Likewise.
326
327 2005-06-24  Kenichi Handa  <handa@m17n.org>
328
329         * src/otfopen.c (OTF_check_features): If the MSB of a feature tag
330         is set, treat it as a negation flag.
331
332 2005-06-14  Kenichi Handa  <handa@m17n.org>
333
334         * src/otfopen.c (OTF_check_features): If gsubp is zero, check gpos
335         scripts and features.  Treat feature tag 0 as wildcard.
336
337 2005-05-26  Kenichi Handa  <handa@m17n.org>
338
339         * example/otfview.c (langsys_tag): New variable.
340         (get_features): Check if rec->langsys and rec->features are not
341         NULL.
342         (update_seq_area): Delete unused var.
343         (setup_feature_rec): Setup rec->langsys correctly.  Don't allocate
344         rec->features here.
345         (compose_script_langsys, decompose_script_langsys): New functions.
346         (ScriptProc): Fix handling of the arg call_data.
347         (create_otf_script_widgets): Check all langsys.  Allocate
348         gsub.features and gpos.features here.
349         (create_otf_widgets): Delete unused var.
350
351         * example/otflist.c (print_gsub_gpos_info): Don't print
352         superfluous space.
353         (main): Delete unused variables.
354
355 2005-05-23  Kenichi Handa  <handa@m17n.org>
356
357         * src/otfopen.c (OTF_check_features): Fix indexing to
358         feature_list->Feature.
359         (OTF_tag): Handle the case that the length of NAME is short.
360
361 2005-05-21  Kenichi Handa  <handa@m17n.org>
362
363         * src/otfopen.c (OTF_get_features): If table_info doesn't have
364         stream nor address, return -1.
365
366 2005-05-19  Kenichi Handa  <handa@m17n.org>
367
368         * src/otf.h (OTF_get_scripts, OTF_get_features,
369         OTF_check_features): Extern them.
370
371         * src/otfopen.c (enum OTF_ReaderFlag): New enum.
372         (OTF_TableInfo): Change the prototype of the member `reader'.
373         Caller changed.
374         (read_head_table, read_name_table, read_cmap_table)
375         (read_gdef_table): Adjusted for the change of OTF_TableInfo.
376         (read_feature_list): Seek the stream at first.
377         (read_gsub_gpos_table): Adjusted for the change of OTF_TableInfo.
378         Pay attention to the arg `flag'.
379         (read_gsub_table, read_gpos_table): Adjusted for the change of
380         OTF_TableInfo.
381         (OTF_get_table): Likewise.
382         (OTF_get_scripts, OTF_get_features, OTF_check_features): New
383         functions.
384
385 2005-05-13  Kenichi Handa  <handa@m17n.org>
386
387         * src/otfdrive.c (lookup_gsub): Increment `gidx' correctly in the
388         case of GSUB_Ligature1.
389
390 2005-02-18  Kenichi Handa  <handa@m17n.org>
391
392         * src/otferror.c (error_message): Allocate it statically.
393         (otf__error): Don't allocate error_message dynamically.
394         (OTF_perror): Adjust for the above changes.
395
396 2005-02-17  Kenichi Handa  <handa@m17n.org>
397
398         * example/otflist.c (filter): Accept extentions ".ttc" and ".TTC".
399
400         * src/otfopen.c (read_cmap_table): Delete unsed var.
401
402         * src/otfdrive.c (gstring_subst): Correctly set temp.f.index.
403         (lookup_gsub): Fix updating gidx.
404         (gstring_subst): New arg OTF.  Callers changed.
405         (lookup_gsub): New arg OTF.  Callers changed.
406
407 2004-12-27  Kenichi Handa  <handa@m17n.org>
408
409         * Version 0.9.3 released.
410
411 2004-11-19  Kenichi Handa  <handa@m17n.org>
412
413         * libotf-config: Update to version "0.9.3".
414
415         * configure.ac (AC_INIT): Update to 0.9.3.
416         (AM_INIT_AUTOMAKE): Likewise.
417
418         * src/otf.h (LIBOTF_VERSION): Update to "0.9.3".
419         (LIBOTF_RELEASE_NUMBER): Update to 3.
420
421 2004-11-09  Kenichi Handa  <handa@m17n.org>
422
423         * src/otf.h (OTF_Glyph): Delete member alternate_set.
424         (OTF_drive_gsub_alternate): Extern it.
425
426         * src/otfdrive.c (lookup_gsub): New arg alternate_subst.  Callers
427         changed.
428         (OTF_drive_gsub_internal): Renamed from OTF_drive_gsub.
429         (OTF_drive_gsub): Just call OTF_drive_gsub_internal.
430         (OTF_drive_gsub_alternate): New function.
431
432         * example/otfview.c (alt_subst, do_alternate_subst): New
433         variables.
434         (update_seq_area): If do_alternate_subst, call
435         OTF_drive_gsub_alternate.  Correctly set advance.  Don't check
436         g->alternate_set.
437         (AltSubstProc): New function.
438         (create_widgets): Create AltSubst widget.
439
440 2004-11-08  Kenichi Handa  <handa@m17n.org>
441
442         * example/otfview.c: Include "config.h".
443
444 2004-11-02  Kenichi Handa  <handa@m17n.org>
445
446         * example/otfview.c (MAX_FEATURE_COUNT): Delete this macro.
447         (FeatureElement): New type.
448         (FeatureRec): New element num_features and parent.
449         (update_seq_area): Show alternate glyphs if any.
450         (setup_feature_rec): (Re)allocate rec->features.  Create widgets.
451         (create_otf_widgets): Don't create widgets here.
452
453         * example/otfdump.c (dump_cmap_table): Support Format 2 of cmap.
454
455         * src/otfopen.c (read_cmap_table): Support Format 2 of cmap.
456
457         * src/otfdrive.c (lookup_gsub): For Format 3, set
458         OTF_Glyph->alternate_set.
459
460         * src/otf.h (OTF_EncodingSubtable2): New members subHeaderCount
461         and glyphIndexCount.
462         (OTF_Glyph): New member alternate_set.
463
464 2004-10-27  Kenichi Handa  <handa@m17n.org>
465
466         * example/otfview.c: Pay attention to HAVE_X11_XAW_COMMAND_H.
467
468         * configure.ac: Check existence of X11/Xaw/Command.h.
469
470 2004-09-03  Kenichi Handa  <handa@m17n.org>
471
472         * src/otfdrive.c (GSTRING_INSERT): Fix size of reallocating
473         memory.
474         (lookup_gpos): For LooupType 5, fix finding a base/ligature glyph.
475
476         * example/otfview.c (update_seq_area): Use malloc and free for
477         gstring.glyphs.
478
479 2004-08-13  Kenichi Handa  <handa@m17n.org>
480
481         * Version 0.9.2 released.
482
483 2004-08-13  Kenichi Handa  <handa@m17n.org>
484
485         * src/otfdrive.c (IGNORED_GLYPH): Fix checking of MarkAttachClass.
486
487         * configure.ac: Updated to 0.9.2.
488
489         * src/otf.h (LIBOTF_VERSION): Updated to 0.9.2.
490         (LIBOTF_RELEASE_NUMBER): Updated to 2.
491
492 2004-08-09  Kenichi Handa  <handa@m17n.org>
493
494         * Version 0.9.1 released.
495
496 2004-08-09  Kenichi Handa  <handa@m17n.org>
497
498         * src/otfdrive.c (setup_lookup_indices): Fix handling of "*" in
499         features.
500
501         * example/otfview.c (update_seq_area): Call OTF_drive_gdef only
502         when otf is not NULL.
503
504 2004-08-07  Kenichi Handa  <handa@m17n.org>
505
506         * example/otfview.c (FeatureProc): Highlight selected features by
507         changing border width, not by changing fore and back color.
508         (setup_feature_rec): Setup internal height and width of widgets.
509         (create_otf_widgets): Likewise.
510
511         * src/otfdrive.c (IGNORED_GLYPH): New macro.
512         (gstring_subst, match_ids, match_chain_ids, match_classes)
513         (match_chain_classes, match_coverages, match_chain_coverages):
514         use IGNORED_GLYPH.
515         (lookup_gsub): Likewise.  Include OTF_MarkAttachmentType in flag.
516         (lookup_gpos): Likewise.
517
518 2004-08-06  Kenichi Handa  <handa@m17n.org>
519
520         * src/otfdrive.c (lookup_gsub): Fix handling of Extension lookup.
521         (lookup_gpos): Support Extension lookup.
522         (gstring_subst): Fix previous change.
523
524 2004-08-05  Kenichi Handa  <handa@m17n.org>
525
526         * src/otf.h (enum OTF_LookupFlagBit): Fix OTF_IgnoreMarks.
527
528         * example/otfview.c (update_seq_area): Fix sign of yoff.
529         Support more positioning_type.
530
531         * example/otfdump.c (dump_lookup_subtable_gpos): Add support for
532         LookupType 5.
533
534         * src/otfopen.c (read_ligature_attach): Fix for the case that an
535         offset is NULL.
536
537         * src/otfdrive.c (lookup_gpos): Add support for LookupType 5.
538         Fix handling of flag.
539         (gstring_subst): Fix previous change.
540
541 2004-08-04  Kenichi Handa  <handa@m17n.org>
542
543         * example/otfview.c (bidi, reversed): New variables.
544         (update_seq_area): Call OTF_drive_gdef.  If reversed is nonzero,
545         reorder glyphs properly.  Create pixmap if necessary.  Handle
546         OTF_XAdvance and OTF_XAdvDevice.
547         (BidiProc): New function.
548         (create_widgets): Setup bidi.
549
550         * src/otfdrive.c (gstring_subst): New arg flag.  Caller changed.
551         Ignore glyphs specified in flag.
552         (match_ids, match_classes, match_coverages): Likewise.
553         (match_chain_ids, match_chain_classes, match_chain_coverages): New
554         arg flag.
555         (lookup_gsub): Fix handling of LookupFlag.
556         (lookup_gpos): Likewise.  Support more LookupType.
557
558         * src/otf.h (OTF_LookupFlagIgnoreMask): New macro.
559
560 2004-07-29  Kenichi Handa  <handa@m17n.org>
561
562         * example/otfview.c (create_widgets): Fix width of index glyphs..
563
564 2004-07-26  Kenichi Handa  <handa@m17n.org>
565
566         * src/otfopen.c (read_value_record): Fix typo.
567
568         * src/otfdrive.c (lookup_gpos): Don't apply a GPOS feature twice.
569         (OTF_drive_gpos): Initialize values positioning_type memeber.
570         (OTF_drive_gsub): Fix previous change.
571
572 2004-07-24  Kenichi Handa  <handa@m17n.org>
573
574         * src/otfdrive.c (gstring_subst): Set `c' and `f.index' of
575         OTF_Glyph.
576         (OTF_drive_gsub): Iniialize f.index member of OTF_Glhph.
577
578         * src/otf.h (OTF_Glyph): New union member u.index.
579
580 2004-07-23  Kenichi Handa  <handa@m17n.org>
581
582         * example/otfview.c: Big change to implement selection of script.
583
584 2004-07-12  Kenichi Handa  <handa@m17n.org>
585
586         * example/otfview.c: Big change to implement driving OpenType
587         tables (GSUB and GPOS).
588
589         * src/otfdrive.c (get_langsys): If script is NULL, use the first
590         one in script_list.
591
592 2004-07-09  Kenichi Handa  <handa@m17n.org>
593
594         * src/otfdrive.c (lookup_gpos): Ignore glyphs whose ID is 0 (fix
595         for the case of LookupType 2).
596
597 2004-07-08  Kenichi Handa  <handa@m17n.org>
598
599         * src/otfopen.c (read_class_set_list): Allocate the array *set
600         by OTF_CALLOC.
601
602 2004-07-07  Kenichi Handa  <handa@m17n.org>
603
604         * src/otfdrive.c (lookup_gsub): For LookupType 5 Subformat 2, if
605         ClassSet is not defined, do nothing.
606
607 2004-06-29  Kenichi Handa  <handa@m17n.org>
608
609         * src/otfdrive.c (lookup_gsub): Fix handling of lookup type 6
610         format 3.
611
612 2004-05-28  Kenichi Handa  <handa@m17n.org>
613
614         * example/otflist.c: Include <sys/types.h> and "config.h".
615         (next_file): New function.
616         (main): Call next_file.
617
618         * configure.ac: Check functions scandir and alphasort.
619
620 2004-05-06  Kenichi Handa  <handa@m17n.org>
621
622         * example/otftobdf.c (registry): New variable.
623         (dump_header): Include registry in the font name.
624         (main): Handle the encoding arg of the format M-N.  Without this
625         arg, generate a font with raw-encoding.
626
627         * src/otfdrive.c: Include "config.h".  Delete '//' style comments.
628         (lookup_encoding_0, lookup_encoding_2, lookup_encoding_4)
629         (lookup_encoding_6, lookup_encoding_8, lookup_encoding_10)
630         (lookup_encoding_12, OTF_drive_cmap2): New functions.
631
632         * src/otfopen.c (read_name): Argument changed.  Set
633         OTF_NameRecord->ascii.  If possible, convert Unicode sequence to
634         ASCII.
635         (read_name_table): Adjusted for the change of read_name.
636         (read_cmap_table): Signal an error (not-yet-supported) if format
637         is 2.  Support for formats, 8, 10, 12.
638         (read_value_record): Clear value_record at first.
639         (read_lookup_subtable_gpos): Fix for the case subFormat is 1 and
640         2.
641         (OTF_open): Check file name extension.
642
643         * example/otflist.c: Include <otf.h>.
644         (FATAL_ERROR): New macro.
645         (print_tag, print_gsub_gpos_info, help_and_exit): New functions.
646         (main): Handle -h, --help, -l args.  Prefer family/style names
647         extracted by the otf library.
648
649 2004-03-30  Kenichi Handa  <handa@m17n.org>
650
651         * src/otfopen.c (read_value_record): Clear value_record at
652         first.
653         (read_lookup_subtable_gpos): For Lookup Type 1, read Coverage at
654         first.
655
656 2004-03-29  Kenichi Handa  <handa@m17n.org>
657
658         * example/otfdump.c (dump_lookup_subtable_gsub): For Lookup Type
659         7, fix arg to dump_lookup_subtable_gsub.
660         (dump_lookup_subtable_gpos): Support Lookup Type 9.
661
662         * autogen.sh: Run automake after autoheader.
663
664         * src/otfopen.c (OTF_close): Free otf->filename.
665
666 2004-02-01  Kenichi Handa  <handa@m17n.org>
667
668         * Version 0.9 released.
669
670 \f
671 Copyright (C) 2003, 2004
672   National Institute of Advanced Industrial Science and Technology (AIST)
673   Registration Number H15PRO112
674
675 This file is part of the m17n library.
676
677 The m17n library is free software; you can redistribute it and/or
678 modify it under the terms of the GNU Lesser General Public License
679 as published by the Free Software Foundation; either version 2.1 of
680 the License, or (at your option) any later version.
681
682 The m17n library is distributed in the hope that it will be useful,
683 but WITHOUT ANY WARRANTY; without even the implied warranty of
684 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
685 Lesser General Public License for more details.
686
687 You should have received a copy of the GNU Lesser General Public
688 License along with the m17n library; if not, write to the Free
689 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
690 02111-1307, USA.