m17n/libotf.git
14 years ago(main): Fix checking number of arguments.
handa [Mon, 13 Sep 2010 07:34:11 +0000 (07:34 +0000)]
(main): Fix checking number of arguments.

14 years ago*** empty log message ***
handa [Tue, 18 May 2010 07:54:39 +0000 (07:54 +0000)]
*** empty log message ***

14 years ago(create_otf_script_widgets): Create a box
handa [Tue, 18 May 2010 07:54:20 +0000 (07:54 +0000)]
(create_otf_script_widgets): Create a box
widget for each script in a limited-width box.

14 years agoVersions changed to 0.9.12.
handa [Wed, 21 Apr 2010 07:32:43 +0000 (07:32 +0000)]
Versions changed to 0.9.12.

14 years ago*** empty log message ***
handa [Wed, 21 Apr 2010 07:32:33 +0000 (07:32 +0000)]
*** empty log message ***

14 years ago(OTF_check_features): Even if no feature is
handa [Wed, 21 Apr 2010 07:31:34 +0000 (07:31 +0000)]
(OTF_check_features): Even if no feature is
specified, check script support.

14 years ago(LIBOTF_VERSION): Changed to 0.9.12
handa [Wed, 21 Apr 2010 07:30:42 +0000 (07:30 +0000)]
(LIBOTF_VERSION): Changed to 0.9.12
(LIBOTF_RELEASE_NUMBER): Changed to 12.

14 years ago*** empty log message ***
handa [Wed, 21 Apr 2010 07:24:56 +0000 (07:24 +0000)]
*** empty log message ***

14 years ago*** empty log message *** REL-0-9-11
handa [Tue, 30 Mar 2010 06:51:16 +0000 (06:51 +0000)]
*** empty log message ***

14 years agoVersions changed to 0.9.11.
handa [Tue, 30 Mar 2010 06:51:13 +0000 (06:51 +0000)]
Versions changed to 0.9.11.

14 years ago(libotf_la_SOURCES): Include internal.h.
handa [Tue, 23 Mar 2010 07:36:12 +0000 (07:36 +0000)]
(libotf_la_SOURCES): Include internal.h.

14 years ago*** empty log message ***
handa [Tue, 23 Mar 2010 07:36:05 +0000 (07:36 +0000)]
*** empty log message ***

14 years ago*** empty log message ***
handa [Fri, 19 Mar 2010 12:43:26 +0000 (12:43 +0000)]
*** empty log message ***

14 years ago(libotf_la_SOURCES): Exclude otferror.h.
handa [Fri, 19 Mar 2010 12:43:17 +0000 (12:43 +0000)]
(libotf_la_SOURCES): Exclude otferror.h.

14 years ago*** empty log message ***
handa [Fri, 19 Mar 2010 12:28:36 +0000 (12:28 +0000)]
*** empty log message ***

14 years agoVersions changed to 0.9.11.
handa [Fri, 19 Mar 2010 12:28:22 +0000 (12:28 +0000)]
Versions changed to 0.9.11.

14 years agoCopyright years udpated.
handa [Fri, 19 Mar 2010 12:27:02 +0000 (12:27 +0000)]
Copyright years udpated.

14 years ago*** empty log message ***
handa [Fri, 22 Jan 2010 12:23:45 +0000 (12:23 +0000)]
*** empty log message ***

14 years ago(lookup_gsub): Change the meaning of the arg
handa [Fri, 22 Jan 2010 12:23:31 +0000 (12:23 +0000)]
(lookup_gsub): Change the meaning of the arg
alternate_subst.

14 years ago*** empty log message ***
handa [Thu, 17 Dec 2009 06:15:06 +0000 (06:15 +0000)]
*** empty log message ***

14 years ago*** empty log message ***
handa [Mon, 30 Nov 2009 01:46:49 +0000 (01:46 +0000)]
*** empty log message ***

14 years ago(OTF_drive_gsub_internal): Fix previous change.
handa [Mon, 30 Nov 2009 01:46:42 +0000 (01:46 +0000)]
(OTF_drive_gsub_internal): Fix previous change.
(OTF_drive_gpos_internal): Likewise.

14 years ago(gstring_subst): Set positioning_type to 1.
handa [Fri, 27 Nov 2009 13:10:57 +0000 (13:10 +0000)]
(gstring_subst): Set positioning_type to 1.
(lookup_gsub): If a feature is applied to a glyph, set its
positioning_type to 1.
(OTF_drive_gsub_internal): Only if a feature is applied to a
glyph, set its feature log.
(OTF_drive_gpos_internal): Likewise.

