Commit Graph

14535 Commits

Author SHA1 Message Date
Owen Taylor 43dbec6f3a Fix up places where there is missing or incomplete Copyright and License
2005-07-21  Owen Taylor  <otaylor@redhat.com>

        Fix up places where there is missing or incomplete
        Copyright and License information (Reported by William N. Ray)

        * pango/opentype/fterrcompat.h: Mark as FreeType/GPL licensed.

        * pango/opentype/FT-license.txt: Make this the dual-licensing
        description that covers the FreeType code (FreeType's
        LICENSE.TXT) rather than the FTL.

        * pango/opentype/FTL.TXT: Move the FTL (referenced from
        FT-license.txt) to here.

        * modules/basic/basic-common.h modules/hebrew/hebrew-shaper.h
        modules/thai/thai-charprop.c modules/thai/thai-shaper.h
        tools/gen-script-for-lang.c tests/testcolor.c:
        Add LGPL header and copyright information.

        * modules/indic/indic-ot.[ch] modules/indic/indic-ot-class-tables.c
        modules/thai/thai-ot.[ch]: Add LGPL header.

        * modules/thai/thai-shaper.c modules/thai/thai-charprop.h:
        Minor fixes to copyright information.

        * modules/arabic/arabic-ot.c: Add Freetype license boilerplate.
