Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-13295

Update FreeType to v2.8

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 0.4.6
    • Win32SS
    • None

    Description

      https://sourceforge.net/projects/freetype/files/freetype2/2.8/

      I. IMPORTANT CHANGES
       
          - Support for OpenType Variation Fonts is now complete.   The last
            missing part was handling the `VVAR' and `MVAR' tables, which is
            available with this release.
       
          - A new  function `FT_Face_Properties' allows the  control of some
            module  and   library  properties  per  font.    Currently,  the
            following properties can be  handled: stem darkening, LCD filter
            weights, and the random seed for the `random' CFF operator.
       
          - The PCF change to show more `colourful' family names (introduced
            in version 2.7.1) was too radical; it can now be configured with
            PCF_CONFIG_OPTION_LONG_FAMILY_NAMES   at   compile   time.    If
            activated, it can  be switched off at run time  with the new pcf
            property  `no-long-family-names'.  If  the `FREETYPE_PROPERTIES'
            environment variable is available, you can say
       
              FREETYPE_PROPERTIES=pcf:no-long-family-names=1
       
          - Support  for  the  following  scripts  has  been  added  to  the
            auto-hinter.
       
              Adlam, Avestan, Bamum, Buhid, Carian, Chakma, Coptic, Cypriot,
              Deseret, Glagolitic, Gothic, Kayah, Lisu, N'Ko, Ol Chiki, Old
              Turkic, Osage, Osmanya, Saurashtra, Shavian, Sundanese, Tai
              Viet, Tifinagh, Unified Canadian Syllabics, Vai
       
       
        II. IMPORTANT BUG FIXES
       
          - `Light' auto-hinting  mode no  longer uses TrueType  metrics for
            TrueType  fonts.   This bug  was  introduced  in version  2.4.6,
            causing   horizontal  scaling   also.    Almost  all   GNU/Linux
            distributions (with Fedora as  a notable exception) disabled the
            corresponding patch for good reasons; chances are thus high that
            you won't notice a difference.
       
            If  optical backward  compatibility for  legacy applications  is
            necessary, you might enable the AF_CONFIG_OPTION_TT_SIZE_METRICS
            configuration option.   However, it  is strongly  recommended to
            avoid that, adjusting font sizes instead.
       
          - If a TrueType font gets loaded with FT_LOAD_NO_HINTING, FreeType
            now scales  the font linearly  again (bug introduced  in version
            2.4.6).
       
          - CVE-2017-8105,  CVE-2017-8287:  Older   FreeType  versions  have
            out-of-bounds  writes  caused  by  heap-based  buffer  overflows
            related to Type 1 fonts.
       
              https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-8105
              https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-8287

      Attachments

        1. freetype.c.patch
          0.8 kB
          Katayama Hirofumi MZ
        2. ros-freetype-update-to-2.8.patch
          1.17 MB
          Katayama Hirofumi MZ

        Activity

          People

            AmineKhaldi AmineKhaldi
            Jedi-to-be Jedi-to-be
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: