m17n/libotf.git
18 years ago(OTF_get_scripts, OTF_get_features,
handa [Thu, 19 May 2005 01:37:38 +0000 (01:37 +0000)]
(OTF_get_scripts, OTF_get_features,
OTF_check_features): Extern them.

18 years ago(enum OTF_ReaderFlag): New enum.
handa [Thu, 19 May 2005 01:37:04 +0000 (01:37 +0000)]
(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.

19 years ago(lookup_gsub): Increment `gidx' correctly in the
handa [Fri, 13 May 2005 07:18:49 +0000 (07:18 +0000)]
(lookup_gsub): Increment `gidx' correctly in the
case of GSUB_Ligature1.

19 years ago*** empty log message ***
handa [Fri, 13 May 2005 07:18:42 +0000 (07:18 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
handa [Fri, 18 Feb 2005 02:01:19 +0000 (02:01 +0000)]
*** empty log message ***

19 years ago(error_message): Allocate it statically.
handa [Fri, 18 Feb 2005 02:00:57 +0000 (02:00 +0000)]
(error_message): Allocate it statically.
(otf__error): Don't allocate error_message dynamically.
(OTF_perror): Adjust for the above changes.

19 years ago*** empty log message ***
handa [Thu, 17 Feb 2005 12:46:37 +0000 (12:46 +0000)]
*** empty log message ***

19 years ago(filter): Accept extentions ".ttc" and ".TTC".
handa [Thu, 17 Feb 2005 12:46:28 +0000 (12:46 +0000)]
(filter): Accept extentions ".ttc" and ".TTC".

19 years ago*** empty log message ***
handa [Thu, 17 Feb 2005 12:45:36 +0000 (12:45 +0000)]
*** empty log message ***

19 years ago(gstring_subst): Correctly set temp.f.index.
handa [Thu, 17 Feb 2005 12:45:31 +0000 (12:45 +0000)]
(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.

19 years ago(read_cmap_table): Delete unsed var.
handa [Thu, 17 Feb 2005 12:29:57 +0000 (12:29 +0000)]
(read_cmap_table): Delete unsed var.

19 years ago*** empty log message ***
handa [Thu, 17 Feb 2005 12:23:51 +0000 (12:23 +0000)]
*** empty log message ***

19 years ago(gstring_subst): Correctly set temp.f.index.
handa [Thu, 17 Feb 2005 12:23:44 +0000 (12:23 +0000)]
(gstring_subst): Correctly set temp.f.index.
(lookup_gsub): Fix updating gidx.

19 years ago*** empty log message ***
handa [Mon, 27 Dec 2004 11:27:59 +0000 (11:27 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
handa [Fri, 19 Nov 2004 11:19:46 +0000 (11:19 +0000)]
*** empty log message ***

19 years ago(AC_INIT): Update to 0.9.3.
handa [Fri, 19 Nov 2004 11:19:39 +0000 (11:19 +0000)]
(AC_INIT): Update to 0.9.3.
(AM_INIT_AUTOMAKE): Likewise.

19 years ago(LIBOTF_VERSION): Update to "0.9.3".
handa [Fri, 19 Nov 2004 11:16:51 +0000 (11:16 +0000)]
(LIBOTF_VERSION): Update to "0.9.3".
(LIBOTF_RELEASE_NUMBER): Update to 3.

19 years ago*** empty log message ***
handa [Tue, 9 Nov 2004 01:14:26 +0000 (01:14 +0000)]
*** empty log message ***

19 years ago(lookup_gsub): New arg alternate_subst. Callers
handa [Tue, 9 Nov 2004 01:14:15 +0000 (01:14 +0000)]
(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.

19 years ago(OTF_Glyph): Delete member alternate_set.
handa [Tue, 9 Nov 2004 01:13:56 +0000 (01:13 +0000)]
(OTF_Glyph): Delete member alternate_set.
(OTF_drive_gsub_alternate): Extern it.

19 years ago(alt_subst, do_alternate_subst): New
handa [Tue, 9 Nov 2004 00:33:50 +0000 (00:33 +0000)]
(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.

19 years ago*** empty log message ***
handa [Mon, 8 Nov 2004 08:11:51 +0000 (08:11 +0000)]
*** empty log message ***

19 years agoInclude "config.h".
handa [Mon, 8 Nov 2004 08:11:45 +0000 (08:11 +0000)]
Include "config.h".

19 years ago*** empty log message ***
handa [Tue, 2 Nov 2004 06:15:31 +0000 (06:15 +0000)]
*** empty log message ***

19 years ago(MAX_FEATURE_COUNT): Delete this macro.
handa [Tue, 2 Nov 2004 06:15:26 +0000 (06:15 +0000)]
(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.

19 years ago(dump_cmap_table): Support Format 2 of cmap.
handa [Tue, 2 Nov 2004 06:11:01 +0000 (06:11 +0000)]
(dump_cmap_table): Support Format 2 of cmap.

19 years ago*** empty log message ***
handa [Tue, 2 Nov 2004 06:10:31 +0000 (06:10 +0000)]
*** empty log message ***

19 years ago(read_cmap_table): Support Format 2 of cmap.
handa [Tue, 2 Nov 2004 06:10:24 +0000 (06:10 +0000)]
(read_cmap_table): Support Format 2 of cmap.

19 years ago(lookup_gsub): For Format 3, set
handa [Tue, 2 Nov 2004 06:09:53 +0000 (06:09 +0000)]
(lookup_gsub): For Format 3, set
OTF_Glyph->alternate_set.

19 years ago(OTF_EncodingSubtable2): New members subHeaderCount
handa [Tue, 2 Nov 2004 06:08:48 +0000 (06:08 +0000)]
(OTF_EncodingSubtable2): New members subHeaderCount
and glyphIndexCount.
(OTF_Glyph): New member alternate_set.

19 years ago*** empty log message ***
handa [Wed, 27 Oct 2004 07:48:33 +0000 (07:48 +0000)]
*** empty log message ***

19 years agoPay attention to HAVE_X11_XAW_COMMAND_H.
handa [Wed, 27 Oct 2004 07:48:29 +0000 (07:48 +0000)]
Pay attention to HAVE_X11_XAW_COMMAND_H.

19 years ago*** empty log message ***
handa [Wed, 27 Oct 2004 07:47:56 +0000 (07:47 +0000)]
*** empty log message ***

19 years agoCheck existence of X11/Xaw/Command.h.
handa [Wed, 27 Oct 2004 07:47:52 +0000 (07:47 +0000)]
Check existence of X11/Xaw/Command.h.

19 years ago*** empty log message ***
handa [Tue, 7 Sep 2004 09:06:19 +0000 (09:06 +0000)]
*** empty log message ***

19 years agoCancel previous change.
handa [Tue, 7 Sep 2004 09:05:59 +0000 (09:05 +0000)]
Cancel previous change.

19 years ago*** empty log message ***
handa [Tue, 7 Sep 2004 08:59:21 +0000 (08:59 +0000)]
*** empty log message ***

19 years agoDon't include libgen.h.
handa [Tue, 7 Sep 2004 08:59:14 +0000 (08:59 +0000)]
Don't include libgen.h.

19 years ago(lookup_gpos): For LooupType 5, fix finding a base/ligature glyph.
handa [Tue, 7 Sep 2004 08:56:39 +0000 (08:56 +0000)]
(lookup_gpos): For LooupType 5, fix finding a base/ligature glyph.

19 years ago*** empty log message ***
handa [Fri, 3 Sep 2004 12:38:54 +0000 (12:38 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
handa [Fri, 3 Sep 2004 12:29:01 +0000 (12:29 +0000)]
*** empty log message ***

19 years ago(GSTRING_INSERT): Fix size of reallocating
handa [Fri, 3 Sep 2004 12:28:51 +0000 (12:28 +0000)]
(GSTRING_INSERT): Fix size of reallocating
memory.
(lookup_gpos): For LooupType 5, fix finding a base/ligature glyph.

19 years ago*** empty log message ***
handa [Fri, 3 Sep 2004 08:30:24 +0000 (08:30 +0000)]
*** empty log message ***

19 years ago(GSTRING_INSERT): Fix size of reallocating
handa [Fri, 3 Sep 2004 08:30:17 +0000 (08:30 +0000)]
(GSTRING_INSERT): Fix size of reallocating
memory.

19 years ago*** empty log message ***
handa [Fri, 3 Sep 2004 08:01:33 +0000 (08:01 +0000)]
*** empty log message ***

19 years ago(update_seq_area): Use malloc and free for
handa [Fri, 3 Sep 2004 08:01:18 +0000 (08:01 +0000)]
(update_seq_area): Use malloc and free for
gstring.glyphs.

19 years ago*** empty log message *** REL-0-9-2
handa [Fri, 13 Aug 2004 09:24:28 +0000 (09:24 +0000)]
*** empty log message ***

19 years ago(LIBOTF_VERSION): Updated to 0.9.2.
handa [Fri, 13 Aug 2004 09:24:03 +0000 (09:24 +0000)]
(LIBOTF_VERSION): Updated to 0.9.2.
(LIBOTF_RELEASE_NUMBER): Updated to 2.

19 years agoUpdated to 0.9.2.
handa [Fri, 13 Aug 2004 09:23:43 +0000 (09:23 +0000)]
Updated to 0.9.2.

19 years ago*** empty log message ***
handa [Fri, 13 Aug 2004 08:27:32 +0000 (08:27 +0000)]
*** empty log message ***

19 years ago(IGNORED_GLYPH): Fix previous change.
handa [Fri, 13 Aug 2004 08:26:59 +0000 (08:26 +0000)]
(IGNORED_GLYPH): Fix previous change.

19 years ago*** empty log message ***
handa [Fri, 13 Aug 2004 07:53:20 +0000 (07:53 +0000)]
*** empty log message ***

19 years ago(IGNORED_GLYPH): Fix checking of MarkAttachClass.
handa [Fri, 13 Aug 2004 07:53:14 +0000 (07:53 +0000)]
(IGNORED_GLYPH): Fix checking of MarkAttachClass.

19 years ago*** empty log message *** REL-0-9-1
handa [Mon, 9 Aug 2004 07:32:43 +0000 (07:32 +0000)]
*** empty log message ***

19 years ago(setup_lookup_indices): Fix handling of "*" in features.
handa [Mon, 9 Aug 2004 07:32:18 +0000 (07:32 +0000)]
(setup_lookup_indices): Fix handling of "*" in features.

19 years ago*** empty log message ***
handa [Mon, 9 Aug 2004 01:16:10 +0000 (01:16 +0000)]
*** empty log message ***

19 years ago(update_seq_area): Call OTF_drive_gdef only
handa [Mon, 9 Aug 2004 00:15:04 +0000 (00:15 +0000)]
(update_seq_area): Call OTF_drive_gdef only
when otf is not NULL.

19 years ago*** empty log message ***
handa [Sun, 8 Aug 2004 23:41:11 +0000 (23:41 +0000)]
*** empty log message ***

19 years ago(FeatureProc): Highlight selected features by
handa [Sun, 8 Aug 2004 23:40:31 +0000 (23:40 +0000)]
(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.

19 years ago*** empty log message ***
handa [Sat, 7 Aug 2004 01:59:19 +0000 (01:59 +0000)]
*** empty log message ***

19 years ago(IGNORED_GLYPH): New macro.
handa [Sat, 7 Aug 2004 01:59:14 +0000 (01:59 +0000)]
(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.

19 years ago*** empty log message ***
handa [Fri, 6 Aug 2004 12:09:51 +0000 (12:09 +0000)]
*** empty log message ***

19 years ago(lookup_gsub): Fix handling of Extension lookup.
handa [Fri, 6 Aug 2004 12:09:42 +0000 (12:09 +0000)]
(lookup_gsub): Fix handling of Extension lookup.
(lookup_gpos): Support Extension lookup.
(gstring_subst): Fix previous change.

19 years ago*** empty log message ***
handa [Fri, 6 Aug 2004 00:44:05 +0000 (00:44 +0000)]
*** empty log message ***

19 years ago(lookup_gsub): Fix handling of Extension lookup.
handa [Fri, 6 Aug 2004 00:43:57 +0000 (00:43 +0000)]
(lookup_gsub): Fix handling of Extension lookup.
(lookup_gpos): Support Extension lookup.

19 years ago(update_seq_area): Fix previous change.
handa [Thu, 5 Aug 2004 13:11:09 +0000 (13:11 +0000)]
(update_seq_area): Fix previous change.

19 years ago*** empty log message ***
handa [Thu, 5 Aug 2004 11:42:43 +0000 (11:42 +0000)]
*** empty log message ***

19 years ago(update_seq_area): Fix sign of yoff.
handa [Thu, 5 Aug 2004 11:42:33 +0000 (11:42 +0000)]
(update_seq_area): Fix sign of yoff.
(update_seq_area): Support more positioning_type.

19 years ago*** empty log message ***
handa [Thu, 5 Aug 2004 07:43:23 +0000 (07:43 +0000)]
*** empty log message ***

19 years ago(lookup_gpos): Add support for LookupType 5.
handa [Thu, 5 Aug 2004 07:11:00 +0000 (07:11 +0000)]
(lookup_gpos): Add support for LookupType 5.
Fix handling of flag.
(gstring_subst): Fix previous change.

19 years ago(enum OTF_LookupFlagBit): Fix OTF_IgnoreMarks.
handa [Thu, 5 Aug 2004 07:10:32 +0000 (07:10 +0000)]
(enum OTF_LookupFlagBit): Fix OTF_IgnoreMarks.

19 years ago*** empty log message ***
handa [Thu, 5 Aug 2004 06:45:34 +0000 (06:45 +0000)]
*** empty log message ***

19 years ago(update_seq_area): Fix sign of yoff.
handa [Thu, 5 Aug 2004 06:45:29 +0000 (06:45 +0000)]
(update_seq_area): Fix sign of yoff.

19 years ago(dump_lookup_subtable_gpos): Add support for
handa [Thu, 5 Aug 2004 06:45:01 +0000 (06:45 +0000)]
(dump_lookup_subtable_gpos): Add support for
LookupType 5.

19 years ago(lookup_gpos): Fix handling of flag.
handa [Thu, 5 Aug 2004 06:44:32 +0000 (06:44 +0000)]
(lookup_gpos): Fix handling of flag.

19 years ago*** empty log message ***
handa [Thu, 5 Aug 2004 05:20:38 +0000 (05:20 +0000)]
*** empty log message ***

19 years ago(lookup_gpos): Add support for LookupType 5.
handa [Thu, 5 Aug 2004 05:20:24 +0000 (05:20 +0000)]
(lookup_gpos): Add support for LookupType 5.

19 years ago(read_ligature_attach): Fix for the case that an
handa [Thu, 5 Aug 2004 05:20:13 +0000 (05:20 +0000)]
(read_ligature_attach): Fix for the case that an
offset is NULL.

19 years ago*** empty log message ***
handa [Wed, 4 Aug 2004 12:54:47 +0000 (12:54 +0000)]
*** empty log message ***

19 years ago(bidi, reversed): New variables.
handa [Wed, 4 Aug 2004 12:54:37 +0000 (12:54 +0000)]
(bidi, reversed): New variables.
(update_seq_area): Call OTF_drive_gdef.  If reversed is nonzero,
reorder glyphs properly.  Create pixmap if necessary.  Handle
OTF_XAdvance and OTF_XAdvDevice.
(BidiProc): New function.
(create_widgets): Setup bidi.

19 years ago*** empty log message ***
handa [Wed, 4 Aug 2004 04:23:18 +0000 (04:23 +0000)]
*** empty log message ***

19 years ago(gstring_subst): New arg flag. Caller changed.
handa [Wed, 4 Aug 2004 04:23:06 +0000 (04:23 +0000)]
(gstring_subst): New arg flag.  Caller changed.
Ignore glyphs specified in flag.
(match_ids, match_classes, match_coverages): Likewise.
(match_chain_ids, match_chain_classes, match_chain_coverages): New
arg flag.
(lookup_gsub): Fix handling of LookupFlag.
(lookup_gpos): Likewise.  Support more LookupType.

19 years ago(OTF_LookupFlagIgnoreMask): New macro.
handa [Wed, 4 Aug 2004 02:04:45 +0000 (02:04 +0000)]
(OTF_LookupFlagIgnoreMask): New macro.

19 years ago*** empty log message ***
handa [Thu, 29 Jul 2004 12:59:09 +0000 (12:59 +0000)]
*** empty log message ***

19 years ago(create_widgets): Fix width of index glyphs..
handa [Thu, 29 Jul 2004 12:59:04 +0000 (12:59 +0000)]
(create_widgets): Fix width of index glyphs..

19 years ago*** empty log message ***
handa [Mon, 26 Jul 2004 07:55:37 +0000 (07:55 +0000)]
*** empty log message ***

19 years ago(lookup_gpos): Don't apply a GPOS feature twice.
handa [Mon, 26 Jul 2004 07:55:29 +0000 (07:55 +0000)]
(lookup_gpos): Don't apply a GPOS feature twice.
(OTF_drive_gpos): Initialize values positioning_type memeber.
(OTF_drive_gsub): Fix previous change.

19 years ago*** empty log message ***
handa [Mon, 26 Jul 2004 00:48:01 +0000 (00:48 +0000)]
*** empty log message ***

19 years ago(read_value_record): Fix typo.
handa [Mon, 26 Jul 2004 00:47:57 +0000 (00:47 +0000)]
(read_value_record): Fix typo.

19 years ago(lookup_gpos): Don't apply a GPOS feature twice.
handa [Mon, 26 Jul 2004 00:47:27 +0000 (00:47 +0000)]
(lookup_gpos): Don't apply a GPOS feature twice.
(OTF_drive_gpos): Initialize values positioning_type memeber.

19 years ago*** empty log message ***
handa [Sat, 24 Jul 2004 02:45:00 +0000 (02:45 +0000)]
*** empty log message ***

19 years ago(gstring_subst): Set `c' and `f.index' of
handa [Sat, 24 Jul 2004 02:44:48 +0000 (02:44 +0000)]
(gstring_subst): Set `c' and `f.index' of
OTF_Glyph.
(OTF_drive_gsub): Iniialize f.index member of OTF_Glhph.

19 years ago(OTF_Glyph): New union member u.index.
handa [Sat, 24 Jul 2004 02:43:23 +0000 (02:43 +0000)]
(OTF_Glyph): New union member u.index.

19 years ago*** empty log message ***
handa [Fri, 23 Jul 2004 04:32:43 +0000 (04:32 +0000)]
*** empty log message ***

19 years agoNew file.
handa [Fri, 23 Jul 2004 04:32:06 +0000 (04:32 +0000)]
New file.

19 years agoBig change to implement selection of script.
handa [Fri, 23 Jul 2004 04:30:16 +0000 (04:30 +0000)]
Big change to implement selection of script.

19 years ago(FeatureProc): Fix previous change.
handa [Mon, 12 Jul 2004 04:37:27 +0000 (04:37 +0000)]
(FeatureProc): Fix previous change.

19 years ago*** empty log message ***
handa [Mon, 12 Jul 2004 01:51:59 +0000 (01:51 +0000)]
*** empty log message ***

19 years agoBig change to implement driving OpenType
handa [Mon, 12 Jul 2004 01:51:49 +0000 (01:51 +0000)]
Big change to implement driving OpenType
tables (GSUB and GPOS).

19 years ago(get_langsys): If script is NULL, use the first
handa [Mon, 12 Jul 2004 01:50:41 +0000 (01:50 +0000)]
(get_langsys): If script is NULL, use the first
one in script_list.