2005-07-21 18:15:45 +00:00
Owen Taylor c55850d36d Chain up from finalize. (#307547, Paolo Borelli)
2005-06-14  Owen Taylor  <otaylor@redhat.com>

        * pango/opentype/pango-ot-info.c (pango_ot_info_finalize)
        pango/opentype/pango-ot-ruleset.c (pango_ot_ruleset_finalize):
        Chain up from finalize. (#307547, Paolo Borelli)

        * pango/opentype/pango-ot-info.c (pango_ot_info_finalizer):
        make accidentally public function static.
2005-06-14 19:54:19 +00:00
Tor Lillqvist 44ff46a364 Rename LDADDS to libpango_ot_la_LIBADD to actually make libpango-ot.la
2005-04-12  Tor Lillqvist  <tml@novell.com>

	* pango/opentype/Makefile.am: Rename LDADDS to
	libpango_ot_la_LIBADD to actually make libpango-ot.la link with
	it.

	* pango/pangowin32.def: Rename get_scale_factor to
	get_metrics_factor here, too. (#300222, Ivan Wong)
2005-04-12 01:27:21 +00:00
Owen Taylor 0c349a032e For all binary searches, handle the case where the number of items is 0.
2005-03-03  Owen Taylor  <otaylor@redhat.com>

        * pango/opentype/ftxopen.c (Coverage_Index1, Coverage_Index2,
        Get_Class2): For all binary searches, handle the case where
        the number of items is 0. (#162977, Nick Lamb)

        * pango/opentype/ftxgdef.c (TT_GDEF_Build_ClassDefinition):
        Handle the case where glyph_count == 0 properly. Fix a problem
        with cleanups on memory allocation failure.
        (Get_New_Count, Add_Glyph_Property): Avoid reading off the
        end of the ClassRangeRecord array.
2005-03-03 19:38:02 +00:00
Owen Taylor 03838daaa9 Set G_LOG_DOMAIN.
Mon Nov 22 18:30:14 2004  Owen Taylor  <otaylor@redhat.com>

        * pango/opentype/Makefile.am pango/Makefile.am
        modules/*/Makefile.am: Set G_LOG_DOMAIN.
2004-11-22 23:37:19 +00:00
Owen Taylor 346d3b3cac Cleanups from 'sparse', #149922, Kjartan Maraas
Wed Sep 22 14:07:47 2004  Owen Taylor  <otaylor@redhat.com>

        Cleanups from 'sparse', #149922, Kjartan Maraas

        * pango/pango-utils.c (read_config): () => (void) in
        definition.

        * pango/pangofc-fontmap.c (pango_fc_font_map_list_families):
        Initialize *n_families, not n_families.

        * pango/pangofc-fontmap.c pango/pangoft2.c opentype/ftxgdef.c
        opentype/ftxgpos.c opentype/ftxgsub.c: : Fix various 0/NULL
        confusion.
2004-09-22 18:14:55 +00:00
Owen Taylor 8b654dfb5a === Released 1.6.0 ===
Mon Sep 13 17:38:58 2004  Owen Taylor  <otaylor@redhat.com>

        * === Released 1.6.0 ===

        * configure.in: Update versions for 1.6.0

        * NEWS: Update.

        * README: Minor tweak.

        * pango/fonts.c pango/pango-context.c pango/pango-types.h
        pango/pango-utils.c pango/pangoft2.c pango/pango-layout.c
        pango/opentype/pango-ot-buffer.c: Add a bunch of missing
        Since: 1.6.
2004-09-14 13:45:41 +00:00
Owen Taylor d41089a5b6 Finish extending properties flags from FT_UShort => FT_UInt. (OTLBuffer
Fri Jul 30 17:17:05 2004  Owen Taylor  <otaylor@redhat.com>

        * pango/opentype/ftxgpos.[ch] pango/opentype/ftxgsub.[ch]
        pango/opentype/ftxopen.[ch]: Finish extending properties
        flags from FT_UShort => FT_UInt. (OTLBuffer was already
        using an FT_UInt)
2004-07-30 21:23:04 +00:00
Owen Taylor f42d5eca29 Save the order in which features were added and use that when applying
Tue Jul 27 12:38:05 2004  Owen Taylor  <otaylor@redhat.com>

        * pango/opentype/ftxopen.[ch] pango/opentype/ftxgsub.c
        pango/opentype/ftxpos.c: Save the order in which
        features were added and use that when applying features.
        (Patch from Soheil Hassas Yeganeh, #122330)
2004-07-27 17:20:01 +00:00
Behdad Esfahbod ae2daa972d Remove the unused parameter from the IN_CURITEM() and IN_CURGLYPH macros.
* pango/opentype/ftxgpos.c: Remove the unused parameter
	from the IN_CURITEM() and IN_CURGLYPH macros.
2004-07-27 13:12:19 +00:00
Behdad Esfahbod 7d5435ea8c Fix bug to copy glyph from in_string, not out_string.
* pango/opentype/otlbuffer.c (otl_buffer_copy_output_glyph):
	Fix bug to copy glyph from in_string, not out_string.
2004-07-27 10:43:58 +00:00
Owen Taylor 2ea2a55bdf Fix allocation and indexing in NewGlyphClasses array. (#130661, Masatake
Mon Jul 26 19:11:46 2004  Owen Taylor  <otaylor@redhat.com>

        * pango/opentype/ftxgdef.c: Fix allocation and indexing
        in NewGlyphClasses array. (#130661, Masatake YAMATO)
2004-07-26 23:14:53 +00:00
Owen Taylor 5d42695e5e Remove the unused parameter from the IN_CURITEM() and IN_CURGLYPH macros.
Mon Jul 26 15:24:11 2004  Owen Taylor  <otaylor@redhat.com>

        * pango/opentype/ftxgsub.c (ADD_Glyph): Remove the
        unused parameter from the IN_CURITEM() and IN_CURGLYPH
        macros.
2004-07-26 19:25:45 +00:00
Owen Taylor a00c4ea562 Add missing macro to make the last change actually compile.
Mon Jul 26 15:21:23 2004  Owen Taylor  <otaylor@redhat.com>

        * pango/opentype/ftxgsub.c: Add missing macro to make the
        last change actually compile.
2004-07-26 19:23:06 +00:00
Owen Taylor ed3e1f278d Match backtrack context against the output glyphs not the input glyphs
Mon Jul 26 15:16:07 2004  Owen Taylor  <otaylor@redhat.com>

        * pango/opentype/ftxgsub.c (Lookup_ChainContextSubst[123]):
        Match backtrack context against the output glyphs not
        the input glyphs (#145174, Aamir Wali)
2004-07-26 19:20:27 +00:00
Owen Taylor 78282cda00 Make Check_Property() take a OTL_GlyphItem, add a gproperties field to
Mon Jul 26 14:49:22 2004  Owen Taylor  <otaylor@redhat.com>

        * ftxgdef.[ch] otlbuffer.[ch]: Make Check_Property() take a
        OTL_GlyphItem, add a gproperties field to OTLGlyphItem,
        and use that to cache the properties for a glyph.

        * ftxgsub.c ftxgdef.c: Adapt to Check_Property() changes.

        * otlbuffer.[ch] ftxgsub.c: Add otl_buffer_copy_output_glyph()
        to use when we are copying an unmodified glyph from input
        to output that preserves the cached properties.
2004-07-26 18:59:02 +00:00
Owen Taylor 81b62af423 Add support for ChainContextSubstFormat3.
Mon Jul 19 17:09:11 2004  Owen Taylor  <otaylor@redhat.com>

        * pango/opentype/disasm.c: Add support for
        ChainContextSubstFormat3.
2004-07-19 21:13:23 +00:00
Owen Taylor d4f773ef92 Fix pervasive buffer overruns when skipping glyphs when matching contexts.
Mon Jul 19 16:29:45 2004  Owen Taylor  <otaylor@redhat.com>

        * pango/opentype/ftxgsub.c pango/opentype/ftxgpos.c:
        Fix pervasive buffer overruns when skipping glyphs
        when matching contexts. (#118592, Kailash C. Chowksey)
2004-07-19 20:37:22 +00:00
Owen Taylor 99848cfafe #143693, Sayamindu Dasgupta
Wed Jun 23 16:13:53 2004  Owen Taylor  <otaylor@redhat.com>

        #143693, Sayamindu Dasgupta

        * pango/opentype/pango-ot-buffer.c (pango_ot_buffer_set_zero_width_marks) pango/opentype/pango-ot-private.h:
        Allow setting for whether marks should be given zero width,
        defaulting to FALSE.

        * modules/arabic/arabic-fc.c (arabic_engine_shape): Turn
        on zero-width-marks setting.
2004-06-23 20:33:35 +00:00
Owen Taylor 68d4cedb87 Use the gcc-3.3 strict-aliasing compatible macros from fterrcompat.h
Mon Jun 21 13:55:17 2004  Owen Taylor  <otaylor@redhat.com>

        * pango/opentype/otlbuffer.c: Use the gcc-3.3
        strict-aliasing compatible macros from fterrcompat.h
        (#140495, reported by Stanislav Brabec)
2004-06-21 18:04:02 +00:00
Theppitak Karoonboonyanan b327765176 Negate y offset according to different conventions between
* pango/opentype/pango-ot-buffer.c (apply_gpos_ltr): Negate y offset
	according to different conventions between PangoGlyphString and OTL
	(#142544)
2004-05-28 16:41:36 +00:00
Owen Taylor 068763b547 Revert error return changes from last commit.
Thu May 27 17:54:24 2004  Owen Taylor  <otaylor@redhat.com>

        * pango/opentype/otlbuffer.c: Revert error return changes
        from last commit.
2004-05-27 21:55:50 +00:00
Owen Taylor ef07481025 Free buffer->positions, clean up error returns that were returning
Thu May 27 16:57:30 2004  Owen Taylor  <otaylor@redhat.com>

        * pango/opentype/otlbuffer.c: Free buffer->positions,
        clean up error returns that were returning uninitialized
        values. (#139239, Behdad Esfahbod)
2004-05-27 21:03:42 +00:00
Owen Taylor de568e7e62 === Released 1.4.0 ===
Tue Mar 16 11:24:46 2004  Owen Taylor  <otaylor@redhat.com>

        * === Released 1.4.0 ===

        * configure.in: Version 1.4.0, interface ago 0. Require
        glib-2.4.0.

        * NEWS: Updates.

        * README: Some updates; include details about the FreeType
        license of the OpenType code.
2004-03-16 19:23:43 +00:00
Hans Breuer 8b3554b3af if PANGO_MODULE_PREFIX is defined include the basic backend shaper (should
2004-03-03  Hans Breuer  <hans@breuer.org>

	* pango/module-defs-win32.c.win32 : if PANGO_MODULE_PREFIX is
	defined include the basic backend shaper (should have been
	commited at 2003-12-12, too)

	* pango/makefile.msc : generate correct type for PangoFontMask
	(bug #135892, John Ehresman)
	* pango/opentype/makefile.msc : updated

	* pango/pango.def pango/pangoft2.def : more updatd externals
2004-03-03 22:35:19 +00:00
Owen Taylor a7e096c5de Rework opentype interfaces and other changes to make GPOS work for Arabic.
Sun Feb 29 09:25:13 2004  Owen Taylor  <otaylor@redhat.com>

        Rework opentype interfaces and other changes to make GPOS
        work for Arabic. (Most of #117282, #121060)

        * pango/opentype/otlbuffer.[ch]: OTL_Buffer that
        acts as a replacement for the separate GSUB and
        GPOS string structures and hides many of the internal
        details.

        * pango/opentype/ftxgsub.[ch] pango/opentype/ftxgpos.[ch]:
        Adapt to OTL_Buffer.

        * pango/opentype/ftxgpos.c: Redo handling of cursive
        chains so that it actually works.

        * pango/pango-ot.h pango/opentype/pango-ot-buffer.c:
        Pango wrapper around OTL_Buffer.

        * pango/pango-ot.h pango/pango-ot-ruleset.c pango/pango-ot-buffer.c:
        Split pango_ot_ruleset_shape() into pango_ot_ruleset_substitute(),
        pango_ot_ruleset_position(), make them act on
        PangoOTBuffer, add a separate pango_ot_buffer_output()
        which does the default positioning and writes to a
        PangoGlyphString.

        * modules/arabic/arabic-fc.c modules/indic/indic-fc.c
        modules/indic/mprefixups.[ch]: Adapt to new OpenType
        interfaces; add GPOS features for Arabic.

        * pango/opentype/pango-ot-info.c: Don't derive class information
        from Unicode properties for Arabic presentation forms,
        let the shaping process derive the properties.
2004-02-29 15:44:50 +00:00
Owen Taylor d670ddf991 Sign convention for y offsets is opposite between PangoGlyphString and FT
Sat Feb 21 09:49:23 2004  Owen Taylor  <otaylor@redhat.com>

        * pango/opentype/pango-ot-ruleset.c (pango_ot_ruleset_shape):
        Sign convention for y offsets is opposite between
        PangoGlyphString and FT code. (#132591)
2004-02-21 14:53:12 +00:00
Owen Taylor b9b3c131c2 Memory leak fixes from Masatake YAMATO, #130652
Fri Feb 13 10:54:18 2004  Owen Taylor  <otaylor@redhat.com>

        Memory leak fixes from Masatake YAMATO, #130652

        * pango/opentype/ftxgdef.c (TT_Done_GDEF_Table):
        Free the gdef table as well as the contained data.

        * pango/opentype/ftxgdef.c (TT_GDEF_Build_ClassDefinition):
        Set gcd->loaded, so that the contents get freed later.
2004-02-13 16:11:40 +00:00
Owen Taylor 926b8f3229 Suport CFF fonts as well. (#131202, Manjunath Sripadarao)
Mon Jan 26 14:20:34 2004  Owen Taylor  <otaylor@redhat.com>

        * pango/opentype/pango-ot-info.c (is_truetype): Suport
        CFF fonts as well. (#131202, Manjunath Sripadarao)
2004-01-26 19:23:35 +00:00
Hans Breuer 945e479a3a moved pango_fc_* to the latter where they live on *nix too.
2003-12-13  Hans Breuer  <hans@breuer.org>

	* pango/pango.def pangoft2.def : moved pango_fc_*
	to the latter where they live on *nix too.

	* pango/makefile.msc : make it build again (including
	the Ft2 backend)

	* pango/module-defs-fc.c.win32 : if PANGO_MODULE_PREFIX is defined
	include the basic backend shaper

	* pango/pangowin32.c (pango_win32_render_layout) :
	initialize iter before first usage to avoid immediate crashing

	* pango/opentype/makefile.msc
            pango/modules/makefile.msc : finally build with mscv, too.
	[completely untested cause I'm not able to type, write or read
	any of these languages]

	* modules/modules.def : follow module function renaming/changes

	* modules/basic/basic-win32.c : register the right engine, i.e.
	make it compile
2003-12-13 14:31:50 +00:00
Owen Taylor ba0ccd5cfc Switch over to recommended Freetype system of include ft2build.h then
Sat Nov  1 09:32:15 2003  Owen Taylor  <otaylor@redhat.com>

        * pango/pango-ot.h pango/pangofc-font.h modules/indic/indic-ot.h
        pango/pangoft2.c pango/opentype/pango-ot-info.c
        pango/opentype/pango-ot-ruleset.c pango/opentype/ottest.c
        pango/opentype/ftxopen.[ch] pango/opentype/ftxgdef.c
        pango/opentype/ftxgsub.c pango/opentype/ftxgpos.c:
        Switch over to recommended Freetype system of
        include ft2build.h then #include FT_FREETYPE_H.
        Fixes ftmodule.h problem with current Freetype CVS.
        (#125548)
2003-11-01 15:02:17 +00:00
Owen Taylor 558171a7a3 Fix gcc-3.3 versions of macros to have the right return value.
Mon Sep 15 17:16:59 2003  Owen Taylor  <otaylor@redhat.com>

        * pango/opentype/fterrcompat.h: Fix gcc-3.3 versions of
        macros to have the right return value.
2003-09-15 22:04:55 +00:00
Owen Taylor c99259bf7e pango/opentype/ftxgsub.c (Lookup_ChainContextSubst3) Fix problems where
Mon Aug 25 10:17:21 2003  Owen Taylor  <otaylor@redhat.com>

        * pango/opentype/ftxgsub.c (Lookup_ChainContextSubst3)
        * pango/opentype/ftxgpos.c (Lookup_ChainContextPos3):
        Fix problems where the coverage wasn't being checked
        for the first input glyph. (#118639, Kailash C. Chowksey)
2003-08-25 14:30:12 +00:00
Owen Taylor bcf81bcc80 Add some macro definitions for gcc-3.3 that suppress the bogus
Fri Aug 22 18:09:52 2003  Owen Taylor  <otaylor@redhat.com>

        * pango/opentype/fterrcompat.h: Add some macro definitions
        for gcc-3.3 that suppress the bogus strict-aliasing
        warnings.

        * pango/pango-utils.c (read_config_file): Use
        g_hash_table_new_full() to simplify code and fix
        gcc-3.3 warnings.

        * pango/pangox-fontmap.c (pango_x_real_get_coverage_win)
        * pango/querymodules.c (query_module): Suppress gcc-3.3
        warnings.

        * pango/modules.c (pango_find_map): Fix warning from
        missing declaration of pango_module_get_type().

        * pango/pango-context.c/pango-engine.c: Fix name confusion
        for pango_get_fallback_shaper().
2003-08-22 22:52:08 +00:00
Owen Taylor 46d379596d Rewrite handling of IGNORE_SPECIAL_MARKS to be properly "ignore marks of
Tue Jul 29 09:58:13 2003  Owen Taylor  <otaylor@redhat.com>

        * pango/opentype/ftxgdef.c (Check_Property): Rewrite
        handling of IGNORE_SPECIAL_MARKS to be properly
        "ignore marks of attachment type different than
        specified. (#118456, Kailash C. Chowksey)
2003-07-29 14:21:54 +00:00
Owen Taylor 8247acad79 Revert back out the FreeType patch preventing ligatures of not-originally
Sat Jul 26 09:41:22 2003  Owen Taylor  <otaylor@redhat.com>

        * pango/opentype/ftxgsub.c (Lookup_LigatureSubst):
        Revert back out the FreeType patch preventing
        ligatures of not-originally adjacent glyphs;
        it doesn't work for all scripts. (#118472,
        Kailash C. Chowksey)
2003-07-28 22:28:37 +00:00
Owen Taylor 825e6d7e86 Check for lookahead glyphs in the right place. (Patch from #116860)
Sat Jul 26 22:30:59 2003  Owen Taylor  <otaylor@redhat.com>

        * pango/opentype/ftxgsub.c (Lookup_ChainContextSubst{1,2,3}):
        Check for lookahead glyphs in the right place. (Patch
        from #116860)

        * pango/opentype/ftxgpos.c (Lookup_ChainContextPos{1,2,3}):
        Same fix here.
2003-07-27 02:40:31 +00:00
Owen Taylor 03a0fe09c7 Fix return value to only contain TTO_Err_Not_Covered if *no* lookups
Sat Jul 26 22:12:46 2003  Owen Taylor  <otaylor@redhat.com>

        * pango/opentype/ftxgsub.c (Do_String_Lookup,
        TT_GSUB_Apply_String): Fix return value to only
        contain TTO_Err_Not_Covered if *no* lookups
        matched. Fix memory leaks on error in Apply_String().
2003-07-27 02:19:52 +00:00
Owen Taylor e10ea2afd9 Fix confusion between boolean and FT_Error return. (GSUB equivalent of fix
Sat Jul 26 21:06:26 2003  Owen Taylor  <otaylor@redhat.com>

        * pango/opentype/ftxgsub.c (Load_EmptyOrClassDefinition):
        Fix confusion between boolean and FT_Error return.
        (GSUB equivalent of fix for #108358)
2003-07-27 01:10:15 +00:00
Owen Taylor a7305ab262 Move allocation afer initial checks, fixing memory leak.
Sat Jul 26 10:52:20 2003  Owen Taylor  <otaylor@redhat.com>

        * pango/opentype/ftxgpos.c (Lookup_ContextPos2):
        * pango/opentype/ftxgsub.c (Lookup_ContextSubst2): Move
        allocation afer initial checks, fixing memory leak.

        * pango/opentype/ftxgsub.c (Lookup_ChainContextSubst2):
        Fix some more error return memory leaks that weren't
        fixed in the Qt changes.
2003-07-26 15:02:13 +00:00
Owen Taylor f40b7c15e0 Fix various memory leaks from error returns that should have been jumps to
Sat Jul 26 10:43:20 2003  Owen Taylor  <otaylor@redhat.com>

        * pango/opentype/ftxgsub.c pango/opentype/ftxgpos.c:
        Fix various memory leaks from error returns that should
        have been jumps to cleanup blocks. (From Qt, Lars Knoll)
2003-07-26 14:50:23 +00:00
Owen Taylor 256d219707 Fix additional places where TTO_Err_Not_Covered wasn't considered a
Sat Jul 26 10:30:24 2003  Owen Taylor  <otaylor@redhat.com>

        * pango/opentype/ftxgpos.c: Fix additional places where
        TTO_Err_Not_Covered wasn't considered a successful return
        from Get_Class. (From Qt, Lars Knoll)
2003-07-26 14:35:29 +00:00
Owen Taylor 374960681e If applying a ligature lookup makes adjacent two glyphs that were not
Sat Jul 26 09:41:22 2003  Owen Taylor  <otaylor@redhat.com>

        * pango/opentype/ftxgsub.c (Lookup_LigatureSubst):
        If applying a ligature lookup makes adjacent two glyphs
        that were not originally adjacent, avoid making
        subsequent ligatures between those glyphs.
        (From FreeType, Werner Lemberg, 2001-08-22, 2001-08-23)
2003-07-26 13:50:23 +00:00
Owen Taylor b682482df7 Fix some FreeType1 variable declarations that snuck in from the last
Sat Jul 26 09:16:57 2003  Owen Taylor  <otaylor@redhat.com>

        * pango/opentype/ftxgpos.c pango/opentype/ftxopen.c:
        Fix some FreeType1 variable declarations that snuck
        in from the last commits (Christophe Fergeau,
        118363)
2003-07-26 13:20:52 +00:00
Owen Taylor 06c12109de OpenType-1.4 update: backtrack information is stored with the item closest
Fri Jul 25 23:38:07 2003  Owen Taylor  <otaylor@redhat.com>

        * pango/opentype/ftxgpos.c pango/opentype/ftxgsub.c:
        OpenType-1.4 update: backtrack information is stored with the
        item closest to the input first (From FreeType,
        Werner Lemberg, 2002-09-26)
2003-07-26 03:45:44 +00:00
Owen Taylor 15a69e4a12 Update of GPOS and GSUB support to OpenType 1.3 (From FreeType, Werner
Fri Jul 25 23:07:06 2003  Owen Taylor  <otaylor@redhat.com>

        Update of GPOS and GSUB support to OpenType 1.3
        (From FreeType, Werner Lemberg, 2001-08-08)

        * pango/opentype/ftxopen.h: Add RIGHT_TO_LEFT LookupFlag

        * pango/opentype/ftxgpos.c (GPOS_Instance): Add 'first'
        member to mark the beginning of a chain of cursive connections.

        * pango/opentype/ftxgpos.c (Do_String_Lookup): If the
        RIGHT_TO_FLAG flag is set, shift cursive chain up so
        last glyph is on the baseline.
2003-07-26 03:14:23 +00:00
Owen Taylor 6f74f18b77 Add GPOS_LOOKUP_EXTENSION, GSUB_LOOKUP_EXTENSION, which allow lookup
Fri Jul 25 22:59:13 2003  Owen Taylor  <otaylor@redhat.com>

        * pango/opentype/ftx{gpos,gsub}.h pango/opentype/ftxgdef.c:
        Add GPOS_LOOKUP_EXTENSION, GSUB_LOOKUP_EXTENSION, which
        allow lookup information to be stored at 32-bit offets
        via a double indirection. (From FreeType, Werner Lemberg,
        2001-08-08)
2003-07-26 03:03:40 +00:00
Owen Taylor 375781c454 Fix a couple of places where TTO_Err_Not_Covered wasn't considered a
Fri Jul 25 22:25:48 2003  Owen Taylor  <otaylor@redhat.com>

        * pango/opentype/ftxgsub.c (Lookup_ContextSubst2,
        Lookup_ChainContextSubst2): Fix a couple of
        places where TTO_Err_Not_Covered wasn't considered
        a successful return from Get_Class -- it means
        use class index 0. (From FreeType, Werner Lemberg,
        2001-08-06)
2003-07-26 02:44:19 +00:00
Owen Taylor 378e1889cd Improvements to OpenType-dumping code, based on changes in Qt by Lars
Fri Jul 25 20:12:00 2003  Owen Taylor  <otaylor@redhat.com>

        Improvements to OpenType-dumping code, based on
        changes in Qt by Lars Knoll.

        * pango/opentype/ottest.c: Tweak the debugging output,
        suppress some warnings.

        * pango/opentype/disasm.c: Add support for
        GSUB Context/Chain GPOS MarkBase lookups, improve
        output in various ways.
2003-07-26 02:10:42 +00:00
Owen Taylor 07bad0e77c Fix uses of g_assert() around statements with side effects. (#115498,
Thu Jul 24 17:04:21 2003  Owen Taylor  <otaylor@redhat.com>

        * pango/opentype/pango-ot-ruleset.c (pango_ot_ruleset_shape):
        Fix uses of g_assert() around statements with side effects.
        (#115498, patch from David Cuthbert)
2003-07-24 21:05:29 +00:00