• Show log

    Commit

  • Hash : ec776596
    Author : Werner Lemberg
    Date : 2016-01-19T19:33:57

    [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.
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/freetype.git
    Git SSH git@git.kmx.io:kc3-lang/freetype.git
    Public access ? public
    Description
    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg thodg_l
    Tags