File freetype2.changes of Package freetype2.15642

Wed Oct  9 17:06:32 UTC 2019 - Cristian Rodríguez <>

- Use the compiler default C std, since 2012 gcc defaults
  have changed, we now only need to get rid of ANSIFLAGS, override
  that variable instead.

Tue Jul  2 07:19:53 UTC 2019 - Ismail Dönmez <>

- Update to version 2.10.1
  * The bytecode hinting of OpenType variation fonts was flawed, since
    the data in the `CVAR' table wasn't correctly applied.
  * Auto-hinter support for Mongolian.
  * The handling of  the default character in PCF fonts as  introduced
    in version 2.10.0 was partially broken, causing premature abortion
    of charmap iteration for many fonts.
  * If  `FT_Set_Named_Instance' was  called  with  the same  arguments
    twice in a row, the function  returned an incorrect error code the
    second time.
  * Direct   rendering   using  FT_RASTER_FLAG_DIRECT   crashed   (bug
    introduced in version 2.10.0).
  * Increased  precision  while  computing  OpenType  font   variation
  * The  flattening  algorithm of  cubic  Bezier  curves was  slightly
    changed to make  it faster.  This can cause  very subtle rendering
    changes, which aren't noticeable by the eye, however.
  * The  auto-hinter  now  disables hinting  if there  are blue  zones
    defined for a `style' (i.e., a certain combination of a script and
    its related typographic features) but the font doesn't contain any
    characters needed to set up at least one blue zone.
- Add tarball signatures and freetype2.keyring

Mon Jun 24 07:09:55 UTC 2019 - Ismail Dönmez <>

- Update to version 2.10.0
  * A bunch of new functions has been added to access and process
    COLR/CPAL data of OpenType fonts with color-layered glyphs.
  * As a GSoC 2018 project, Nikhil Ramakrishnan completely
    overhauled and modernized the API reference.
  * The logic for computing the global ascender, descender, and
    height of OpenType fonts has been slightly adjusted for
  * `TT_Set_MM_Blend' could fail if called repeatedly with the same
  * The precision of handling deltas in Variation Fonts has been
    increased.The problem did only show up with multidimensional
  * New function `FT_Library_SetLcdGeometry' to set up the geometry
    of LCD subpixels.
  * FreeType now uses the `defaultChar' property of PCF fonts to set
    the  glyph for  the undefined  character  at glyph  index 0  (as
    FreeType already does for all other supported font formats).  As
    a consequence, the order of glyphs of a PCF font if accessed
    with  FreeType can be different now compared to previous
    This change doesn't affect PCF font access with cmaps.
  * `FT_Select_Charmap' has been changed to allow  parameter value
    `FT_ENCODING_NONE', which is valid for BDF, PCF, and Windows FNT
    formats to access built-in cmaps that don't have a predefined
    `FT_Encoding' value.
  * A previously reserved field in the `FT_GlyphSlotRec' structure
    now holds the glyph index.
  * The usual round of fuzzer bug fixes to better reject malformed
  * `FT_Outline_New_Internal' and `FT_Outline_Done_Internal' have
    been removed.These two functions were public by oversight only
    and were never documented.
  * A new function `FT_Error_String' returns descriptions of error
    codes if configuration macro FT_CONFIG_OPTION_ERROR_STRINGS is
  * `FT_Set_MM_WeightVector' and `FT_Get_MM_WeightVector' are new
    functions limited to Adobe MultiMaster fonts to directly set and
    get the weight vector.

Sat Oct 27 11:54:18 UTC 2018 - Ismail Dönmez <>

- Remove old ppc64 parts in spec file
- Refresh patches:
  + bugzilla-308961-cmex-workaround.patch
  + don-t-mark-libpng-as-required-library.patch
  + enable-long-family-names-by-default.patch
- Enable subpixel rendering with infinality config:
  + enable-subpixel-rendering.patch
  + enable-infinality-subpixel-hinting.patch

Mon May 14 10:06:56 UTC 2018 -

- Re-enable freetype-config, there is just too many fallouts. 

Wed May  2 10:54:32 UTC 2018 -

- Update to version 2.9.1
  * 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.
  * Bug fix: Multiple calls to `FT_Get_MM_Var' returned garbage.
  * Emboldening of bitmaps didn't work correctly sometimes, showing
    various artifacts (bug introduced in version 2.8.1).
  * 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.
- freetype-config is now deprecated by upstream and not enabled
  by default.
- Drop upstreamed patches:
  * bnc1079600.patch
  * psaux-flex.patch
  * 0001-src-truetype-ttinterp.c-Ins_GETVARIATION-Avoid-NULL-.patch
  * 0001-truetype-Better-protection-against-invalid-VF-data.patch

Thu Mar  8 16:47:21 UTC 2018 -

- Add bnc1079600.patch: Fix several integer overflow issues in
  truetype/ttinterp.c (bsc#1079600) 

Tue Mar  6 10:47:29 UTC 2018 -

- Refresh spec-file via spec-cleaner.
- Add shell script in separate package
  freetype2-profile-tti35 in order to be able to set TrueType
  interpreter version 35 (boo#1084085).

Fri Feb  9 11:11:36 UTC 2018 -

- Added patch:
  * enable-long-family-names-by-default.patch
    + Define PCF_CONFIG_OPTION_LONG_FAMILY_NAMES to obtain 2.7.1

Wed Feb  7 09:17:10 UTC 2018 -

- Added patches:
  * 0001-src-truetype-ttinterp.c-Ins_GETVARIATION-Avoid-NULL-.patch
    + Upstream fix for bsc#1079603: Avoid NULL reference in
  * 0001-truetype-Better-protection-against-invalid-VF-data.patch
    + Upstream fix for bsc#1079601: Protection against invalid VF

Wed Jan 10 10:32:25 UTC 2018 -

- Add psaux-flex.patch to fix a regression in Type1 rendering 

Tue Jan  9 11:34:51 UTC 2018 -

- Update to version 2.9
  * Advance width values of variation fonts were often wrong.
  * More fixes for variation font support; you should update to
    this version if you want to support them.
  * As a GSoC project, Ewald Hew extended the new (Adobe) CFF
    engine to handle Type 1 fonts also, thus greatly improving
    the rendering of this format. This is the new default.
  * A new function, `FT_Set_Named_Instance', can be used to set
    or change the current named instance.
  * Starting with this FreeType version, resetting variation
    coordinates will return to the currently selected named
    instance. Previously, FreeType returned to the base font 
    (i.e., no instance set).
  * Some fuzzer fixes to better reject malformed fonts.

Mon Sep 18 09:15:41 UTC 2017 -

