File ft2demos.changes of Package freetype2.16834

Tue Jul  2 07:21:03 UTC 2019 - Ismail Dönmez <>

- Update to version 2.10.1
  * The `ftmulti' demo program now  supports multiple hidden axes with
    the same name tag.
  * `ftview', `ftstring', and `ftgrid' got  a `-k' command line option
    to emulate a sequence of keystrokes at start-up.
  * `ftview', `ftstring', and `ftgrid' now support screen dumping to a
    PNG file.
  * The bytecode debugger, `ttdebug',  now supports variation TrueType
    fonts; a variation font instance can be selected with the new `-d'
    command line option.
- Add tarball signatures and freetype2.keyring

Mon Jun 24 07:15:45 UTC 2019 - Ismail Dönmez <>

- Update to version 2.10.0
  * The  `ftdump' demo  program has new options `-c'  and `-C'  to
    display charmaps in compact and detailed format, respectively.
    Option `-V' has been removed.
  * The `ftview', `ftstring', and `ftgrid' demo programs use a new
    command line option `-d' to specify the program window's width,
    height, and color depth.
  * The `ftview' demo program now displays red boxes for zero-width
  * `ftglyph' has limited support to display fonts with
    color-layered glyphs.This will be improved later on.
  * `ftgrid' can now display bitmap fonts also.
  * The `ttdebug' demo program has a new option `-f' to select a
    member of a TrueType collection (TTC).
  * Other various improvements to the demo programs.

Thu Feb  7 16:59:15 UTC 2019 - Marguerite Su <>

