handa [Fri, 13 Nov 2009 13:12:49 +0000 (13:12 +0000)]
*** empty log message ***
handa [Fri, 13 Nov 2009 13:12:13 +0000 (13:12 +0000)]
*** empty log message ***
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.
handa [Fri, 13 Nov 2009 12:45:22 +0000 (12:45 +0000)]
*** empty log message ***
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.
handa [Mon, 9 Nov 2009 02:16:43 +0000 (02:16 +0000)]
*** empty log message ***
handa [Mon, 9 Nov 2009 02:16:26 +0000 (02:16 +0000)]
(get_anchor): Delete it.
(get_class_def_auto): Make it static.
handa [Sat, 7 Nov 2009 02:24:00 +0000 (02:24 +0000)]
*** empty log message ***
handa [Sat, 7 Nov 2009 02:23:56 +0000 (02:23 +0000)]
(update_seq_area): Accumulate adjustments by
ValueRecord.
handa [Sat, 7 Nov 2009 02:21:08 +0000 (02:21 +0000)]
*** empty log message ***
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.
handa [Wed, 4 Nov 2009 02:28:54 +0000 (02:28 +0000)]
*** empty log message ***
handa [Wed, 4 Nov 2009 02:28:47 +0000 (02:28 +0000)]
*** empty log message ***
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.
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.
handa [Thu, 8 Oct 2009 11:16:09 +0000 (11:16 +0000)]
*** empty log message ***
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.
handa [Thu, 8 Oct 2009 11:15:21 +0000 (11:15 +0000)]
Docstring updated.
handa [Fri, 2 Oct 2009 03:59:24 +0000 (03:59 +0000)]
*** empty log message ***
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.
handa [Fri, 2 Oct 2009 03:59:09 +0000 (03:59 +0000)]
(OTF_put_data, OTF_get_data): Extern them.
handa [Tue, 29 Sep 2009 08:09:05 +0000 (08:09 +0000)]
Fix previous change.
handa [Tue, 29 Sep 2009 06:12:47 +0000 (06:12 +0000)]
*** empty log message ***
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.
handa [Thu, 13 Aug 2009 11:13:38 +0000 (11:13 +0000)]
*** empty log message ***
handa [Thu, 13 Aug 2009 11:08:35 +0000 (11:08 +0000)]
*** empty log message ***
handa [Thu, 13 Aug 2009 11:06:11 +0000 (11:06 +0000)]
Versions changed to 0.9.10.
handa [Thu, 23 Jul 2009 07:57:42 +0000 (07:57 +0000)]
*** empty log message ***
handa [Thu, 23 Jul 2009 07:57:37 +0000 (07:57 +0000)]
(read_cmap_table): Set cmap->table_index.
handa [Thu, 23 Jul 2009 07:57:08 +0000 (07:57 +0000)]
(OTF_cmap): New member table_index;
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.
handa [Thu, 23 Jul 2009 07:56:55 +0000 (07:56 +0000)]
*** empty log message ***
handa [Fri, 10 Jul 2009 06:36:07 +0000 (06:36 +0000)]
*** empty log message ***
handa [Fri, 10 Jul 2009 06:35:57 +0000 (06:35 +0000)]
(update_seq_area): Drive features of the
correct script and langsys.
handa [Tue, 3 Mar 2009 00:42:35 +0000 (00:42 +0000)]
*** empty log message ***
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.
handa [Mon, 2 Mar 2009 06:19:04 +0000 (06:19 +0000)]
*** empty log message ***
handa [Mon, 2 Mar 2009 02:36:43 +0000 (02:36 +0000)]
*** empty log message ***
handa [Mon, 2 Mar 2009 02:29:31 +0000 (02:29 +0000)]
Versions changed to 0.9.9.
handa [Mon, 2 Mar 2009 02:28:59 +0000 (02:28 +0000)]
*** empty log message ***
handa [Mon, 2 Mar 2009 01:49:19 +0000 (01:49 +0000)]
*** empty log message ***
handa [Mon, 2 Mar 2009 01:49:06 +0000 (01:49 +0000)]
(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.
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.
handa [Thu, 26 Feb 2009 05:40:07 +0000 (05:40 +0000)]
*** empty log message ***
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.
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.
handa [Wed, 25 Feb 2009 06:41:29 +0000 (06:41 +0000)]
*** empty log message ***
handa [Wed, 25 Feb 2009 04:38:52 +0000 (04:38 +0000)]
(main): If ! otf, don't setup sub14.
handa [Tue, 30 Dec 2008 23:30:41 +0000 (23:30 +0000)]
*** empty log message ***
handa [Tue, 30 Dec 2008 23:30:35 +0000 (23:30 +0000)]
(check_cmap_uvs): Update the member MGlyph.f.index.to.
handa [Mon, 29 Dec 2008 14:58:27 +0000 (14:58 +0000)]
*** empty log message ***
handa [Mon, 29 Dec 2008 14:54:45 +0000 (14:54 +0000)]
(OTF_get_variation_glyphs): Extern it..
handa [Mon, 29 Dec 2008 14:54:19 +0000 (14:54 +0000)]
(OTF_get_variation_glyphs): New function.
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.
handa [Wed, 24 Dec 2008 13:20:20 +0000 (13:20 +0000)]
*** empty log message ***
handa [Wed, 24 Dec 2008 13:20:11 +0000 (13:20 +0000)]
(get_uvs_glyph): Complete the code.
handa [Tue, 23 Dec 2008 02:54:51 +0000 (02:54 +0000)]
*** empty log message ***
handa [Tue, 23 Dec 2008 02:54:42 +0000 (02:54 +0000)]
(update_seq_area): Call OTF_drive_cmap.
handa [Tue, 23 Dec 2008 01:14:50 +0000 (01:14 +0000)]
*** empty log message ***
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.
handa [Tue, 23 Dec 2008 01:09:29 +0000 (01:09 +0000)]
*** empty log message ***
handa [Tue, 23 Dec 2008 01:07:50 +0000 (01:07 +0000)]
(dump_cmap_table): Fix previous change.
handa [Tue, 23 Dec 2008 01:07:02 +0000 (01:07 +0000)]
(lookup_encoding_4): Fix typo.
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.
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.
handa [Mon, 22 Dec 2008 10:46:26 +0000 (10:46 +0000)]
(get_uvs_glyph): New function.
handa [Mon, 22 Dec 2008 05:53:44 +0000 (05:53 +0000)]
*** empty log message ***
handa [Mon, 22 Dec 2008 05:53:33 +0000 (05:53 +0000)]
(dump_cmap_table): Handle format 14.
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).
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.
handa [Mon, 22 Dec 2008 05:51:29 +0000 (05:51 +0000)]
(OTF_EncodingSubtable14): New type.
(OTF_EncodingSubtable): New union member f.f14.
handa [Wed, 3 Dec 2008 00:42:57 +0000 (00:42 +0000)]
*** empty log message ***
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.
handa [Wed, 3 Dec 2008 00:41:06 +0000 (00:41 +0000)]
(OTF_drive_gpos2): Extern it.
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.
handa [Thu, 27 Nov 2008 02:09:11 +0000 (02:09 +0000)]
*** empty log message ***
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.
handa [Tue, 1 Jul 2008 02:13:41 +0000 (02:13 +0000)]
*** empty log message ***
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.
handa [Mon, 30 Jun 2008 05:12:39 +0000 (05:12 +0000)]
*** empty log message ***
handa [Sun, 29 Jun 2008 13:22:08 +0000 (13:22 +0000)]
*** empty log message ***
handa [Sun, 29 Jun 2008 13:19:52 +0000 (13:19 +0000)]
Versions changed to 0.9.8.
handa [Sun, 29 Jun 2008 13:15:41 +0000 (13:15 +0000)]
*** empty log message ***
handa [Sun, 29 Jun 2008 13:15:31 +0000 (13:15 +0000)]
(dump_device_table): Handle an invalid table.
handa [Sun, 29 Jun 2008 13:15:21 +0000 (13:15 +0000)]
(DEVICE_DELTA): Handle an invalid table.
handa [Sun, 29 Jun 2008 13:13:07 +0000 (13:13 +0000)]
(read_device_table): Accept an invalid table.
handa [Fri, 28 Dec 2007 05:01:57 +0000 (05:01 +0000)]
*** empty log message ***
handa [Fri, 28 Dec 2007 05:01:41 +0000 (05:01 +0000)]
Versions changed to 0.9.7.
handa [Fri, 28 Dec 2007 04:53:52 +0000 (04:53 +0000)]
*** empty log message ***
handa [Thu, 20 Dec 2007 03:51:07 +0000 (03:51 +0000)]
(gstring_subst): If a glyph is changed, set the
character code to 0, and update GlyphClass.
handa [Mon, 29 Oct 2007 12:14:55 +0000 (12:14 +0000)]
*** empty log message ***
handa [Mon, 29 Oct 2007 12:14:49 +0000 (12:14 +0000)]
(dump_chain_class_set_list): Ignore an element
whose offset is zero.
handa [Thu, 6 Sep 2007 04:07:25 +0000 (04:07 +0000)]
*** empty log message ***
handa [Thu, 6 Sep 2007 04:07:20 +0000 (04:07 +0000)]
(lookup_gpos): Ignore mark glyphs while
processing GPOS_MarkBase1.
handa [Fri, 17 Aug 2007 05:43:30 +0000 (05:43 +0000)]
*** empty log message ***
handa [Fri, 17 Aug 2007 05:43:24 +0000 (05:43 +0000)]
(lookup_gpos): Fix handling of IGNORED_GLYPH.
handa [Mon, 6 Aug 2007 11:13:10 +0000 (11:13 +0000)]
*** empty log message ***
handa [Mon, 6 Aug 2007 11:13:06 +0000 (11:13 +0000)]
(gstring_subst): If otf->cmap is NULL, set
character code of a glyph to 0.
(OTF_drive_gsub): If otf->cmap is NULL, try to load it.
handa [Fri, 13 Jul 2007 04:15:02 +0000 (04:15 +0000)]
*** empty log message ***