m17n/libotf.git
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 ***

15 years ago(OTF_get_variation_glyphs): Extern it..
handa [Mon, 29 Dec 2008 14:54:45 +0000 (14:54 +0000)]
(OTF_get_variation_glyphs): Extern it..

15 years ago(OTF_get_variation_glyphs): New function.
handa [Mon, 29 Dec 2008 14:54:19 +0000 (14:54 +0000)]
(OTF_get_variation_glyphs): New function.

15 years ago(uvs_area, uvs_label): New variables.
handa [Mon, 29 Dec 2008 14:54:02 +0000 (14:54 +0000)]
(uvs_area, uvs_label): New variables.
(sub14, uvs): New variable.
(update_uvs_area): New function.
(update_seq_area): Set `glyph_id' member only when no charmap is
used.
(update_render_area): Handle a variation selector.
(UVSProc): New function.
(RenderProc): Call update_uvs_area if the font is OpenType.
(create_widgets): Create uvs_area widget if the font has variation
selector.
(main): Setup sub14. Set font in gc_set.

15 years ago*** empty log message ***
handa [Wed, 24 Dec 2008 13:20:20 +0000 (13:20 +0000)]
*** empty log message ***

15 years ago(get_uvs_glyph): Complete the code.
handa [Wed, 24 Dec 2008 13:20:11 +0000 (13:20 +0000)]
(get_uvs_glyph): Complete the code.

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

15 years ago(update_seq_area): Call OTF_drive_cmap.
handa [Tue, 23 Dec 2008 02:54:42 +0000 (02:54 +0000)]
(update_seq_area): Call OTF_drive_cmap.

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

15 years ago(lookup_encoding_4): Fix typo.
handa [Tue, 23 Dec 2008 01:14:42 +0000 (01:14 +0000)]
(lookup_encoding_4): Fix typo.
(get_uvs_glyph): Argument changed.
(check_cmap_uvs): Adjusted for the above change.