*** empty log message ***
[m17n/libotf.git] / ChangeLog
index 4f91ce9..51d77c1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,203 @@
+2005-06-29  Kenichi Handa  <handa@m17n.org>
+
+       * example/otfview.c (get_features): Don't return "*" even if all
+       features are being used.
+
+       * 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>
+
+       * src/otfdrive.c (GSTRING_INSERT): Fix size of reallocating
+       memory.
+       (lookup_gpos): For LooupType 5, fix finding a base/ligature glyph.
+
+       * example/otfview.c (update_seq_area): Use malloc and free for
+       gstring.glyphs.
+
+2004-08-13  Kenichi Handa  <handa@m17n.org>
+
+       * Version 0.9.2 released.
+
+2004-08-13  Kenichi Handa  <handa@m17n.org>
+
+       * src/otfdrive.c (IGNORED_GLYPH): Fix checking of MarkAttachClass.
+
+       * configure.ac: Updated to 0.9.2.
+
+       * src/otf.h (LIBOTF_VERSION): Updated to 0.9.2.
+       (LIBOTF_RELEASE_NUMBER): Updated to 2.
+
+2004-08-09  Kenichi Handa  <handa@m17n.org>
+
+       * Version 0.9.1 released.
+
+2004-08-09  Kenichi Handa  <handa@m17n.org>
+
+       * src/otfdrive.c (setup_lookup_indices): Fix handling of "*" in
+       features.
+
+       * example/otfview.c (update_seq_area): Call OTF_drive_gdef only
+       when otf is not NULL.
+
+2004-08-07  Kenichi Handa  <handa@m17n.org>
+
+       * example/otfview.c (FeatureProc): Highlight selected features by
+       changing border width, not by changing fore and back color.
+       (setup_feature_rec): Setup internal height and width of widgets.
+       (create_otf_widgets): Likewise.
+
+       * src/otfdrive.c (IGNORED_GLYPH): New macro.
+       (gstring_subst, match_ids, match_chain_ids, match_classes)
+       (match_chain_classes, match_coverages, match_chain_coverages):
+       use IGNORED_GLYPH.
+       (lookup_gsub): Likewise.  Include OTF_MarkAttachmentType in flag.
+       (lookup_gpos): Likewise.
+
 2004-08-06  Kenichi Handa  <handa@m17n.org>
 
        * src/otfdrive.c (lookup_gsub): Fix handling of Extension lookup.