./graphics/freetype2, Font rendering engine and library API

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.9.1nb1, Package name: freetype2-2.9.1nb1, Maintainer: pkgsrc-users

FreeType is a portable, high-quality software solution for digital
typography. FreeType 1.3.1 was the last release of the FreeType 1
engine, as the project is now switching to a new version dubbed FreeType
2. It has, among other things, several advantages over FreeType 1:

* A universal and simple API to manage font files
* Support for several font formats through loadable drivers
* Even more portable
* An improved anti-aliasing algorithm


Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 220c82062171c513e4017c523d196933c9de4a7d
RMD160: c01d82acf7062b07146f61f43a8d17d5805b9471
Filesize: 1881.235 KB

Version history: (Expand)


CVS history: (Expand)


   2018-05-14 11:13:16 by Jonathan Perkin | Files touched by this commit (2) | Package updated
Log message:
freetype2: Re-enable the freetype-config script.

This is still used by dependencies that haven't yet switched over to
using pkg-config, such as graphics/php-gd.  Until all dependent packages
have switched we can't remove this.  Bump PKGREVISION.
   2018-05-04 10:40:11 by Adam Ciarcinski | Files touched by this commit (5) | Package updated
Log message:
freetype2: updated to 2.9.1

CHANGES BETWEEN 2.9 and 2.9.1

I. IMPORTANT BUG FIXES

  - Type  1  fonts  containing   flex  features  were  not  rendered
    correctly (bug introduced in version 2.9).

  - CVE-2018-6942: Older  FreeType versions  can crash  with certain
    malformed variation fonts.

      http://cve.mitre.org/cgi-bin/cvename.cg … -2018-6942

II. MISCELLANEOUS

  - Bug fix: Multiple calls to `FT_Get_MM_Var' returned garbage.

  - The base  extensions `ftlcdfil' and  `ftfntfmt' are now  part of
    the  base  module  (and  thus no  longer  configurable  in  file
    `modules.cfg').

  - Emboldening of bitmaps didn't work correctly sometimes,  showing
    various artifacts (bug introduced in version 2.8.1).

  - Use  of  the `freetype-config'  script  to  get compilation  and
    linking  options   is  deprecated   since  it   doesn't  support
    cross-compiling, among other  deficiencies.  Instead, you should
    use the `pkg-config' interface.

    The `configure'  script no longer installs  `freetype-config' by
    default.  For  backwards compatibility,  a new  configure option
    `--enable-freetype-config'   is  provided   that  reverts   this
    decision.

  - The auto-hinter script ranges have  been updated for Unicode 11.
    No support  for new scripts  have been added, however,  with the
    exception of Georgian Mtavruli.

  - Support for cmake has been improved.

  - The next  release will  remove support for  Position Independent
    Code  as  needed  by  systems that  prohibit  automatic  address
    fixups, such  as BREW.  [Compilation with  modern compilers that
    use flags like `-fPIC' or `-fPIE' is not affected.]
   2018-01-18 10:49:24 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
freetype2: updated to 2.9

FreeType 2.9
FreeType version 2.9, the first release of a new ‘minor’ series, is now \ 
available for download. The main reason for starting a new series is Ewald Hew's \ 
GSoC contribution of making Adobe's CFF engine handle Type 1 fonts also, greatly \ 
improving the rendering quality of this ancient but still important font format.
   2018-01-14 15:58:41 by Roland Illig | Files touched by this commit (36)
Log message:
graphics/*: remove redundant :Q modifiers

pkgsrc doesn't support PREFIX with spaces or other special characters.
Therefore it is not necessary to add the :Q modifier to this variable
and several others.
   2018-01-07 14:04:44 by Roland Illig | Files touched by this commit (583)
Log message:
Fix indentation in buildlink3.mk files.

The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was
reviewed manually.

There are some .include lines that still are indented with zero spaces
although the surrounding .if is indented. This is existing practice.
   2017-09-18 18:54:06 by Adam Ciarcinski | Files touched by this commit (5) | Package updated
Log message:
freetype2: update to 2.8.1

FreeType 2.8.1 has been released. This is mainly a maintenance release with one \ 
important change: By default, FreeType now offers high quality LCD-optimized \ 
output without resorting to ClearType techniques of resolution tripling and \ 
filtering. In this method, called Harmony, each color channel is generated \ 
separately after shifting the glyph outline, capitalizing on the fact that the \ 
color grids on LCD panels are shifted by a third of a pixel. This output is \ 
indistinguishable from ClearType with a light 3-tap filter.
   2017-08-01 16:59:08 by Thomas Klausner | Files touched by this commit (211)
Log message:
Follow some http -> https redirects.
   2017-05-14 13:02:15 by S.P.Zeidler | Files touched by this commit (4) | Package updated
Log message:
Update from 2.7.1 to 2.8: 3 API additions, no deletions, no changes
fixes CVE-2017-7857 CVE-2017-7858 CVE-2017-7864 CVE-2017-8105 CVE-2017-8287

Upstream change announcement:

  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.c … -2017-8105
        https://cve.mitre.org/cgi-bin/cvename.c … -2017-8287

  III. MISCELLANEOUS

    - A  new function  `FT_Set_Default_Properties' has  been added  to
      parse    the    `FREETYPE_PROPERTIES'    environment    variable
      (previously, it  was internal only).   `FT_Init_FreeType' always
      call this  function, but  `FT_New_Library' does not  (similar to
      `FT_Add_Default_Modules').

    - To be in sync with OpenType version 1.7 and newer, macros

        FT_PARAM_TAG_IGNORE_PREFERRED_FAMILY,
        FT_PARAM_TAG_IGNORE_PREFERRED_SUBFAMILY,
        TT_NAME_ID_PREFERRED_FAMILY
        TT_NAME_ID_PREFERRED_SUBFAMILY

      are renamed to

        FT_PARAM_TAG_IGNORE_TYPOGRAPHIC_FAMILY,
        FT_PARAM_TAG_IGNORE_TYPOGRAPHIC_SUBFAMILY,
        TT_NAME_ID_TYPOGRAPHIC_FAMILY
        TT_NAME_ID_TYPOGRAPHIC_SUBFAMILY

      The old macro names are deprecated (but still available).

    - Support for SFNT `name' tables has been improved.

      . Format  1 `name' tables  are now supported.  Use  new function
        `FT_Get_Sfnt_LangTag' to access associated language tags.

      . Language, encoding, and name IDs have been updated to OpenType
        version 1.8.1.

    - The new CFF  engine now handles the `random'  operator.  All CFF
      opcodes are now supported.

    - The CFF module  has a new property `random-seed'  to control the
      pseudo-random number generation for the `random' operator.

    - The `freetype-config' script is now a wrapper of `pkg-config' if
      this program is available in the path.

    - FT_LOAD_TARGET_LCD  is now  a  variant of  FT_LOAD_TARGET_LIGHT;
      this should provide better rendering results.

    - A mode to display  light auto-hinting with sub-pixel positioning
      has been added to `ftdiff'.