- Update to version 2.8.1
  * B/W  hinting   of  TrueType   fonts  didn't  work   properly  if
    interpreter version 38 or 40 was selected.
  * Some severe  problems within the handling  of TrueType Variation
    Fonts were found and fixed.
  * Function `FT_Set_Var_Design_Coordinates' didn't correctly handle
    the case with less input coordinates than axes.
  * 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.
  * Using the  new function `FT_Get_Var_Axis_Flags',  an application
    can access the `flags' field  of a variation axis (introduced in
    OpenType version 1.8.2)
  * FreeType  now synthesizes  a  missing Unicode  cmap for  (older)
    TrueType fonts also if glyph names are available.
  * The warping option  has moved  from `light'  to `normal' hinting
    where  it replaces  the original hinting algorithm.  The `light'
    mode is now always void of any hinting in x-direction.

Mon May 15 10:36:18 UTC 2017 -

- Update to version 2.8
  * 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

  * Support  for  the  following  scripts  has  been  added  to  the

    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
  *  `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 a TrueType font gets loaded with FT_LOAD_NO_HINTING, FreeType
    now scales  the font linearly  again (bug introduced  in version
  * Fixed 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. (boo#1035807, boo#1036457)

- See for
  the complete changelog.

Sun Jan  1 11:58:27 UTC 2017 -

- Update to version 2.7.1:
    + Support for the new CFF2 font format as introduced with
      OpenType 1.8 has been contributed by Dave Arnolds from Adobe.
    + Preliminary support for variation fonts as specified in
      OpenType 1.8 (in addition to the already existing support for
      Adobe's MM and Apple's GX formats). Dave Arnolds contributed
      handling of advance width change variation; more will come in
      the next version.
    + Handling of raw CID fonts was partially broken (bug introduced
      in 2.6.4).
    + Some limits for TrueType bytecode execution have been tightened
      to speed up FreeType's handling of malformed fonts, in
      particular to quickly abort endless loops.
    + The number of twilight points can no longer be set to an
      arbitrarily large value.
    + The total number of jump opcode instructions (like JMPR) with
      negative arguments is dynamically restricted; the same holds
      for the total number of iterations in LOOPCALL opcodes.
    + The dynamic limits are based on the number of points in a glyph
      and the number of CVT entries. Please report if you encounter a
      font where the selected values are not adequate.
    + PCF family names are made more `colourful'; they now include the
      foundry and information whether they contain wide characters.
      For example, you no longer get `Fixed' but rather `Sony Fixed'
      or `Misc Fixed Wide'.
    + A new function `FT_Get_Var_Blend_Coordinates' (with its alias
      name `FT_Get_MM_Blend_Coordinates') to retrieve the normalized
      blend coordinates of the currently selected variation instance
      has been added to the Multiple Masters interface.
    + A new function `FT_Get_Var_Design_Coordinates' to retrieve the
      design coordinates of the currently selected variation instance
      has been added to the Multiple Masters interface.
    + A new load flag `FT_LOAD_BITMAP_METRICS_ONLY' to retrieve bitmap
      information without loading the (embedded) bitmap itself.
    + Retrieving advance widths from bitmap strikes (using
      `FT_Get_Advance' and `FT_Get_Advances') have been sped up.
    + The usual round of fuzzer fixes to better reject malformed
- Drop freetype2-bitmap-foundry.patch, merged upstream.

Fri Sep  9 16:10:39 UTC 2016 -

- update to version 2.7:
    + As announced earlier, the 2.7.x series now uses the new subpixel
      hinting  mode as  the  default, emulating  a  modern version  of
      This change inevitably leads to different rendering results, and
      you   might   change   the   `TT_CONFIG_OPTION_SUBPIXEL_HINTING'
      configuration option to  adapt it to your taste (or  use the new
      `FREETYPE_PROPERTIES'    environment    variable).    See    the
      corresponding entry  below for  version 2.6.4, which  gives more
      introduced.   If  set (which  is  the  default), an  environment
      variable  `FREETYPE_PROPERTIES' can  be used  to control  driver
      properties.  Example:
        FREETYPE_PROPERTIES=truetype:interpreter-version=35 \
                            cff:no-stem-darkening=1 \
      This allows to select, say, the subpixel hinting mode at runtime
      for a given application.  See file `ftoption.h' for more.
    + After  loading a  named instance  of  a GX  variation font,  the
      `face_index'  value  in  the returned  `FT_Face'  structure  now
      correctly holds the named instance  index in the upper 16bits as
    + A new macro `FT_IS_NAMED_INSTANCE' to  test whether a given face
      is a named instance.
    + More fixes to GX font handling.
    + Apple's   `GETVARIATION'  bytecode   operator  (needed   for  GX
      variation font support) has been implemented.
    + Another round  of fuzzer fixes,  mainly to reject  invalid fonts
    + Handling of raw CID fonts  was broken (bug introduced in version
    + The smooth rasterizer has been streamlined  to make it faster by
      approx. 20%.
    + The `ftgrid'  demo program now  understands command  line option
      `-d' to give start-up design coordinates.
    + The `ftdump' demo program has  a new command line option `-p' to
      dump TrueType bytecode instructions.
- removed freetype2-subpixel.patch in favor of above 
  FREETYPE_PROPERTIES environment variable
Wed Jul 13 06:48:31 UTC 2016 -

- Update to version 2.6.5:
  + Compilation works again  on Mac OS X (bug introduced in version
  + The new  subpixel hinting  mode is now  disabled by  default; it
    will  be enabled  by default  in the  forthcoming 2.7.x  series.
    Main reason for reverting this feature is the principle of least
    surprise: a  sudden change in  appearance of all fonts  (even if
    the rendering improves  for almost all recent  fonts) should not
    be expected in a new micro version of a series.
- Rebase freetype2-subpixel.patch.

Fri Jul  8 08:35:09 UTC 2016 -

- Upadte to version 2.6.4:
  * A new subpixel hinting mode, which is now the default rendering
    mode for TrueType fonts. It implements (almost everything of)
    version 40 of the bytecode engine. The existing code base in
    FreeType (the `Infinality code') was stripped to the bare
    minimum and all configurability removed in the name of speed
    and simplicity. The configurability was mainly aimed at legacy
    fonts like Arial, Times New Roman, or Courier. [Legacy fonts
    are fonts that modify vertical stems to achieve clean
    black-and-white bitmaps.] The new mode focuses on applying a
    minimal set of rules to all fonts indiscriminately so that
    modern and web fonts render well while legacy fonts render
    okay. Activation of the subpixel hinting support can be
    controlled with the `TT_CONFIG_OPTION_SUBPIXEL_HINTING'
    configuration option at compile time: If set to value 1, you
    get the old Infinality mode (which was never the default due to
    its slowness). Value 2 activates the new subpixel hinting mode,
    and value 3 activates both. The default is value 2. At run
    time, you can select the subpixel hinting mode with the
    `interpreter-version' property (provided you have compiled in
    the corresponding hinting mode); see `ftttdrv.h' for more.
  * Support for the following scripts has been added to the
    auto-hinter: Armenian, Cherokee, Ethiopic, Georgian, Gujarati,
    Gurmukhi, Malayalam, Sinhala, Tamil.
- Rebase freetype2-subpixel.patch.

Mon Mar 28 11:54:15 UTC 2016 -

- Update to version 2.6.3
    - Khmer,  Myanmar, Bengali,  and Kannada  script support  has been
      added to the auto-hinter.
    - Better  support of  Indic  scripts like  Devanagari  by using  a
      top-to-bottom hinting flow.

    - All  FreeType macros  starting  with two  underscores have  been
      renamed to  avoid a violation of  both the C and  C++ standards.
      Example: Header  macros of the  form `__FOO_H__' are  now called
      `FOO_H_'.  In most cases,  this should be completely transparent
      to the user.   The exception to this  is `__FTERRORS_H__', which
      must be  sometimes undefined by  the user to get  FreeType error
      strings:  Both this  form and  the new  `FTERRORS_H_' macro  are
      accepted for backwards compatibility.

    - Minor improvements mainly to the Type 1 driver.

    - The  new CFF  engine now  supports all  Type 2  operators except

    - The macro `_STANDALONE_', used for  compiling the B/W and smooth
      rasterizers  as   stand-alone  modules,  has  been   renamed  to
      `STANDALONE_', since macro names starting with an underscore and
      followed by an uppercase letter are reserved in both C and C++.

    - Function  `FT_Library_SetLcdFilterWeights'  now  also  activates
      custom LCD filter weights (instead of just adjusting them).

    - Support for  `unpatented hinting'  has been  completely removed:
      Consequently,  the two  functions `FT_Face_CheckTrueTypePatents'
      and  `FT_Face_SetUnpatentedHinting'  now  return  always  false,
      doing nothing.

Sun Nov 29 13:34:58 UTC 2015 -

- Update to version 2.6.2
    - The auto-hinter now supports stem darkening, to be controlled by
      the    new   `no-stem-darkening'    and   `darkening-parameters'
      properties.   This is  an  experimental  feature contributed  by
      Nikolaus Waxweiler, and  the interface might change  in a future

    - By default, stem darkening is now switched off (for both the CFF
      engine and the  auto-hinter).  The main reason is  that you need
      linear  alpha  blending  and  gamma correction  to  get  correct
      rendering results, and  the latter is not yet  available in most
      freely  available  rendering  stacks like  X11.   Applying  stem
      darkening without proper gamma correction  leads to far too dark
      rendering results.

    - The   meaning  of   `FT_RENDER_MODE_LIGHT'  has   been  slightly
      modified.   It  now  essentially  means `no  hinting  along  the
      horizontal  axis'; in  particular,  no change  of glyph  advance
      widths.  Consequently, the auto-hinter  is used for all scalable
      font  formats  except  for  CFF.    It  is  planned  that  other
      font-specific rendering engines (TrueType, Type 1) will follow.


    - The default  LCD filter  has been changed  to be  normalized and

    - For    better    compatibility   with    FontConfig,    function
      `FT_Library_SetLcdFilter'  accepts   a  new   enumeration  value
      `FT_LCD_FILTER_LEGACY1'   (which  has   the   same  meaning   as

    - A large number of bugs have been detected by using the libFuzzer
      framework,  which should  further  improve  handling of  invalid
      fonts.  Thanks again to Kostya Serebryany and Bungeman!

    - `TT_CONFIG_OPTION_MAX_RUNNABLE_OPCODES',  a   new  configuration
      option, controls the maximum number of executed opcodes within a
      bytecode program.  You don't want to change this except for very
      special  situations (e.g.,  making a  library fuzzer  spend less
      time to handle broken fonts).

    - The smooth renderer has been made faster.

Sun Oct  4 22:19:32 UTC 2015 -

- Update to version 2.6.1
    - It turned  out that for CFFs  only the advance widths  should be
      taken from the  `htmx' table, not the side  bearings.  This bug,
      introduced in  version 2.6.0, makes  it necessary to  upgrade if
      you are using  CFFs; otherwise, you get cropped  glyphs with GUI
      interfaces like GTK or Qt.
    - Accessing Type 42 fonts returned  incorrect results if the glyph
      order of the embedded TrueType font differs from the glyph order
      of the Type 42 charstrings table.
    - The header  file layout  has been  changed (again),  moving  all
      header files except `ft2build.h' into a subdirectory tree.
      Doing so  reduces the  possibility of  header file  name clashes
      (e.g., FTGL's  `FTGlyph.h' with FreeType's `ftglyph.h')  on case
      insensitive file systems like Mac OS X or Windows.
      Applications  that  use  (a)  the  `freetype-config'  script  or
      FreeType's `freetype2.pc' file for pkg-config to get the include
      directory  for the  compiler,  and (b)  the  documented way  for
      header inclusion like
        #include <ft2build.h>
        #include FT_FREETYPE_H
      don't need any change to the source code.
    - Simple access  to named instances  in GX variation fonts  is now
      available (in addition to the  previous method via FreeType's MM
      interface).   In  the `FT_Face'  structure,  bits  16-30 of  the
      `face_index' field hold the current named instance index for the
      given face  index, and bits  16-30 of `style_flags'  contain the
      number of  instances for  the given face  index.  `FT_Open_Face'
      and friends also understand the  extended bits of the face index
      You need to enable  TT_CONFIG_OPTION_GX_VAR_SUPPORT for this new
      feature.  Otherwise, bits  16-30 of the two fields  are zero (or
      are ignored).
    - Lao script support has been added to the auto-hinter.
    - The auto-hinter's Arabic script support has been enhanced.
    - Superscript-like and  subscript-like glyphs  as used  by various
      phonetic alphabets like the IPA  are now better supported by the
    - The TrueType bytecode interpreter now runs slightly faster.
    - Improved support for builds with cmake.
    - The  function  `FT_CeilFix'  now   always  rounds  towards  plus
    - The  function  `FT_FloorFix'  now always  rounds  towards  minus
    - A  new load  flag `FT_LOAD_COMPUTE_METRICS'  has been  added; it
      makes FreeType  ignore pre-computed  metrics, as needed  by font
      validating  or  font  editing  programs.  Right  now,  only  the
      TrueType  module supports  it  to ignore  data  from the  `hdmx'
    - Another round of bug fixes  to better handle broken fonts, found
      by Kostya Serebryany <>.
- Dropping upstreamed patch Dont-use-hmtx-table-for-LSB.patch.

Fri Sep 11 04:11:52 UTC 2015 -

- Add Dont-use-hmtx-table-for-LSB.patch: Fixes gnu#45520, cut off
  fonts in gtk and qt. Taken from upstream git.

Thu Jun 11 08:54:13 UTC 2015 -

- Update to version 2.6
  * Thread safety improvements
  * Thai script support has been added to the auto-hinter.
  * Arabic script support has been added to the auto-hinter.
  * Following OpenType version 1.7,  advance widths and side bearing
    values in  CFFs (wrapped  in an SFNT  structure) are  now always
    taken from the `hmtx' table.
  * Following OpenType  version 1.7, the  PostScript font name  of a
    CFF font (wrapped in an SFNT structure) is now always taken from
    the `name'  table.  This is  also true for  OpenType Collections
    (i.e., TTCs using  CFFs subfonts instead of TTFs),  where it may
    have a significant difference.
  * Fonts natively hinted for  ClearType are now supported, properly
    handling selector index 3 of the INSTCTRL bytecode instruction.
  * Major improvements to the GX TrueType variation font handling.

Tue Jun  9 08:18:50 UTC 2015 -

- Merge with the version 2.5.5 from openSUSE:Factory
- Removed patches:
  * CVE-2014-9656.patch
  * CVE-2014-9657.patch
  * CVE-2014-9658.patch
  * CVE-2014-9659.patch
  * CVE-2014-9660.patch
  * CVE-2014-9661.patch
  * CVE-2014-9662.patch
  * CVE-2014-9663.patch
  * CVE-2014-9664.patch
  * CVE-2014-9665.patch
  * CVE-2014-9666.patch
  * CVE-2014-9667.patch
  * CVE-2014-9668.patch
  * CVE-2014-9669.patch
  * CVE-2014-9670.patch
  * CVE-2014-9671.patch
  * CVE-2014-9672.patch
  * CVE-2014-9673.patch
  * CVE-2014-9674.patch
  * CVE-2014-9675.patch
    - Integrated in the 2.5.5 release
- Modified patches:
  * don-t-mark-libpng-as-required-library.patch
  * bugzilla-308961-cmex-workaround.patch
  * freetype2-subpixel.patch
  * freetype2-bitmap-foundry.patch
  * overflow.patch
    - Adapt to the new version of sources

Wed Jun  3 08:14:53 UTC 2015 -

- Modified patch:
  * CVE-2014-9671.patch
    - Adapt the code to correspond to the current git master of
      freetype2 (fixes bsc#933247)

Fri Apr 10 07:34:20 UTC 2015 -

- Enable the bz2 compression in freetype2
- Remove patch overflow.patch from freetype2.spec where it is not
- Run spec-cleaner on the spec file.

Fri Feb 20 10:13:37 UTC 2015 -

- fixed vulnerabilities (bnc#916847, bnc#916856, bnc#916857,
  bnc#916858, bnc#916859, bnc#916860, bnc#916861, bnc#916862,
  bnc#916863, bnc#916864, bnc#916865, bnc#916867, bnc#916868,
  bnc#916870, bnc#916871, bnc#916872, bnc#916873, bnc#916874,
  bnc#916879, bnc#916881)
  - CVE-2014-9656.patch
  - CVE-2014-9657.patch
  - CVE-2014-9658.patch
  - CVE-2014-9659.patch
  - CVE-2014-9660.patch
  - CVE-2014-9661.patch
  - CVE-2014-9662.patch
  - CVE-2014-9663.patch
  - CVE-2014-9664.patch
  - CVE-2014-9665.patch
  - CVE-2014-9666.patch
  - CVE-2014-9667.patch
  - CVE-2014-9668.patch
  - CVE-2014-9669.patch
  - CVE-2014-9670.patch
  - CVE-2014-9671.patch
  - CVE-2014-9672.patch
  - CVE-2014-9673.patch
  - CVE-2014-9674.patch
  - CVE-2014-9675.patch

Sat Jan  3 22:58:50 UTC 2015 -

- Update to version 2.5.5
    - Handling of  uncompressed PCF files works again (bug
      introduced in version 2.5.4).
- Drop freetype2-2.5.3-fix-pcf.patch, merged upstream

Mon Dec  8 15:43:58 UTC 2014 -

- Update to version 2.5.4
    - A variant of vulnerability CVE-2014-2240 was identified
      (cf. and fixed
      in  the new CFF driver.  All users should upgrade.
    - The new auto-hinter code using HarfBuzz crashed for some
      invalid fonts.
    - Many fixes to better protect against malformed input.
    - Full auto-hinter support of the Devanagari script.
    - Experimental auto-hinter support of the Telugu script.
    - CFF stem darkening behaviour can now be controlled at
      build time using the eight macros
    - Some fields in the `FT_Bitmap'  structure have been changed
      from signed to unsigned type, which better reflects
      the actual usage. It is also an additional means to
      protect against malformed input. This change doesn't break
      the ABI; however, it might cause compiler warnings.
    - Improvements to  the auto-hinter's algorithm to recognize
      stems and local extrema.
    - Function `FT_Get_SubGlyph_Info' always returned an error
      even in case of success.
    - Version  2.5.1 introduced major bugs in the cjk part of
      the auto-hinter, which are now fixed.
    - The `FT_Sfnt_Tag' enumeration values have been changed to
      uppercase,  e.g.  `FT_SFNT_HEAD'. The lowercase variants
      are deprecated. This is for orthogonality with all other
      enumeration (and enumeration-like) values in FreeType.
    - `cmake' now supports builds of FreeType as an OS X framework
      and for iOS.
    - Improved project files for vc2010,
      introducing a property file
    - The documentation generator for the API reference has been
      updated to produce  better HTML code (with proper  CSS).
      At the same time, the documentation got a better structure.
    - The FT_LOAD_BITMAP_CROP flag is obsolete; it is not used
      by any driver.
    - The TrueType DELTAP[123] bytecode instructions now work in
      subpixel hinting mode as described in the ClearType
      whitepaper (i.e., for touched points in the
      non-subpixel direction).
    - Many small improvements to the internal arithmetic routines.
- Rebase don-t-mark-libpng-as-required-library.patch,
  bugzilla-308961-cmex-workaround.patch, freetype2-subpixel.patch,
  freetype2-bitmap-foundry.patch and overflow.patch
- Add freetype2-2.5.3-fix-pcf.patch from upstream to resolve, "Freetype 2.5.4 does not
  load ungzipped PCF fonts"

Thu Mar 27 09:57:06 UTC 2014 -

- get 2.5.3 from Factory as it fixes 
  CVE-2014-2240 CVE-2014-2241 (bnc#867620)

Thu Mar 13 03:14:26 UTC 2014 -

- Improve don-t-mark-libpng-as-required-library.patch: also handle
  Requires.private case (freetype does not include png headers)

Sun Mar  9 18:39:56 UTC 2014 -

- Update to version 2.5.3
    - A vulnerability was  identified and fixed in the  new CFF
      driver (cf.;  it
      doesn't have a CVE number yet).  All users should upgrade.
    - More  bug  fixes related  to  correct  positioning of
      composite glyphs.
    - Many fixes to better protect against malformed input.
    - FreeType can now use the HarfBuzz library to greatly improve
      the auto-hinting of  fonts that  use OpenType features:
      Many glyphs that are part  of such features but don't have
      cmap entries are now handled  properly, for  example small
      caps or superscripts. Define the configuration  macro
      FT_CONFIG_OPTION_USE_HARFBUZZ to activate HarfBuzz support.
      You need HarfBuzz version 0.9.19 or newer. Note that HarfBuzz
      depends on  FreeType; this currently causes a chicken-and-egg
      problem  that can be  solved as follows  in case HarfBuzz
      is not yet installed on your system.
        1. Compile  and  install  FreeType without the configuration
        2. Compile and install HarfBuzz.
        3. Define  macro  FT_CONFIG_OPTION_USE_HARFBUZZ, then
           compile and install FreeType again.
      With FreeType's  `configure' script the procedure  boils
      down to configure, build, and install Freetype, then
      configure, compile, and  install  HarfBuzz,  then configure,
      compile,  and  install FreeType again (after executing
      `make distclean').
    - All  libraries FreeType  depends on  are now  checked
      using  the `pkg-config' configuration files  first,
      followed by alternative methods.
    - The  new  value  `auto'  for the  various  `--with-XXX'
      library options   (for   example   `--with-harfbuzz=auto')
      makes   the `configure' script automatically link to the
      libraries it finds. This is now the default.
    - In case FreeType's `configure' script  can't find a
      library, you can  pass environment  variables to  circumvent
      pkg-config,  and those variables  have been  harmonized as
      a consequence  of the changes mentioned above:
        LIBZ           -> removed; use LIBZ_CFLAGS and LIBZ_LIBS
        LIBBZ2         -> removed; use BZIP2_CFLAGS and BZIP2_LIBS
      `./configure --help' shows all available environment variables.
    - The `freetype-config'  script now understands
      option `--static' to emit static linking information.
- Due to buildsystem changes, rename and rebase
  don-t-mark-libpng-as-required-library-in-freetype-co.patch to

Thu Dec 12 16:45:13 UTC 2013 -

- Added patches:
  * don-t-mark-libpng-as-required-library-in-freetype-co.patch: it's
    private in pkgconfig file, and causes issues in downstream
- As per patch, remove libpng-devel Requires from devel package

Wed Dec 11 07:13:14 UTC 2013 -

- freetype2 pkgconfig now includes -lpng16; make sure freetype2-devel
  Requires libpng-devel

Tue Dec 10 03:04:59 UTC 2013 -

- Update to version 2.5.2
  * Fixed bug  that made  FreeType crash  on some  popular (but  not
    fully conformant) fonts like `ahronbd.ttf'
  * Another round of improvements to correct positioning and hinting
    of composite glyphs in TrueType fonts
  * Fixed bug introduced in version  2.5.1: handling embedded
    bitmap strikes of  TrueType fonts, caused garbage display
    under some circumstances
  * Fixed `ftgrid' demo program compilation in non-development
- Droped fix-compile-in-non-debug.patch, included in this release

Wed Nov 27 19:31:42 UTC 2013 -

- Update to version 2.5.1
  * For  some WinFNT  files,  the last  glyph  wasn't displayed  but
    incorrectly marked as invalid.
  * The vertical size of glyphs was  incorrectly set after a call to
    `FT_GlyphSlot_Embolden', resulting in clipped glyphs.
  * Many fields of the `PCLT' table in SFNT based fonts (if accessed
    with `FT_Get_Sfnt_Table') were computed incorrectly.
  * In TrueType fonts,  hinting of composite glyphs  could sometimes
    deliver  incorrect positions  of  components or  even  distorted
  * WOFF font format support has been added.
  * The auto-hinter now supports Hebrew.  Greek and Cyrillic support
    has been improved.
  * Support for the forthcoming `OS/2'  SFNT table version 5, as can
    be found e.g. in the `Sitka' font family for Windows 8.1.
  * The header  file layout  has been changed.   After installation,
    all files are now located in `<prefix>/include/freetype2'.
    Applications  that  use   (a)  `freetype-config'  or  FreeType's
    `pkg-config' file to get the include directory for the compiler,
    and (b) the documented way for header inclusion like
        #include <ft2build.h> or #include FT_FREETYPE_H
    don't need any change to the source code.
  * The stem  darkening feature  of the  new CFF  engine can  now be
    fine-tuned with the new `darkening-parameters' property.
  * `ftgrid' has been updated to toggle various engines with the `H'
    key, similar to `ftview' and `ftdiff'.
  * The functionality of `ttdebug' has been greatly enhanced.
   . It now displays twilight, storage, and control value data; key
  * Better support of ARMv7 and x86_64 processors.
  * Apple's `sbix' color bitmap format is now supported.
  * Improved   auto-hinter  rendering   for  many   TrueType  fonts,
    especially in the range 20-40ppem.
  * A  new face  flag  `FT_FACE_FLAG_COLOR' has  been  added (to  be
    accessed with the macro `FT_HAS_COLOR').
  * `FT_Gzip_Uncompress'   (modeled    after   zlib's   `uncompress'
    function)  has been  added; this  is a  by-product of  the newly
    added WOFF support.
  * Support for  a build with  `cmake' has been contributed  by John
    Cary <>.
  * Support for x64  builds with Visual C++ has  been contributed by
    Kenneth Miller <>
  * Manual pages for most demo programs have been added.
  * The GETINFO bytecode instruction for TrueType fonts was buggy if
    used to retrieve subpixel hinting information.  It was necessary
    to set  selector bit 6  to get  results for selector  bits 7-10,
    which is wrong.
  * Improved computation  of emulated vertical metrics  for TrueType
  * Fixed horizontal start-up position of vertical phantom points in
    TrueType bytecode.
- Rebase freetype2-subpixel.patch to current release
- Added fix-compile-in-non-debug.patch, fixes release build of ftdemos
- Added overflow.patch for resolving post-build-check detected error:
  I: Statement is overflowing a buffer

Wed Jul  3 08:31:13 UTC 2013 -

- Update to version
  * The cache manager function `FTC_Manager_Reset'  didn't flush the
  * Behdad Esfahbod  (on behalf  of Google) contributed  support for
    color embedded bitmaps (eg. color emoji).
  * The  old FreeType  CFF engine  is now  disabled by  default.
  * All code related to macro FT_CONFIG_OPTION_OLD_INTERNALS
    has been removed.
  * The  property API  (`FT_Property_Get' and  `FT_Property_Set') is
    now declared as stable.
  * Another round of TrueType subpixel hinting fixes.
  * 64bit compilation of the new CFF engine was buggy.
  * Some fixes to improve robustness in memory-tight situations.
- Add dependency on libpng-devel for color emoji support.
- Drop freetype-new-cff-engine.patch, upstream now.

Sun Jun  9 03:58:33 UTC 2013 -

- Library and tools must be compiled with large file
  support in 32 bit archs just like the rest of system.

Fri May 10 18:05:44 UTC 2013 -

- Update to version 2.4.12
  * A new CFF rendering engine from Adobe
  * The  macro FT_CONFIG_OPTION_OLD_INTERNALS  is no  longer set  by
- freetype-new-cff-engine.patch: Enable the new CFF engine by default.
- Drop freetype2-no_rpath.patch, not needed.

Fri Jan 11 17:12:01 UTC 2013 -

- Rediffed patches.
- CVE-2012-5668.patch, CVE-2012-5669.patch, CVE-2012-5670.patch nothing to do.

Thu Dec 20 13:56:36 UTC 2012 -

- Update to version 2.4.11
  * Some vulnerabilities in the  BDF implementation have been fixed.
  * Support for OpenType collections (OTC) has been added.
  * Pure CFF fonts within an SFNT wrapper are now supported.
  * Minor rendering improvements to the auto-hinter.
  * `FT_GlyphSlot_Oblique' now uses a shear angle of 12°.
- Modify freetype2-subpixel.patch for new subpixel hinting option.
- Drop fix-build.patch: no longer needed

Sun Jun 17 10:34:24 UTC 2012 -

- Update to version 2.4.10
  * Incremental glyph loading as needed by ghostscript was broken.
  * A new  function `FT_Outline_EmboldenXY'
  * The glyph  spacing computation  in `FT_GlyphSlot_Embolden'  (and
    similar code in `ftview') has been improved.
  * Minor  improvements to  the TrueType  bytecode  interpreter  and
    glyph loader, the auto-hinter, and the B/W rasterizer.

Wed May  9 19:46:11 UTC 2012 -

- USe -std=gnu99 in all targets not only on ARM

Fri Mar 30 13:11:32 UTC 2012 -

- Unbreak SLE builds

Thu Mar  8 21:18:48 UTC 2012 -

- Update to version 2.4.9
  * Fixes CVE-2012-1126, CVE-2012-1127, CVE-2012-1128, CVE-2012-1129,
    CVE-2012-1130, CVE-2012-1131, CVE-2012-1132, CVE-2012-1133,
    CVE-2012-1134, CVE-2012-1135, CVE-2012-1136, CVE-2012-1137,
    CVE-2012-1138, CVE-2012-1139, CVE-2012-1140, CVE-2012-1141,
    CVE-2012-1142, CVE-2012-1143, CVE-2012-1144
  * The `ENCODING -1 <n>' format of BDF fonts is now supported.
  * For BDF fonts,  support for the whole Unicode encoding range has
    been added.
  * Better TTF support for x_ppem != y_ppem.
  * `FT_Get_Advances' sometimes returned bogus values.

Tue Feb 14 11:17:33 UTC 2012 -

- license update: SUSE-Freetype or GPL-2.0+
  Use SUSE- proprietary prefix until upstream accepts Freetype as
  official license

Tue Feb 14 09:21:58 UTC 2012 -

- Ran spec-cleaner
- Add devel-static provides to devel package (shared library policy)

Thu Dec 22 12:39:23 CET 2011 -

- provide for older distros; otherwise it breaks
  too many package builds in M17N repo
- fix build on FACTORY by owning aclocal dir

Tue Nov 15 08:24:00 UTC 2011 -

- Update to version 2.4.8
  * Some vulnerabilities in handling CID-keyed PostScript fonts have
    been fixed; see CVE-2011-3439
  * Chris Liddell contributed a new API, `FT_Get_PS_Font_Value',  to
    retrieve most of the dictionary keys in Type 1 fonts.

Tue Oct 18 12:11:46 UTC 2011 -

- Update to version 2.4.7
  * Some  vulnerabilities in handling Type 1 fonts  have been fixed;
    see CVE-2011-3256.
  * FreeType  now properly  handles ZapfDingbats  glyph names  while
    constructing a Unicode character map (for fonts which don't have

Fri Jul 29 07:41:28 UTC 2011 -

- Update to version 2.4.6
  * For TrueType based fonts, the ascender and descender values were
    incorrect sometimes  (off by a pixel if the ppem value was not a
    multiple of 5).   Depending on the use you might now  experience
    a different  layout; the  change should  result in  better, more
    consistent line spacing.
  * Fix CVE-2011-0226  which causes a  vulnerability while  handling
    Type 1 fonts.
  * BDF fonts  containing  glyphs with negative values  for ENCODING
    were  incorrectly  rejected.  This  bug has  been introduced  in
    FreeType version 2.2.0.
  * The behaviour of FT_STROKER_LINEJOIN_BEVEL has been corrected.
  * A new  line join style,  FT_STROKER_LINEJOIN_MITER_FIXED,  has
    been introduced to support PostScript and PDF miter joins.
  * FT_STROKER_LINEJOIN_MITER_VARIABLE  has been introduced  as an
  * Various stroking glitches has been fixed
  * SFNT bitmap fonts which contain an outline glyph for `.notdef'
    only no longer set the FT_FACE_FLAG_SCALABLE flag.
- Drop bnc704612_othersubr.diff, applied upstream

Fri Jul 22 13:41:02 CEST 2011 -

- added bnc704612_othersubr.diff, CVE-2011-0226, bnc#704612.

Thu Jul  7 13:16:05 UTC 2011 -

- Clean spec file
- Disable static libraries
- Drop unneeded use_unix.diff
- Disable newly introduced bzip2 support, it seems to create
  problems with subpixel rendering

Sat Jun 25 08:37:55 UTC 2011 -

- Update to version 2.4.5
    * A rendering regression  for second-order Bézier curves  has been
      fixed, introduced in 2.4.3.
    * If autohinting  is not  explicitly disabled,  FreeType now  uses
      the autohinter if  a TrueType based font doesn't  contain native
    * The load flag FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH  has been made
      redundant and  is simply ignored;  this means that FreeType  now
      ignores the global advance width value in TrueType fonts.
    * `FT_Sfnt_Table_Info' can now return the number of SFNT tables of
       a font.
    * Support for PCF files compressed with bzip2 has been contributed
      by Joel  Klinghed.  To  make this  work, the  OS must  provide a
      bzip2 library.
    * Again some fixes to better handle broken fonts.
    * Some improvements to the B/W rasterizer.
    * Fixes to the cache module to improve robustness.
    * Just  Fill Bugs contributed (experimental) code to compute  blue
      zones for CJK Ideographs, improving the alignment of  horizontal
      stems at the top or bottom edges.
- Dropped the following patches:
    * bnc628213_1797.diff (fixed upstream)
    * bnc641580_CVE-2010-3311.diff (fixed upstream)
    * ft2-stream-compat.diff (only needed for SLE8->SLE9 update)
- Add libbz2-devel to BuildRequires to enable bzip2 support

Mon Feb 28 16:36:35 UTC 2011 -

- bnc#647375: CVE-2010-3855.diff already fixed upstream.
- bnc#647375: CVE-2010-3814.diff already fixed upstream.

Tue Dec  7 17:53:52 UTC 2010 -

- several old patches got lost, reapplying:
  * added bnc641580_CVE-2010-3311.diff for bnc#641580
  * bnc633943_CVE-2010-3054 nothing to do.
  * bnc633938_CVE-2010-3053 nothing to do.

Mon Dec  6 01:34:41 UTC 2010 -

- exclude *.a *.la files from -devel package

Sat Dec  4 20:27:14 UTC 2010 -

- Updated to version 2.4.4:
  * [truetype] better multi-threading support
  * [truetype] identify the tricky fonts by cvt/fpgm/prep checksums; some Latin TrueType fonts are still expected to be unhinted
  * [type1] fix matrix normalization
  * [type1] improve guard against malformed data
  * [ftsmooth] improve rendering
  * [ftraster] fix rendering

Fri Oct 29 16:19:41 UTC 2010 -

- Updated to version 2.4.3:
  + Fix rendering of certain cubic, S-shaped arcs. This regression
    has been introduced in version 2.4.0.
  + Handling of broken fonts has been further improved.

Thu Aug 12 09:43:18 UTC 2010 -

- bnc#628213: added bnc628213_1797.diff
- bnc#629447: CVE-2010-2805..8 are already fixed in upstream 2.4.2
- bnc#619562: CVE-2010-2497,2498,2499,2500,2519,2520 dito.

Mon Aug  9 12:48:18 CEST 2010 -

- updated to version 2.4.2:
  Another serious bug in the CFF font module has been found,
  together with more exploitable vulnerabilities in the T42 font

Tue Jul 20 17:50:44 CEST 2010 -

- updated to version 2.4.1:
  * major version up
  * bytecode interpreter is enabled as default in the upstream
  * doc-reference is redundant, removed

Fri Jun  4 11:09:21 UTC 2010 -

- reenable bitmap foundaries (bnc#596559)

Sat Apr 24 09:20:43 UTC 2010 -

- buildrequire pkg-config to fix provides

Tue Apr  6 20:12:54 UTC 2010 -

- Adjust baselibs.conf for changes

Tue Apr  6 05:23:04 UTC 2010 -

- fix obsoletes/provides

Mon Apr  5 18:52:29 UTC 2010 -

- leave freetype2 behind and only go with shared library package

Sun Apr  4 08:14:19 UTC 2010 -

- Fix baselibs.conf for renamed libs

Wed Mar 31 14:45:27 UTC 2010 -

- update to version 2.3.12:
  brings considerable improvements for b/w rasterizing of hinted
  TrueType fonts at small sizes, see NEWS for more details
- fixed build without sysvinit in the build system
- disable no longer compiling patch that should be upstream or dead
- split out shared library policy package
- remove old patches

Mon Dec 14 20:12:43 CET 2009 -

- add baselibs.conf as a source

Fri Nov  6 11:26:27 CET 2009 -

- make -std=gnu99 cfalgs to be ARM-specific

Tue Nov  3 19:13:01 UTC 2009 -

- updated patches to apply with fuzz=0

Sun Aug  2 20:06:24 UTC 2009 -

- ARM build needs -std=gnu99 in CFLAGS

Mon Jul 27 15:01:04 CEST 2009 -

- updated to version 2.3.8:
  * see URLs below
- updated to version 2.3.9:
  * see URLs below
- fix builds with older distros

Tue Jul  7 10:28:53 CEST 2009 -

- require zlib-devel-<targettype> from freetype2-devel-<targettype>

Thu Apr 16 18:08:31 CEST 2009 -

- fixed integer overflows [bnc#485889] CVE-2009-0946

Mon Mar  9 16:48:46 CET 2009 -

- freetype2 has subpixel rendering enabled [bnc#478407]

Wed Dec 10 12:34:56 CET 2008 -

- use Obsoletes: -XXbit only for ppc64 to help solver during distupgrade

Wed Nov 05 16:58:22 CET 2008 -

- bnc#441638: use fix from upstream CVS to fix the return value
  of FT_Get_TrueType_Engine_Type (and make it work as documented).
  Thanks to Werner Lemberg for fixing and Krzysztof Kotlenga for
  reporting the issue.

Thu Oct 30 12:34:56 CET 2008 -

- obsolete old -XXbit packages (bnc#437293)

Mon Aug 18 16:38:09 CEST 2008 -

- fix uninitialized pointer "FT_STREAM stream" in function
  FT_Open_Face() which made fontforge crash while trying to apply
  a workaround to the sazanami-fonts because fontforge called
  FT_Open_Face() with 0 for the FT_Library argument and
  then freetype crashed in FT_Stream_Free().

Wed Jul 23 12:20:30 CEST 2008 -

- update to 2.3.7. Extract from the docs/CHANGES file:
  • If the library was compiled on an i386 platform using gcc, and
    compiler option -O3 was given, `FT_MulFix' sometimes returned
    incorrect results which could have caused problems with
    `FT_Request_Metrics' and `FT_Select_Metrics', returning an
    incorrect descender size.
  • Pure CFFs without subfonts were scaled incorrectly if the font
    matrix was non-standard.  This bug has been introduced in
    version 2.3.6.
  • The `style_name' field in the `FT_FaceRec' structure often
    contained a wrong value for Type 1 fonts.  This misbehaviour
    has been introduced in version 2.3.6 while trying to fix
    another problem.  [Note, however, that this value is
    informative only since the used algorithm to extract it is
    very simplistic.]
  • Two new macros, FT_OUTLINE_SMART_DROPOUTS and
    FT_OUTLINE_EXCLUDE_STUBS, have been introduced.  Together with
    FT_OUTLINE_IGNORE_DROPOUTS (which was ignored previously) it is
    now possible to control the dropout mode of the `raster' module
    (for B&W rasterization), using the `flags' field in the
    `FT_Outline' structure.
  • The TrueType bytecode interpreter now passes the dropout mode to
    the B&W rasterizer.  This greatly increases the output for small
    ppem values of many fonts like `pala.ttf'.
  • A bunch of potential security problems have been found.  All
    users should update.
  • Microsoft Unicode cmaps in TrueType fonts are now always
    preferred over Apple cmaps.  This is not a bug per se, but there
    exist some buggy fonts created for MS which have broken Apple
    cmaps.  This affects only the automatic selection of FreeType;
    it's always possible to manually select an Apple Unicode cmap if
  • Many bug fixes to the TrueType bytecode interpreter.
  • Improved Mac support.
  • Subsetted CID-keyed CFFs are now supported correctly.
  • CID-keyed CFFs with subfonts which are scaled in a non-standard
    way are now handled correctly.
  • A call to FT_Open_Face with `face_index' < 0 crashed FreeType if
    the font was a Windows (bitmap) FNT/FON.
  • The new function `FT_Get_CID_Registry_Ordering_Supplement' gives
    access to those fields in a CID-keyed font.  The code has been
    contributed by Derek Clegg.
  • George Williams contributed code to validate the new `MATH'
    OpenType table (within the `otvalid' module).  The `ftvalid'
    demo program has been extended accordingly.
  • An API for cmap 14 support (for Unicode Variant Selectors, UVS)
    has been contributed by George Williams.
  • A new face flag FT_FACE_FLAG_CID_KEYED has been added, together
    with a macro FT_IS_CID_KEYED which evaluates to 1 if the font is
  • Build support for symbian has been contributed.
  • Better WGL4 glyph name support, contributed by Sergey Tolstov.
  • Debugging output of the various FT_TRACEX macros is now sent to
  • The `ftview' demo program now provides artificial slanting too.
  • The `ftvalid' demo program has a new option `-f' to select the
    font index.
- remove patch for bnc#399169 (came from upstream).

Fri Jun 13 11:50:06 CEST 2008 -

- bnc#399169: fix multiple vulnerabilities.

Mon Apr 14 18:34:54 CEST 2008 -

- Make sure config.guess and config.sub exist.

Thu Apr 10 12:54:45 CEST 2008 -

- added baselibs.conf file to build xxbit packages
  for multilib support

Thu Oct 18 15:45:04 CEST 2007 -

- Bugzilla #334565: avoid crash in xpdf caused by a bug in the
  workaround patch for bug #308961
  (fixed by Peng Wu <>).

Mon Oct 08 11:43:58 CEST 2007 -

- Bugzilla #308961: improve workaround patch for the broken
  underlining in the CMEX fonts
  (again by Peng Wu <>).

Tue Oct 02 16:38:08 CEST 2007 -

- Bugzilla #308961: add workaround for broken underlining
  when using the CMEX fonts (by Peng Wu <>).

Tue Jul 03 16:19:11 CEST 2007 -

- update to 2.3.5. Extract from the doc/CHANGES file:
  • Some subglyphs in TrueType fonts were handled incorrectly due
   to a missing graphics state reinitialization.
  • Large .Z files  (as distributed with some X11  packages)
    weren't handled correctly, making FreeType increase the heap
    stack in an endless loop.
  • A large number of bugs have been fixed to avoid crashes and
    endless loops with invalid fonts.
  • The two new cache functions  `FTC_ImageCache_LookupScaler' and
    `FTC_SBit_Cache_LookupScaler' have been added to allow lookup of
    glyphs using an  `FTC_Scaler' object;  this makes it possible to
    use fractional pixel sizes in the cache.  The demo programs have
    been updated accordingly to use this feature.
  • A new API  `FT_Get_CMap_Format' has been added to  get the
    cmap format  of a  TrueType font.   This  is useful  in handling
    PDF files. The code has been contributed by Derek Clegg.
  • The  auto-hinter now  produces better output by default for
    non-Latin scripts like Indic.  This was done by using the CJK
    hinting module as the default instead of the Latin one. Thanks
    to Rahul Bhalerao for this suggestion.
  • A new API `FT_Face_CheckTrueTypePatents' has been added to find
    out whether a given TrueType font uses patented bytecode
    instructions.  The `ft2demos' bundle contains a new program
    called `ftpatchk' which demonstrates its usage.
  • A new API `FT_Face_SetUnpatentedHinting' has been added to
    enable or disable the unpatented hinter.
  • Support for Windows FON files in PE format has been contributed
    by Dmitry Timoshkov.

Mon Jun 04 14:58:01 CEST 2007 -

-  Bugzilla #275072: (from upstream CVS):
   Check for negative number of points in contours. Problem
   reported by Victor Stinner <>.

Tue May 22 16:47:15 CEST 2007 -

- fix last patch to avoid crashes when loader->exec == NULL.
  (caused crashes in xpdf, kpdf, acroread for me for many
  .pdf files).

Mon May 21 17:16:35 CEST 2007 -

- Bugzilla #273714: ('¼', '½', and  '¾' in "Albany AMT" are
  rendered very badly): apply fix from upstream CVS, thanks
  to Werner LEMBERG.

Tue Apr 10 16:42:14 CEST 2007 -

- update to 2.3.4. Extract from the doc/CHANGES file:
  • A serious bug in the handling of bitmap fonts (and bitmap
    strikes of outline fonts) has been introduced in 2.3.3.
  • Remove a serious regression in the TrueType bytecode
    interpreter that was introduced in version 2.3.2.  Note that
    this does not disable the improvements introduced to the
    interpreter in version 2.3.2, only some ill cases that occurred
    with certain fonts (though a few popular ones).
  • The auto-hinter now ignores single-point contours for
    computing blue zones.  This bug created `wavy' baselines when
    rendering text with various fonts that use these contours to
    model mark-attach points (these are points that are never
    rasterized and are placed outside of the glyph's real
  • The `rsb_delta' and `lsb_delta' glyph slot fields are now set
    to 0 for mono-spaced fonts.  Otherwise code that uses them
    would essentially ruin the fixed-advance property.
  • Fix CVE-2007-1351 which can cause an integer overflow while
    parsing BDF fonts, leading to a potentially exploitable heap
    overflow condition.
  • FreeType returned incorrect kerning information from TrueType
    fonts when the bytecode interpreter was enabled.  This
    happened due to a typo introduced in version 2.3.0.
  • Negative kerning values from PFM files are now reported
    correctly (they were read as 16-bit unsigned values from the
  • Fixed a small memory leak when `FT_Init_FreeType' failed for
    some reason.
  • The Postscript hinter placed and sized very thin and ghost
    stems incorrectly.
  • The TrueType bytecode interpreter has been fixed to get rid
    of most of the rare differences seen in comparison to the
    Windows font loader.
  • A new demo program `ftdiff' has been added to compare
    TrueType hinting, FreeType's auto hinting, and rendering
    without hinting in three columns.
  • The auto-hinter now better deals with serifs and corner cases
    (e.g., glyph '9' in Arial at 9pt, 96dpi).  It also improves
    spacing adjustments and doesn't change widths for non-spacing

Mon Apr  2 17:05:58 CEST 2007 -

- add zlib-devel BuildRequires

Wed Mar 28 19:36:32 CEST 2007 -

- Bugzilla #258335: fix buffer overflow in handling of bdf fonts.

Mon Feb 05 16:03:56 CET 2007 -

- update to 2.3.1.
  • The TrueType interpreter sometimes returned incorrect
    horizontal metrics due to a bug in the handling of the SHZ
  • A typo  in  a  security  check  introduced  after
    version 2.2.1 prevented FreeType to render some glyphs in CFF

Sun Jan 21 14:25:09 CET 2007 -

- update to 2.3.0 (from rc1 to final release)

Fri Jan 12 20:54:24 CET 2007 -

- update to (= 2.3.0rc1).
  • bugzilla #231417 fixed, see ChangeLog:
     2007-01-10  David Turner  <david at>
     * src/pshinter/pshalgo.c (psh_glyph_compute_inflections):
     fixed a typo which created an endless loop with some malformed
     font files

Wed Jan 10 12:00:19 CET 2007 -

- update to
- remove bugzilla-216793-local-variable-used-before-set.patch,
  (included upstream).

Wed Nov 22 19:03:37 CET 2006 -

- Bugzilla #222693: disable bugzilla-159166-reduce-embolden-distance.patch

Thu Nov 09 16:02:31 CET 2006 -

- Bugzilla #216793: "local variable used before set"

Tue Nov 07 13:30:08 CET 2006 -

- Bugzilla #217388: fix advance handling in FT_GlyphSlot_Embolden()

Fri Oct 27 17:25:35 CEST 2006 -

- Bugzilla #158573: update to

Fri Oct 20 12:31:40 CEST 2006 -

- disable the recent fixes of the byte code interpreter because
  if breaks the rendering of "Luxi Mono"
  (/usr/share/fonts/truetype/luximr.ttf) See also:

Fri Oct 13 12:12:42 CEST 2006 -

- update to
  • fixes bugzilla #207959.
  • autohinter improved

Fri Aug 04 10:27:18 CEST 2006 -

- Bugzilla #196931: add zlib-devel to Requires of freetype2-devel.

Mon Jul 10 10:41:02 CEST 2006 -

- Bugzilla #190902: add patch from upstream CVS to handle
  bad PCF files.

Mon Jun 26 19:10:38 CEST 2006 -

- Bugzilla #188210: move development documents of into -devel

Tue Jun 20 18:04:29 CEST 2006 -

- update to 2.2.1:
  + remove bugzilla-97202-fix-x-crash.patch
  + remove bugzilla-157441-autofit-cjk-cvs.patch
    (was from upstream CVS).
  + remove bugzilla-158156-memory-leak.patch
    (was from upstream CVS).
  + remove bugzilla-158573-fix-orientation-detection.patch
    (included upstream).
  + remove bugzilla-133086-enable-kerning.patch
    (was from upstream).
  + remove bugzilla-154928-integer-overflows.patch
    (was from upstream).
  + remove bugzilla-159304-fix-ftview-glyph-index.patch
    (fixed upstream).
  + remove enable_ft_optimize_memory.patch (is already enabled by
    default now).
  + adapt bugzilla-159166-reduce-embolden-distance.patch a little
    bit to achieve the same boldness effect as with the last

Thu Jun 01 13:02:51 CEST 2006 -

- Bugzilla #154928: fix several integer overflows.

Mon Apr 24 17:27:36 CEST 2006 -

- Bugzilla #133086: enable kerning, see

Tue Mar 21 14:04:18 CET 2006 -

- build parallel

Mon Mar 20 04:39:02 CET 2006 -

- Bugzilla #158573: fix corrupt embolden glyphs issue for CJK fonts.
- Bugzilla #159166: reduce embolden strength to get better rendering

Wed Mar 15 16:02:12 CET 2006 -

- Bugzilla #157441:  remove 0x0100-0xFFFF from CJK Unicode range,
  as it might cause side effects for non-CJK scripts.

Wed Mar 15 13:12:47 CET 2006 -

- Bugzilla #158156: fix a memory leak (by Zhe Su <>).

Tue Mar 14 18:16:30 CET 2006 -

- Bugzilla #157441: instead of Takashi's patches, use a patch
  from upstream CVS which renders slightly better.

Tue Mar 14 14:38:57 CET 2006 -

- Bugzilla #157441: FZSongTi.ttf contains a lot more (CJK)-glyphs
  than most other fonts, therefore we have to expand the cjk range
  in Takashi Iwai's "ft2-autofit-02-cjk.diff" to render these
  glyphs correctly as well.
- Bugzilla #157441: don't apply ft2-autofit-03-latin-baseline.diff
  as it has some side effects.

Wed Jan 25 21:30:13 CET 2006 -

- converted neededforbuild to BuildRequires

Mon Jan 09 16:11:04 CET 2006 -

- Bugzilla #105626: add patches by Takashi IWAI <>
  to improve the autohinting (mainly for CJK fonts).

Wed Jul 20 10:45:55 CEST 2005 -

- Bugzilla #97202: apply workaround to avoid crashing the Xserver.
  I need to disable FT_OPTIMIZE_MEMORY again to apply that

Tue Jul 19 16:05:32 CEST 2005 -

- enable the byte code interpreter again.

Tue Jul 12 14:13:56 CEST 2005 -

- update to 2.1.10.
  + fixes serious bug introduced in 2.1.8 which caused many
    distortions for TrueType fonts
  + amount of heap memory used is drastically reduced
  For more details see /usr/share/doc/packages/freetype2/CHANGES.
- disable freetype-autohint-cjkfonts.patch for the moment, the
  auto-hinter has been replaced with a new module called the
  'auto-fitter' which is "prepared better to support non-latin1
  scripts in next releases". Currently the rendering quality of
  CJK fonts seems to have suffered though compared to 2.1.9
  with the freetype-autohint-cjkfonts.patch.

Mon Jul  4 16:45:33 CEST 2005 -

- Use system zlib.

Wed Aug 25 12:00:10 CEST 2004 -

- Avoid /bin/sh as PreRequires

Tue Jul  6 18:31:00 CEST 2004 -

- update to 2.1.9.

Mon May 10 15:45:26 CEST 2004 -

- update to 2.1.8.
  remove the bdf-pcf fixes for bitmap font metric issues which
  were backported from CVS, they are included in this release

Fri Apr 16 11:14:05 CEST 2004 -

- Bugzilla #38205:
  add patch from
  to improve the hinting results (mainly for CJK fonts).

Wed Mar 24 01:14:22 CET 2004 -

- Add ft2-stream-compat.diff for binary compatibility when
  upgrading from SLES8 to SLES9.
  The FT_Stream functions have been renamed and although these
  functions were declared for internal use only by the freetype
  developers, they have been used in Qt (and possibly elsewhere).
  Therefore, 3rd party which linked statically against Qt might
  not work after upgrading from SLES8 to SLES9.
  Fix this problem with a patch by Kurt Garloff <>
  which defines appropriate weak symbols.

Tue Mar 16 11:32:40 CET 2004 -

- fix Bugzilla# 36143: backport fixes for bitmap font metric issues
  from CVS to fix  crashes when using bitmap fonts caused by the
  new libXft-2.1.5 from the tree.

Mon Jan 12 09:45:24 CET 2004 -

- add %defattr and %run_ldconfig

Fri Jan  9 14:57:15 CET 2004 -

- add "-fno-strict-aliasing" compile option to prevent crashes
  for example in ftdump and mkfontscale.

Tue Dec 16 15:17:28 CET 2003 -

- update to 2.1.7.
- remove freetype2-type1.patch (included upstream)
- add documentation.

Thu Oct  9 00:26:48 CEST 2003 -

- Fix invalid free.

Fri Sep 26 15:41:21 CEST 2003 -

- update to 2.1.5.
- remove freetype-bdf-pcf-drivr.patch, freetype2-bitmap-style.patch
  (included upstream).
- remove gzip-eof.patch.

Mon Sep  1 12:05:01 CEST 2003 -

- add gzip-eof.patch to fix the problem that some gzipped bitmap
  fonts could not be opened by freetype2.
  See also:
  and followups.

Tue Aug 26 23:29:14 CEST 2003 -

- add freetype2-bitmap-style.patch: check the bdf properties
  WEIGHT_NAME and SLANT case insensitively. Without that,
  these properties are not correctly recognized when the fonts
  specify them in lower case.

Tue Apr  8 16:12:08 CEST 2003 -

- update to 2.1.4

Fri Apr  4 12:04:35 CEST 2003 -

- update to 2.1.4rc2
- freetype2-gzip-header.patch is obsolete -> removed

Fri Mar  7 21:58:14 CET 2003 -

- Bug #24755: further improvement: add " Wide" to the family name
  for fonts which have an average width >= point size, i.e. fonts
  which have glyphs which are at least square (or maybe even
  wider). This makes fonts which contain only double width
  characters (for example the "misc-fixed" 18x18ja.bdf) clearly
  distinct from single width fonts of the same family and
  avoids that they get accidentally selected via freetype2/Xft2.

Fri Mar  7 16:06:11 CET 2003 -

- Bug #24775: partly fixed by a patch to freetype which returns
  "FOUNDRY FAMILY_NAME" as the family_name for bitmap fonts.
  Without that change, all bitmap fonts which have "Fixed"
  in FAMILY_NAME also had the same family_name "Fixed" via
  freetype/Xft2 and it was not possible to distinguish between
  them, therefore the selection of "Fixed" bitmap fonts produced
  quite surprising results. After this change, the fonts show
  up for example as "Misc Fixed", "Etl Fixed", etc. via
  freetype2/Xft2, which makes it easy to select the right one.

Mon Mar  3 12:52:02 CET 2003 -

- fix for the bug that caused FreeType to loop endlessly when
  trying to read certain compressed gzip files. The following test
  could be used to reveal the bug:
  touch 0123456789 ; gzip 0123456789 ; ftdump 0123456789.gz
  (from upstream CVS)

Fri Feb 14 16:07:55 CET 2003 -

- freetype-bdf-pcf-drivr.patch: use FT_UShort instead of FT_Short
  for the glyph number of bitmap fonts. The GNU Unicode font
  has 34725 glyphs and because of the usage of signed short
  all glyphs with an index above 2^15 couldn't be displayed.
  Thanks to Gerd Knorr <>.

Thu Jan 30 15:52:36 CET 2003 -

- disable freetype2-bc.patch, see

Wed Jan 29 16:29:08 CET 2003 -

- add freetype2-bc.patch

Mon Jan 13 18:26:39 CET 2003 -

- split out ft2demos into extra package to avoid adding
  x-devel-packages to '# neededforbuild' (XFree86 needs freetype2,
  this would be a loop in the requirements)
- add doc files and license texts.

Fri Jan 10 18:34:13 CET 2003 -

- fix checking of .gz header (fixes Bug #22712, i.e. fixes
  the problem that freetype2 couldn't open .pcf.gz files which
  contain the original file name or extra fields)
- add programs from ft2demos-2.1.3.

Thu Nov 21 11:53:13 CET 2002 -

- update to 2.1.3.

Tue Nov  5 16:42:42 CET 2002 -

- add /usr/share/aclocal/* to filelist
  (thanks to <> for noticing the omission)

Thu Oct 24 15:37:31 CEST 2002 -

- update to 2.1.2. From the release notes:
  That's probably the first release of FreeType in the 2.1.x
  development branch that can safely replace 2.0.9 on any

Sat Aug 10 01:16:09 CEST 2002 -

- freetype2-devel package should require freetype2 package

Tue Apr  2 14:40:33 CEST 2002 -

- upgrade to 2.0.9 (considerably improved rendering of Type1 fonts)

Wed Mar  6 21:14:00 CET 2002 -

- use the byte code interpreter

Mon Feb 11 15:12:44 CET 2002 -

- upgrade to 2.0.8
- remove freetype-config.patch (included upstream)

Tue Feb  5 18:27:36 CET 2002 -

- enable debug informations to debug a sig11 in inst-sys

Tue Feb  5 11:14:03 CET 2002 -

- fixed missing 'fi' in freetype-config

Mon Feb  4 14:45:54 CET 2002 -

- update to 2.0.7
- remove freetype-2.0.6-gsf-segv.patch (included in 2.0.7 already)

Tue Jan 29 11:06:30 CET 2002 -

- add freetype-2.0.6-gsf-segv.patch from upstream CVS to prevent
  SEGV caused by gsf files.

Tue Jan 22 21:32:16 CET 2002 -

- use %{_libdir} instead of /usr/lib

Wed Jan 16 16:28:04 CET 2002 -

- updated to 2.0.6
  * important fixes which causes crashes with pfb fonts
  * improved rendering

Fri Nov  9 07:15:45 CET 2001 -

- updated to 2.0.5

Sat Jul 21 20:10:44 MEST 2001 -

- Updated to version 2.0.4.

Wed Jun  6 21:13:15 MEST 2001 -

- Fix filelist.

Mon Jun  4 16:00:04 MEST 2001 -

- Updated to version 2.0.3.

Mon Mar 26 15:50:03 CEST 2001 -

- fix build-rooting

Thu Dec 14 15:59:32 CET 2000 -

- split devel package

Mon Dec 11 23:48:52 MET 2000 -

- Updated to version 2.0.1.

Fri Nov 10 21:40:54 MET 2000 -

- Initial SuSE package.

openSUSE Build Service is sponsored by