freetype2/src
Werner Lemberg ec776596ce [autofit] Fix handling of default script.
Patch taken from ttfautohint, commit
071ae2c00e0d67f9d19418f4fade1c23d27dc185.

There were two bugs.

  - We now use non-standard script tags like `khms' for special
    purposes.  However, HarfBuzz maps such tags to `DFLT', and
    without this commit the associated lookups were incorrectly
    assigned to the non-standard tags.

  - Let's assume we have a Bengali font, and the font's `DFLT'
    script tag handles the necessary lookups for Bengali, too.
    Without this commit, the `DFLT' lookups were assigned to
    ttfautohint's default script (usually `latn') before the
    standard lookups for Bengali were handled.

    We now have the following order while searching for covered
    glyph indices.

      special features of scripts (e.g. `sups' for Cyrillic)
      Unicode mappings of scripts
      remaining features of scripts (especially important for Indic
        scripts)
      default features of default script

* src/autofit/afshaper.c, src/autofit/afshaper.h
(af_shaper_get_coverage): Add boolean parameter to indicate default
script.
Update all callers.

* src/autofit/afglobal.c (af_face_globals_compute_style_coverage):
Fix search order for coverages.
2016-01-19 19:33:57 +01:00
..
autofit [autofit] Fix handling of default script. 2016-01-19 19:33:57 +01:00
base Various minor clang fixes. 2016-01-19 19:15:54 +01:00
bdf Update copyright year. 2016-01-13 11:54:10 +01:00
bzip2 Update copyright year. 2016-01-13 11:54:10 +01:00
cache Update copyright year. 2016-01-13 11:54:10 +01:00
cff Update copyright year. 2016-01-13 11:54:10 +01:00
cid Update copyright year. 2016-01-13 11:54:10 +01:00
gxvalid Various minor clang fixes. 2016-01-19 19:15:54 +01:00
gzip Update copyright year. 2016-01-13 11:54:10 +01:00
lzw Update copyright year. 2016-01-13 11:54:10 +01:00
otvalid Update copyright year. 2016-01-13 11:54:10 +01:00
pcf Update copyright year. 2016-01-13 11:54:10 +01:00
pfr Update copyright year. 2016-01-13 11:54:10 +01:00
psaux Update copyright year. 2016-01-13 11:54:10 +01:00
pshinter Update copyright year. 2016-01-13 11:54:10 +01:00
psnames Update copyright year. 2016-01-13 11:54:10 +01:00
raster Update copyright year. 2016-01-13 11:54:10 +01:00
sfnt Update copyright year. 2016-01-13 11:54:10 +01:00
smooth Update copyright year. 2016-01-13 11:54:10 +01:00
tools Update copyright year. 2016-01-13 11:54:10 +01:00
truetype [truetype] Add another tricky font. 2016-01-19 07:12:44 +01:00
type1 Various minor clang fixes. 2016-01-19 19:15:54 +01:00
type42 Update copyright year. 2016-01-13 11:54:10 +01:00
winfonts Update copyright year. 2016-01-13 11:54:10 +01:00
Jamfile Update copyright year. 2016-01-13 11:54:10 +01:00