14 years ago*** empty log message ***
handa [Fri, 27 Nov 2009 13:07:28 +0000 (13:07 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
handa [Tue, 24 Nov 2009 05:57:14 +0000 (05:57 +0000)]
*** empty log message ***

15 years ago(setup_lookup_flags): Fix previous change.
handa [Tue, 24 Nov 2009 05:57:06 +0000 (05:57 +0000)]
(setup_lookup_flags): Fix previous change.

15 years ago(update_seq_area): Call
handa [Tue, 24 Nov 2009 05:56:42 +0000 (05:56 +0000)]
(update_seq_area): Call
OTF_driver_gsub_with_log and OTF_driver_gpos_with_log.  Show which
features are applied.
(get_features): Fix previous change.

15 years ago*** empty log message ***
handa [Tue, 24 Nov 2009 04:38:33 +0000 (04:38 +0000)]
*** empty log message ***

15 years ago(OTF_drive_gsub_with_log, OTF_drive_gpos_with_log):
handa [Tue, 24 Nov 2009 04:38:29 +0000 (04:38 +0000)]
(OTF_drive_gsub_with_log, OTF_drive_gpos_with_log):
Extern them.
(OTF_get_drive_log): Delete extern.

15 years ago(OTF_DriveLog): Delete it.
handa [Tue, 24 Nov 2009 04:37:48 +0000 (04:37 +0000)]
(OTF_DriveLog): Delete it.
(set_drive_log, get_drive_log): Delete externs.

15 years ago(OTF_InternalData): Delete the member drive_log.
handa [Tue, 24 Nov 2009 04:37:14 +0000 (04:37 +0000)]
(OTF_InternalData): Delete the member drive_log.
(set_drive_log, get_drive_log): Delete them.

15 years ago(USHORT): New macro for "unsigned short".
handa [Tue, 24 Nov 2009 04:36:30 +0000 (04:36 +0000)]
(USHORT): New macro for "unsigned short".
(prepare_drive_log): Delete it.
(setup_lookup_flags): Change the type of lookup_flags.
(lookup_gsub): Change the return value.
(gstring_insert_for_gpos): Adjusted for the change of
OTF_Glyph.positioning_type.
(print_glyph_positioning): Likewise.
(lookup_gpos): Likewise. Change the return value.
(OTF_drive_gsub_internal): New arg "with_log".  Adjusted for the
change of OTF_Glyph.positioning_type.
(OTF_drive_gsub): Fix args to OTF_drive_gsub_internal.
(OTF_drive_gsub_with_log): New function.
(OTF_drive_gpos_internal): New arg "with_log".  Adjusted for the
change of OTF_Glyph.positioning_type.
(OTF_drive_gpos): Fix args to OTF_drive_gpos_internal.
(OTF_drive_gpos2): Likewise.
(OTF_drive_gpos_with_log): New function.
(OTF_drive_gsub_alternate): Fix args to OTF_drive_gsub_internal.
(OTF_iterate_gsub_feature): Adjusted for the change of
OTF_Glyph.positioning_type.
(OTF_get_drive_log): Delete it.

15 years ago(update_seq_area): Call
handa [Tue, 24 Nov 2009 04:31:56 +0000 (04:31 +0000)]
(update_seq_area): Call
OTF_driver_gsub_with_log and OTF_driver_gpos_with_log.  Show which
features are applied.

15 years agoRemoved.
handa [Mon, 23 Nov 2009 23:29:47 +0000 (23:29 +0000)]
Removed.

15 years ago(get_features): Adjusted for the change of
handa [Mon, 23 Nov 2009 23:29:15 +0000 (23:29 +0000)]
(get_features): Adjusted for the change of
FeatureRec->features.
(FeatureProc): Don't re-order FeatureRec->features.

15 years agoInclude internal.h instead of otferror.h.
handa [Mon, 23 Nov 2009 23:28:59 +0000 (23:28 +0000)]
Include internal.h instead of otferror.h.
(OTF_InternalData): New member drive_log.
(set_drive_log, get_drive_log): New functions.

15 years ago*** empty log message ***
handa [Mon, 23 Nov 2009 23:28:23 +0000 (23:28 +0000)]
*** empty log message ***

15 years agoNew file.
handa [Mon, 23 Nov 2009 23:27:12 +0000 (23:27 +0000)]
New file.

15 years ago*** empty log message ***
handa [Mon, 23 Nov 2009 23:26:54 +0000 (23:26 +0000)]
*** empty log message ***

15 years agoInclude internal.h instead of otferror.h.
handa [Mon, 23 Nov 2009 23:26:41 +0000 (23:26 +0000)]
Include internal.h instead of otferror.h.
(prepare_drive_log): New function.
(OTF_drive_gpos_internal): Make it static.
(OTF_get_drive_log): New function.

15 years ago(OTF_get_drive_log): Extern it.
handa [Mon, 23 Nov 2009 23:22:47 +0000 (23:22 +0000)]
(OTF_get_drive_log): Extern it.

15 years agoFix previous change.
handa [Wed, 18 Nov 2009 07:54:22 +0000 (07:54 +0000)]
Fix previous change.

15 years agoFix previous change.
handa [Wed, 18 Nov 2009 06:45:48 +0000 (06:45 +0000)]
Fix previous change.

15 years ago*** empty log message ***
handa [Wed, 18 Nov 2009 06:44:23 +0000 (06:44 +0000)]
*** empty log message ***

15 years ago(update_seq_area): Fix previous change.
handa [Wed, 18 Nov 2009 06:44:12 +0000 (06:44 +0000)]
(update_seq_area): Fix previous change.

15 years ago*** empty log message ***
handa [Wed, 18 Nov 2009 06:36:30 +0000 (06:36 +0000)]
*** empty log message ***

15 years ago(match_ids): New arg "direction". Callers changed.
handa [Wed, 18 Nov 2009 06:36:24 +0000 (06:36 +0000)]
(match_ids): New arg "direction".  Callers changed.
(match_ids_backward): Delete it.
(match_chain_ids): Adjusted for the change fo match_ids.
(match_classes): New arg "direction".  Callers changed.
(match_chain_classes): Adjusted for the change fo match_classes.
(match_coverages): New arg "direction".  Callers changed.
(match_chain_coverages): Adjusted for the change fo match_coverages.

15 years ago(read_header_part): Handle TTC (TrueType Collection).
handa [Wed, 18 Nov 2009 02:10:44 +0000 (02:10 +0000)]
(read_header_part): Handle TTC (TrueType Collection).
(OTF_open): Accept "ttc".

15 years ago*** empty log message ***
handa [Fri, 13 Nov 2009 13:12:49 +0000 (13:12 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
handa [Fri, 13 Nov 2009 13:12:13 +0000 (13:12 +0000)]
*** empty log message ***

15 years ago(match_ids_backward): New function.
handa [Fri, 13 Nov 2009 13:12:00 +0000 (13:12 +0000)]
(match_ids_backward): New function.
(match_chain_ids): Call match_ids_backward for backward matching.

15 years ago*** empty log message ***
handa [Fri, 13 Nov 2009 12:45:22 +0000 (12:45 +0000)]
*** empty log message ***

15 years ago(code, code_label, code_list): New variables.
handa [Fri, 13 Nov 2009 12:45:15 +0000 (12:45 +0000)]
(code, code_label, code_list): New variables.
(update_seq_area): Display code list.
(create_widgets): Create widgets code, code_label, code_list.

15 years ago*** empty log message ***
handa [Mon, 9 Nov 2009 02:16:43 +0000 (02:16 +0000)]
*** empty log message ***

15 years ago(get_anchor): Delete it.
handa [Mon, 9 Nov 2009 02:16:26 +0000 (02:16 +0000)]
(get_anchor): Delete it.
(get_class_def_auto): Make it static.

15 years ago*** empty log message ***
handa [Sat, 7 Nov 2009 02:24:00 +0000 (02:24 +0000)]
*** empty log message ***

15 years ago(update_seq_area): Accumulate adjustments by
handa [Sat, 7 Nov 2009 02:23:56 +0000 (02:23 +0000)]
(update_seq_area): Accumulate adjustments by
ValueRecord.

15 years ago*** empty log message ***
handa [Sat, 7 Nov 2009 02:21:08 +0000 (02:21 +0000)]
*** empty log message ***

15 years ago(print_anchor, print_glyph_positioning): New functions.
handa [Sat, 7 Nov 2009 02:20:40 +0000 (02:20 +0000)]
(print_anchor, print_glyph_positioning): New functions.
(lookup_gpos): Improve debug info printing.

15 years ago*** empty log message ***
handa [Wed, 4 Nov 2009 02:28:54 +0000 (02:28 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
handa [Wed, 4 Nov 2009 02:28:47 +0000 (02:28 +0000)]
*** empty log message ***

15 years ago(debug_flag): New variable
handa [Wed, 4 Nov 2009 02:28:06 +0000 (02:28 +0000)]
(debug_flag): New variable
(set_debug_flag): New function.
(OTF_open, OTF_open_ft_face): Check debug flag if not yet done.

15 years ago(debug_flag): Extern it.
handa [Wed, 4 Nov 2009 02:27:22 +0000 (02:27 +0000)]
(debug_flag): Extern it.
(lookup_gsub): Print debugging info if requested.  Don't ignore a
glyph that already has positioning_type.  Be sure to increment
gidx.

15 years ago*** empty log message ***
handa [Thu, 8 Oct 2009 11:16:09 +0000 (11:16 +0000)]
*** empty log message ***

15 years ago(read_cmap_table): Fix bug of handling
handa [Thu, 8 Oct 2009 11:16:04 +0000 (11:16 +0000)]
(read_cmap_table): Fix bug of handling
seg->idDelta.
(OTF_close): Free app_data before free all memories.

15 years agoDocstring updated.
handa [Thu, 8 Oct 2009 11:15:21 +0000 (11:15 +0000)]
Docstring updated.

15 years ago*** empty log message ***
handa [Fri, 2 Oct 2009 03:59:24 +0000 (03:59 +0000)]
*** empty log message ***

15 years ago(OTF_ApplicationData_): New type.
handa [Fri, 2 Oct 2009 03:59:15 +0000 (03:59 +0000)]
(OTF_ApplicationData_): New type.
(OTF_InternalData): New member app_data.
(OTF_close): Free OTF_InternalData->app_data.
(OTF_put_data, OTF_get_data): New functions.

15 years ago(OTF_put_data, OTF_get_data): Extern them.
handa [Fri, 2 Oct 2009 03:59:09 +0000 (03:59 +0000)]
(OTF_put_data, OTF_get_data): Extern them.

15 years agoFix previous change.
handa [Tue, 29 Sep 2009 08:09:05 +0000 (08:09 +0000)]
Fix previous change.

15 years ago*** empty log message ***
handa [Tue, 29 Sep 2009 06:12:47 +0000 (06:12 +0000)]
*** empty log message ***

15 years ago(LIBOTF_VERSION): Changed to "0.9.10". REL-0-9-10
handa [Thu, 13 Aug 2009 11:13:51 +0000 (11:13 +0000)]
(LIBOTF_VERSION): Changed to "0.9.10".
(LIBOTF_RELEASE_NUMBER): Changed to 10.

15 years ago*** empty log message ***
handa [Thu, 13 Aug 2009 11:13:38 +0000 (11:13 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
handa [Thu, 13 Aug 2009 11:08:35 +0000 (11:08 +0000)]
*** empty log message ***

15 years agoVersions changed to 0.9.10.
handa [Thu, 13 Aug 2009 11:06:11 +0000 (11:06 +0000)]
Versions changed to 0.9.10.

15 years ago*** empty log message ***
handa [Thu, 23 Jul 2009 07:57:42 +0000 (07:57 +0000)]
*** empty log message ***

15 years ago(read_cmap_table): Set cmap->table_index.
handa [Thu, 23 Jul 2009 07:57:37 +0000 (07:57 +0000)]
(read_cmap_table): Set cmap->table_index.

15 years ago(OTF_cmap): New member table_index;
handa [Thu, 23 Jul 2009 07:57:08 +0000 (07:57 +0000)]
(OTF_cmap): New member table_index;

15 years ago(lookup_encoding_0, lookup_encoding_2)
handa [Thu, 23 Jul 2009 07:57:02 +0000 (07:57 +0000)]
(lookup_encoding_0, lookup_encoding_2)
(lookup_encoding_4, lookup_encoding_6, lookup_encoding_8)
(lookup_encoding_10, lookup_encoding_12): Arguments and return
value changed.
(lookup_cmap_func): New function type.
(lookup_cmap_func_table): New variable.
(get_GlyphID): New function.
(get_uvs_glyph): Call get_GlyphID instead of directly accessing
cmal->unicode_table.
(OTF_drive_cmap, OTF_drive_cmap2): Call one of lookup functions in
lookup_cmap_func_table.

15 years ago*** empty log message ***
handa [Thu, 23 Jul 2009 07:56:55 +0000 (07:56 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
handa [Fri, 10 Jul 2009 06:36:07 +0000 (06:36 +0000)]
*** empty log message ***

15 years ago(update_seq_area): Drive features of the
handa [Fri, 10 Jul 2009 06:35:57 +0000 (06:35 +0000)]
(update_seq_area): Drive features of the
correct script and langsys.

15 years ago*** empty log message *** REL-0-9-9
handa [Tue, 3 Mar 2009 00:42:35 +0000 (00:42 +0000)]
*** empty log message ***

15 years ago(LIBOTF_VERSION): Changed to "0.9.9".
handa [Tue, 3 Mar 2009 00:42:22 +0000 (00:42 +0000)]
(LIBOTF_VERSION): Changed to "0.9.9".
(LIBOTF_RELEASE_NUMBER): Changed to 9.

15 years ago*** empty log message ***
handa [Mon, 2 Mar 2009 06:19:04 +0000 (06:19 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
handa [Mon, 2 Mar 2009 02:36:43 +0000 (02:36 +0000)]
*** empty log message ***

15 years agoVersions changed to 0.9.9.
handa [Mon, 2 Mar 2009 02:29:31 +0000 (02:29 +0000)]
Versions changed to 0.9.9.

15 years ago*** empty log message ***
handa [Mon, 2 Mar 2009 02:28:59 +0000 (02:28 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
handa [Mon, 2 Mar 2009 01:49:19 +0000 (01:49 +0000)]
*** empty log message ***

15 years ago(read_name): Avoid casting the arg to OTF_MALLOC.
handa [Mon, 2 Mar 2009 01:49:06 +0000 (01:49 +0000)]
(read_name): Avoid casting the arg to OTF_MALLOC.

15 years ago(read_name): Avoid casting the arg to OTF_MALLOC.
handa [Mon, 2 Mar 2009 01:48:56 +0000 (01:48 +0000)]
(read_name): Avoid casting the arg to OTF_MALLOC.

15 years ago(CAST_FROM_XTPOINTER): New macro.
handa [Mon, 2 Mar 2009 01:47:45 +0000 (01:47 +0000)]
(CAST_FROM_XTPOINTER): New macro.
(XtAddCallbackWithCast): New macro.
(GlyphProc): Use CAST_FROM_XTPOINTER.
(CharmapProc, UVSProc, RenderProc): Likewise.
(create_widgets): Delete superfluous ";". Use XtAddCallbackWithCast.

15 years ago*** empty log message ***
handa [Thu, 26 Feb 2009 05:40:07 +0000 (05:40 +0000)]
*** empty log message ***

15 years ago(glyph_class_table): New variable.
handa [Thu, 26 Feb 2009 05:40:02 +0000 (05:40 +0000)]
(glyph_class_table): New variable.
(get_class_def_auto): New function.
(OTF_drive_gdef): If a font doesn't have a GDEF table, use
get_class_def_auto.

15 years ago(free_stream): Check stream->buf before freeing
handa [Thu, 26 Feb 2009 05:39:57 +0000 (05:39 +0000)]
(free_stream): Check stream->buf before freeing
it.
(read_gdef_table): Do nothing if stream->buf is NULL.
(read_header_part): If a font doesn't have a GDEF table, make a
pseudo stream.

15 years ago*** empty log message ***
handa [Wed, 25 Feb 2009 06:41:29 +0000 (06:41 +0000)]
*** empty log message ***

15 years ago(main): If ! otf, don't setup sub14.
handa [Wed, 25 Feb 2009 04:38:52 +0000 (04:38 +0000)]
(main): If ! otf, don't setup sub14.

15 years ago*** empty log message ***
handa [Tue, 30 Dec 2008 23:30:41 +0000 (23:30 +0000)]
*** empty log message ***

15 years ago(check_cmap_uvs): Update the member MGlyph.f.index.to.
handa [Tue, 30 Dec 2008 23:30:35 +0000 (23:30 +0000)]
(check_cmap_uvs): Update the member MGlyph.f.index.to.

15 years ago*** empty log message ***
handa [Mon, 29 Dec 2008 14:58:27 +0000 (14:58 +0000)]
*** empty log message ***