- Remove "Supplements: fonts-config" to avoid accidentally pulling
  in Qt dependencies on some non-Qt based desktops.(boo#1091109)
  fonts-config is fundamental but ft2demos seldom installs by end users.
  only fonts-config maintainers/debuggers may use ft2demos along to
  debug some issues. 

Wed May  2 10:56:39 UTC 2018 -

- Update to version 2.9.1
  * No changelog upstream.

Tue Mar 20 10:21:23 UTC 2018 -

- insert missing bzip2-devel for build in Leap 42.3

Fri Mar 16 20:53:13 UTC 2018 -

- Change xorg-x11-devel --> pkgconfig(x11) 

Tue Jan  9 11:36:27 UTC 2018 -

- Update to version 2.9
  * The `ftbench' demo program has a new test for opening a new
    face and loading some glyphs.
  * The `ftbench' demo program has a new option `-j' to specify
    the last glyph index to be used in the tests.
  * The `ftgrid' demo program has a new option `-n' to suppress
    display of named instances of variation fonts.
  * The `ttdebug' demo program can now show a stack trace (key `K')
    and switch between hexadecimal and decimal display of integers
    (key `I').

Mon Sep 18 09:17:19 UTC 2017 -

- Update to version 2.8.1
  * The ftgrid demo program can now toggle the display of grid lines
    with the G key.
  * The ftgrid demo program can toggle a different set of colors
    (suitable to color-blind people) with the C key.
  * The ftgrid demo program now supports the -e command line option
    to select a cmap.
  * The ftdump demo program has a new command line option -t to
    output the SFNT table list.

Mon May 15 10:41:10 UTC 2017 -

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

Mon Apr  3 16:08:34 UTC 2017 -

- Package the tools separately to avoid unnecessary dependencies
  on X11 and/or Qt5 (bsc#1031678)

Sun Jan  1 12:04:31 UTC 2017 -

- Update to version 2.7.1
  + The `ftmulti' demo program can now switch engines with key `H'.
  + The `ftstring' demo program can now show some built-in,
    non-latin sample strings (to be selected with the TAB key).
  + The `ftview' demo program can now switch between a font's
    charmaps using the TAB key.
- Remove ftinspect-library.patch, merged upstream.

Tue Sep 20 11:58:32 UTC 2016 -

- Also build ftinspect 

Fri Sep  9 16:14:34 UTC 2016 -

- update to version 2.7:
  + Sync with freetype 2.7

Fri Jul  8 08:38:28 UTC 2016 -

- Update to version 2.6.4:
  + Sync with freetype 2.6.4.

Mon Mar 28 11:55:28 UTC 2016 -

- Update to version 2.6.3
  * The `ftgamma' demo  program has been modernized;  the gamma grid
    display has been moved from `ftview' to this program.
  * It is now possible to  cycle through the available LCD filtering

Sun Nov 29 13:36:34 UTC 2015 -

- Update to version 2.6.2
  * The ftstring  demo program  now supports  sub-pixel rendering;
    use key l to cycle through the LCD modes.
  * The ftstring  demo program now supports  colour rendering; use
    the space key to cycle through various colour combinations.
  * The graphical demo programs now use a default gamma value of 1.8
    (instead of 1.2).

Fri Oct 23 23:34:06 UTC 2015 -

- no longer conflict dtc, flattened device tree tools are named
  to no longer clash with ft2demos binaries since dtc 1.4

Sun Oct  4 22:24:26 UTC 2015 -

- Update to version 2.6.1.

Thu Jun 11 08:56:22 UTC 2015 -

- Update to version 2.6
  * ftgrid can now display GX and MM fonts.
  * Anti-aliasing rendering  modes can now be  selected (with keys
    F5 and F6).
  * The display of point numbers can be toggled with key `D'.
  * ftdump now display information on MM and GX variation axes.
  * ftmulti can now handle up  to six MM  or GX axes.
- Refresh overflow.patch

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 -

- 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"

Wed May  7 14:41:16 CEST 2014 -

- mark bnc628213_test.otf as NoSource to avoid triggering
  clamav check 

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:33:20 UTC 2013 -

- Update to version 2.5.0
  * ftview has been updated to  support color embedded bitmaps.
  * The 'ttdebug' program has been further improved.  In particular,
    it accepts a new command line  option `-H' to select the hinting

Wed Jun 12 08:46:35 UTC 2013 -

- Add conflict to package dtc for /usr/bin/ftdump as the two tools
  are different,
  dtc:      ftdump -- Flat Tree dumping utility
  ft2demos: ftdump -- Simple font dumper

Fri May 10 18:09:21 UTC 2013 -

- Update to version 2.4.12
  * Using the `H'  key, it is now possible to  select the CFF engine
    in both ftview and ftdiff.
  * The new command line option '-H' for `ftbench' selects the Adobe
    CFF engine.
  * It is  now possible  to directly select  the LCD  rendering mode
    with the keys 'A'-'F' in  'ftview'.  The key mapping for cycling
    through LCD modes  has been changed from 'K' and  'L' to 'k' and
    'l', and  toggling custom LCD  filtering is no longer  mapped to
    key 'F' but to key 'L'.
  * In `ftdiff',  key 'x' toggles  between layout modes:  Either use
    the  advance width  (this is  new and  now the  default) or  the
    bounding box information to determine line breaks.
  * For all demo  tools, the new command line option  `-v' shows the
  * For the demo tools with a GUI, the new command line options '-w'
    and '-h' select  the width and the height of  the output window,
- Drop ft2demos-build-testname.patch, not needed.

Fri Jan 11 17:12:14 UTC 2013 -

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

Thu Dec 20 13:57:51 UTC 2012 -

- Update to version 2.4.11
  * ftdiff now supports UTF-8 encoded input files for option `-f'.
  * Using keys `r' and `R', you can now adjust the stroker radius in

Sun Jun 17 10:35:24 UTC 2012 -

- Update to version 2.4.10
  * In the `ftview' demo program, key `e' has been replaced with `x'
    and `y' to  embolden in  the horizontal and  vertical direction,

Thu Mar  8 21:20:31 UTC 2012 -

- Update to version 2.4.9
  * The  demo  programs  no  longer  recognize  and  handle  default
    suffixes; you now have to always specify the complete font name.
  * Better rendering and LCD mode cycling added to ftview.

Tue Feb 14 09:21:51 UTC 2012 -

- Ran spec-cleaner

Tue Nov 15 08:24:39 UTC 2011 -

- Update to version 2.4.8
  * No changes since 2.4.5

Tue Oct 18 12:12:44 UTC 2011 -

- Update to version 2.4.7
  * No changes since 2.4.5

Fri Jul 29 07:44:56 UTC 2011 -

- Update to version 2.4.6
  * No changes since 2.4.5

Fri Jul 22 13:41:52 CEST 2011 -

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

Thu Jul  7 13:20:45 UTC 2011 -

- Cleanup spec file
- Drop unneeded use_unix.diff

Sat Jun 25 08:43:59 UTC 2011 -

- Update to version 2.4.5
    * The `ftgrid' demo program  can now display  autohinter segments,
      to be toggled on and off with key `s'.

Fri Feb 25 12:06:26 UTC 2011 -

- bnc647375: CVE-2010-3814, regression test added.

Tue Dec  7 17:52:34 UTC 2010 -

- Several old patches got lost. Reapplying:
 * added bnc641580_CVE-2010-3311.diff incl. test-case for bnc#641580
 * bnc633943_CVE-2010-3054 nothing to do.
 * bnc633938_CVE-2010-3053 nothing to do.
 * bnc633938_badbdf.0 regression test added.

Fri Oct 29 16:25:22 UTC 2010 -

- Updated to version 2.4.3:
  + Make `grKey' enum comprehensive for gcc 4.5 compatibility.
  + [ftbench] Add option `-i' to specify first used glyph index.

Thu Aug 12 09:53:12 UTC 2010 -

- bnc#628213: added bnc628213_1797.diff + regression test
- 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.
  added sigsegv31.ttf regression test

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

Wed Mar 31 15:08:24 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

Mon Jul 27 15:05:32 CEST 2009 -

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

Thu Apr 16 17:55:50 CEST 2009 -

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

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.

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:33:02 CEST 2008 -

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

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

Mon Aug 20 15:56:55 CEST 2007 -

- Commented out NoSource to provide comfortable rebuild.

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

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

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 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 14:20:44 CEST 2006 -

- update to
  • Add support for LCD color filtering to ftview.

Wed Aug 16 15:43:36 CEST 2006 -

- use "Supplements: fonts-config" only for SuSE Linux >= 10.1.

Thu Aug 10 18:03:30 CEST 2006 -

- Bugzilla #195835: add "Supplements: fonts-config" to .spec file.

Mon Jul 10 10:41:02 CEST 2006 -

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

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:10 CET 2006 -

- build parallel

Mon Mar 20 04:53:01 CET 2006 -

- Bugzilla #158573: fix corrupt embolden glyphs issue for CJK fonts.
- Bugzilla #159166: reduce embolden strength to get better rendering
- Bugzilla #159304: fix wrong glyph index handling in ftview when
  rendering embolden or outline mode.

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

Thu Jul 21 18:24:21 CEST 2005 -

- fix typo in .spec file.

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 17:03:01 CEST 2005 -

- use system zlib.

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 12:02:08 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 Mar 15 12:37:11 CET 2004 -

- mark freetype2 tarball as Nosource, it is already in the source
  rpm of the main freetype2 package.

Mon Jan 12 09:45:40 CET 2004 -

- add %defattr

Fri Jan  9 14:57:51 CET 2004 -

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

Wed Dec 17 19:36:47 CET 2003 -

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

Thu Oct  9 00:26:48 CEST 2003 -

- Fix invalid free.

Fri Sep 26 16:13:30 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.

Fri May 16 20:30:32 CEST 2003 -

- don't install files which will not be packaged.

Tue Apr  8 16:12:25 CEST 2003 -

- update to 2.1.4

Fri Apr  4 12:34:32 CEST 2003 -

- freetype updated to 2.1.4rc2

Fri Mar  7 22:02:17 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:17:39 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.

Wed Jan 29 16:29:45 CET 2003 -

- add freetype2-bc.patch

Sat Jan 25 21:57:05 CET 2003 -

- use the original names for the utilities, i.e. ftdump
  instead of ft2dump, etc. ... (I renamed the utilities
  in freetype1 to ft1dump, ft1view, etc. ...

Mon Jan 13 18:20:36 CET 2003 -

- new package ft2demos, version 2.1.3

openSUSE Build Service is sponsored by