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

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

15 years ago(dump_cmap_table): Fix previous change.
handa [Tue, 23 Dec 2008 01:07:50 +0000 (01:07 +0000)]
(dump_cmap_table): Fix previous change.

15 years ago(lookup_encoding_4): Fix typo.
handa [Tue, 23 Dec 2008 01:07:02 +0000 (01:07 +0000)]
(lookup_encoding_4): Fix typo.

15 years ago(READ_UINT24): New macro.
handa [Tue, 23 Dec 2008 01:06:47 +0000 (01:06 +0000)]
(READ_UINT24): New macro.
(read_cmap_uvs_table): Argument changed.  Complete the code.
(read_cmap_table): Adjusted for the above change.  Fix typo.

15 years ago(OTF_cmapSegment): Fix typo.
handa [Tue, 23 Dec 2008 01:05:53 +0000 (01:05 +0000)]
(OTF_cmapSegment): Fix typo.
(OTF_EncodingSubtable4): Fix typo.
(OTF_UVSMapping): New type.
(OTF_UnicodeValueRange): New type.
(OTF_VariationSelectorRecord): New type.
(OTF_EncodingSubtable14): Fix previous change.

15 years ago(get_uvs_glyph): New function.
handa [Mon, 22 Dec 2008 10:46:26 +0000 (10:46 +0000)]
(get_uvs_glyph): New function.

15 years ago*** empty log message ***
handa [Mon, 22 Dec 2008 05:53:44 +0000 (05:53 +0000)]
*** empty log message ***

15 years ago(dump_cmap_table): Handle format 14.
handa [Mon, 22 Dec 2008 05:53:33 +0000 (05:53 +0000)]
(dump_cmap_table): Handle format 14.

15 years ago(check_cmap_uvs): New function. Not yet completed.
handa [Mon, 22 Dec 2008 05:53:15 +0000 (05:53 +0000)]
(check_cmap_uvs): New function.  Not yet completed.
(UVS_P): New macro.
(OTF_drive_cmap): Check UVS (Unicode Variation Sequences).

15 years ago(read_cmap_uvs_table): New function.
handa [Mon, 22 Dec 2008 05:52:33 +0000 (05:52 +0000)]
(read_cmap_uvs_table): New function.
(read_cmap_table): Handle format 14 (Unicode Variation Sequences).
Not yet completed.

15 years ago(OTF_EncodingSubtable14): New type.
handa [Mon, 22 Dec 2008 05:51:29 +0000 (05:51 +0000)]
(OTF_EncodingSubtable14): New type.
(OTF_EncodingSubtable): New union member f.f14.

15 years ago*** empty log message ***
handa [Wed, 3 Dec 2008 00:42:57 +0000 (00:42 +0000)]
*** empty log message ***

15 years ago(update_seq_area): Call OTF_drive_gpos2
handa [Wed, 3 Dec 2008 00:42:50 +0000 (00:42 +0000)]
(update_seq_area): Call OTF_drive_gpos2
instead of OTF_drive_gpos.  Handle the accumulated positioning.

15 years ago(OTF_drive_gpos2): Extern it.
handa [Wed, 3 Dec 2008 00:41:06 +0000 (00:41 +0000)]
(OTF_drive_gpos2): Extern it.

15 years ago(setup_lookup_flags): The last argument changed
handa [Wed, 3 Dec 2008 00:40:58 +0000 (00:40 +0000)]
(setup_lookup_flags): The last argument changed
to lookup_flags.  Just set the elements to 1 or 0.
(gstring_insert_for_gpos): New function.
(lookup_gpos): New arg accumulate.  Insert pseudo glyphs to
accumulate positioning if necessary.
(OTF_drive_gsub_internal): Adjusted for the change of
setup_lookup_flags.
(OTF_drive_gpos_internal): Renamed from OTF_drive_gpos.  Adjusted
for the change of setup_lookup_flags and lookup_gpos.
(OTF_drive_gpos): Just call OTF_drive_gpos_internal with
accumulate == 0.
(OTF_drive_gpos2): New function.

16 years ago*** empty log message ***
handa [Thu, 27 Nov 2008 02:09:11 +0000 (02:09 +0000)]
*** empty log message ***

16 years ago(setup_lookup_indices): New arg LangSys.
handa [Thu, 27 Nov 2008 02:08:18 +0000 (02:08 +0000)]
(setup_lookup_indices): New arg LangSys.
(OTF_drive_gsub_internal, OTF_drive_gpos): Adjusted for the above
change.

16 years ago*** empty log message ***
handa [Tue, 1 Jul 2008 02:13:41 +0000 (02:13 +0000)]
*** empty log message ***

16 years ago(make_stream, setup_stream)
handa [Tue, 1 Jul 2008 02:13:38 +0000 (02:13 +0000)]
(make_stream, setup_stream)
(make_stream_from_ft_face, free_stream, read_offset_table): Make
them static.

16 years ago*** empty log message *** REL-0-9-8
handa [Mon, 30 Jun 2008 05:12:39 +0000 (05:12 +0000)]
*** empty log message ***