Fully support TTCs.
commitf9c021585cf5953ba472c26e7f628e77c55409c3
authorWerner Lemberg <wl@gnu.org>
Sun, 30 Sep 2012 08:01:57 +0000 (30 10:01 +0200)
committerWerner Lemberg <wl@gnu.org>
Sun, 30 Sep 2012 08:01:57 +0000 (30 10:01 +0200)
treed279e15fa59bb93106ccc7145f923bf7ab95fe66
parentc4cfb233343444297dd44828d083021ed0321af2
Fully support TTCs.

This patch combines the preparation steps from the last four commits.

ttfautohint now loops over the font multiple times:

  1. Extract the necessary data from all SFNT tables in all subfonts.

  2. Merge the glyph coverage data of subfonts which share the same `glyf'
     table.  In other words, if glyph X is addressed only in the cmap of
     subfont A, and glyph Y is addressed only in the cmap of subfont B,
     ttfautohint merges the script coverage information so that it can
     access both X and Y while creating hints.

  3. Create tables for each subfont.  If two subfonts share a `glyf' table,
     they automatically share a `prep', `fpgm', and `cvt' table also.
lib/tacvt.c
lib/ttfautohint.c