-2004-09-07 Kenichi Handa <handa@m17n.org>
+2005-06-29 Kenichi Handa <handa@m17n.org>
- * example/otfdump.c: Don't include libgen.h.
+ * example/otfview.c (get_features): Don't return "*" even if all
+ features are being used.
- * example/otfview.c: Don't include libgen.h.
+ * src/otfdrive.c (OTF_drive_gsub_internal): Initialize
+ positioning_type member to 0.
+ (OTF_drive_gpos): Likewise.
+
+2005-06-24 Kenichi Handa <handa@m17n.org>
+
+ * src/otfopen.c (OTF_check_features): If the MSB of a feature tag
+ is set, treat it as a negation flag.
+
+2005-06-14 Kenichi Handa <handa@m17n.org>
+
+ * src/otfopen.c (OTF_check_features): If gsubp is zero, check gpos
+ scripts and features. Treat feature tag 0 as wildcard.
+
+2005-05-26 Kenichi Handa <handa@m17n.org>
+
+ * example/otfview.c (langsys_tag): New variable.
+ (get_features): Check if rec->langsys and rec->features are not
+ NULL.
+ (update_seq_area): Delete unused var.
+ (setup_feature_rec): Setup rec->langsys correctly. Don't allocate
+ rec->features here.
+ (compose_script_langsys, decompose_script_langsys): New functions.
+ (ScriptProc): Fix handling of the arg call_data.
+ (create_otf_script_widgets): Check all langsys. Allocate
+ gsub.features and gpos.features here.
+ (create_otf_widgets): Delete unused var.
+
+ * example/otflist.c (print_gsub_gpos_info): Don't print
+ superfluous space.
+ (main): Delete unused variables.
+
+2005-05-23 Kenichi Handa <handa@m17n.org>
+
+ * src/otfopen.c (OTF_check_features): Fix indexing to
+ feature_list->Feature.
+ (OTF_tag): Handle the case that the length of NAME is short.
+
+2005-05-21 Kenichi Handa <handa@m17n.org>
+
+ * src/otfopen.c (OTF_get_features): If table_info doesn't have
+ stream nor address, return -1.
+
+2005-05-19 Kenichi Handa <handa@m17n.org>
+
+ * src/otf.h (OTF_get_scripts, OTF_get_features,
+ OTF_check_features): Extern them.
+
+ * src/otfopen.c (enum OTF_ReaderFlag): New enum.
+ (OTF_TableInfo): Change the prototype of the member `reader'.
+ Caller changed.
+ (read_head_table, read_name_table, read_cmap_table)
+ (read_gdef_table): Adjusted for the change of OTF_TableInfo.
+ (read_feature_list): Seek the stream at first.
+ (read_gsub_gpos_table): Adjusted for the change of OTF_TableInfo.
+ Pay attention to the arg `flag'.
+ (read_gsub_table, read_gpos_table): Adjusted for the change of
+ OTF_TableInfo.
+ (OTF_get_table): Likewise.
+ (OTF_get_scripts, OTF_get_features, OTF_check_features): New
+ functions.
+
+2005-05-13 Kenichi Handa <handa@m17n.org>
+
+ * src/otfdrive.c (lookup_gsub): Increment `gidx' correctly in the
+ case of GSUB_Ligature1.
+
+2005-02-18 Kenichi Handa <handa@m17n.org>
+
+ * src/otferror.c (error_message): Allocate it statically.
+ (otf__error): Don't allocate error_message dynamically.
+ (OTF_perror): Adjust for the above changes.
+
+2005-02-17 Kenichi Handa <handa@m17n.org>
+
+ * example/otflist.c (filter): Accept extentions ".ttc" and ".TTC".
+
+ * src/otfopen.c (read_cmap_table): Delete unsed var.
+
+ * src/otfdrive.c (gstring_subst): Correctly set temp.f.index.
+ (lookup_gsub): Fix updating gidx.
+ (gstring_subst): New arg OTF. Callers changed.
+ (lookup_gsub): New arg OTF. Callers changed.
+
+2004-12-27 Kenichi Handa <handa@m17n.org>
+
+ * Version 0.9.3 released.
+
+2004-11-19 Kenichi Handa <handa@m17n.org>
+
+ * libotf-config: Update to version "0.9.3".
+
+ * configure.ac (AC_INIT): Update to 0.9.3.
+ (AM_INIT_AUTOMAKE): Likewise.
+
+ * src/otf.h (LIBOTF_VERSION): Update to "0.9.3".
+ (LIBOTF_RELEASE_NUMBER): Update to 3.
+
+2004-11-09 Kenichi Handa <handa@m17n.org>
+
+ * src/otf.h (OTF_Glyph): Delete member alternate_set.
+ (OTF_drive_gsub_alternate): Extern it.
+
+ * src/otfdrive.c (lookup_gsub): New arg alternate_subst. Callers
+ changed.
+ (OTF_drive_gsub_internal): Renamed from OTF_drive_gsub.
+ (OTF_drive_gsub): Just call OTF_drive_gsub_internal.
+ (OTF_drive_gsub_alternate): New function.
+
+ * example/otfview.c (alt_subst, do_alternate_subst): New
+ variables.
+ (update_seq_area): If do_alternate_subst, call
+ OTF_drive_gsub_alternate. Correctly set advance. Don't check
+ g->alternate_set.
+ (AltSubstProc): New function.
+ (create_widgets): Create AltSubst widget.
+
+2004-11-08 Kenichi Handa <handa@m17n.org>
+
+ * example/otfview.c: Include "config.h".
+
+2004-11-02 Kenichi Handa <handa@m17n.org>
+
+ * example/otfview.c (MAX_FEATURE_COUNT): Delete this macro.
+ (FeatureElement): New type.
+ (FeatureRec): New element num_features and parent.
+ (update_seq_area): Show alternate glyphs if any.
+ (setup_feature_rec): (Re)allocate rec->features. Create widgets.
+ (create_otf_widgets): Don't create widgets here.
+
+ * example/otfdump.c (dump_cmap_table): Support Format 2 of cmap.
+
+ * src/otfopen.c (read_cmap_table): Support Format 2 of cmap.
+
+ * src/otfdrive.c (lookup_gsub): For Format 3, set
+ OTF_Glyph->alternate_set.
+
+ * src/otf.h (OTF_EncodingSubtable2): New members subHeaderCount
+ and glyphIndexCount.
+ (OTF_Glyph): New member alternate_set.
+
+2004-10-27 Kenichi Handa <handa@m17n.org>
+
+ * example/otfview.c: Pay attention to HAVE_X11_XAW_COMMAND_H.
+
+ * configure.ac: Check existence of X11/Xaw/Command.h.
2004-09-03 Kenichi Handa <handa@m17n.org>