Accepting request 712995 from M17N

- 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
    instances.
  * 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

- 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

OBS-URL: https://build.opensuse.org/request/show/712995
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/freetype2?expand=0&rev=86
This commit is contained in:
Dominique Leuenberger 2019-07-08 12:58:57 +00:00 committed by Git OBS Bridge
commit 41d6ee2409
20 changed files with 188 additions and 61 deletions

View File

@ -2,11 +2,11 @@
src/base/ftobjs.c | 5 +++++
1 file changed, 5 insertions(+)
Index: freetype-2.9.1/src/base/ftobjs.c
Index: freetype-2.10.0/src/base/ftobjs.c
===================================================================
--- freetype-2.9.1.orig/src/base/ftobjs.c
+++ freetype-2.9.1/src/base/ftobjs.c
@@ -2540,6 +2540,11 @@
--- freetype-2.10.0.orig/src/base/ftobjs.c
+++ freetype-2.10.0/src/base/ftobjs.c
@@ -2584,6 +2584,11 @@
if ( FT_IS_SCALABLE( face ) )
{

View File

@ -1,8 +1,8 @@
Index: freetype-2.9.1/builds/unix/configure
Index: freetype-2.10.0/builds/unix/configure
===================================================================
--- freetype-2.9.1.orig/builds/unix/configure
+++ freetype-2.9.1/builds/unix/configure
@@ -14704,7 +14704,6 @@ esac
--- freetype-2.10.0.orig/builds/unix/configure
+++ freetype-2.10.0/builds/unix/configure
@@ -14848,7 +14848,6 @@ fi
# entries in Requires.private are separated by commas;
REQUIRES_PRIVATE="$zlib_reqpriv, \
$bzip2_reqpriv, \
@ -10,7 +10,7 @@ Index: freetype-2.9.1/builds/unix/configure
$harfbuzz_reqpriv"
# beautify
REQUIRES_PRIVATE=`echo "$REQUIRES_PRIVATE" \
@@ -14718,7 +14717,6 @@ REQUIRES_PRIVATE=`echo "$REQUIRES_PRIVAT
@@ -14862,7 +14861,6 @@ REQUIRES_PRIVATE=`echo "$REQUIRES_PRIVAT
LIBS_PRIVATE="$zlib_libspriv \
$bzip2_libspriv \
@ -18,7 +18,7 @@ Index: freetype-2.9.1/builds/unix/configure
$harfbuzz_libspriv \
$ft2_extra_libs"
# beautify
@@ -14730,7 +14728,6 @@ LIBS_PRIVATE=`echo "$LIBS_PRIVATE" \
@@ -14874,7 +14872,6 @@ LIBS_PRIVATE=`echo "$LIBS_PRIVATE" \
LIBSSTATIC_CONFIG="-lfreetype \
$zlib_libsstaticconf \
$bzip2_libsstaticconf \
@ -26,11 +26,11 @@ Index: freetype-2.9.1/builds/unix/configure
$harfbuzz_libsstaticconf \
$ft2_extra_libs"
# remove -L/usr/lib and -L/usr/lib64 since `freetype-config' adds them later
Index: freetype-2.9.1/builds/unix/configure.raw
Index: freetype-2.10.0/builds/unix/configure.raw
===================================================================
--- freetype-2.9.1.orig/builds/unix/configure.raw
+++ freetype-2.9.1/builds/unix/configure.raw
@@ -960,7 +960,6 @@ esac
--- freetype-2.10.0.orig/builds/unix/configure.raw
+++ freetype-2.10.0/builds/unix/configure.raw
@@ -991,7 +991,6 @@ fi
# entries in Requires.private are separated by commas;
REQUIRES_PRIVATE="$zlib_reqpriv, \
$bzip2_reqpriv, \
@ -38,7 +38,7 @@ Index: freetype-2.9.1/builds/unix/configure.raw
$harfbuzz_reqpriv"
# beautify
REQUIRES_PRIVATE=`echo "$REQUIRES_PRIVATE" \
@@ -974,7 +973,6 @@ REQUIRES_PRIVATE=`echo "$REQUIRES_PRIVAT
@@ -1005,7 +1004,6 @@ REQUIRES_PRIVATE=`echo "$REQUIRES_PRIVAT
LIBS_PRIVATE="$zlib_libspriv \
$bzip2_libspriv \
@ -46,7 +46,7 @@ Index: freetype-2.9.1/builds/unix/configure.raw
$harfbuzz_libspriv \
$ft2_extra_libs"
# beautify
@@ -986,7 +984,6 @@ LIBS_PRIVATE=`echo "$LIBS_PRIVATE" \
@@ -1017,7 +1015,6 @@ LIBS_PRIVATE=`echo "$LIBS_PRIVATE" \
LIBSSTATIC_CONFIG="-lfreetype \
$zlib_libsstaticconf \
$bzip2_libsstaticconf \

View File

@ -1,10 +1,10 @@
Index: freetype-2.9.1/include/freetype/config/ftoption.h
Index: freetype-2.10.0/include/freetype/config/ftoption.h
===================================================================
--- freetype-2.9.1.orig/include/freetype/config/ftoption.h
+++ freetype-2.9.1/include/freetype/config/ftoption.h
--- freetype-2.10.0.orig/include/freetype/config/ftoption.h
+++ freetype-2.10.0/include/freetype/config/ftoption.h
@@ -658,8 +658,8 @@ FT_BEGIN_HEADER
/* [1] https://www.microsoft.com/typography/cleartype/truetypecleartype.aspx */
/* */
* https://www.microsoft.com/typography/cleartype/truetypecleartype.aspx
*/
/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING 1 */
-#define TT_CONFIG_OPTION_SUBPIXEL_HINTING 2
-/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING ( 1 | 2 ) */
@ -12,4 +12,4 @@ Index: freetype-2.9.1/include/freetype/config/ftoption.h
+#define TT_CONFIG_OPTION_SUBPIXEL_HINTING ( 1 | 2 )
/*************************************************************************/
/**************************************************************************

View File

@ -1,11 +1,11 @@
Index: freetype-2.9.1/include/freetype/config/ftoption.h
Index: freetype-2.10.0/include/freetype/config/ftoption.h
===================================================================
--- freetype-2.9.1.orig/include/freetype/config/ftoption.h
+++ freetype-2.9.1/include/freetype/config/ftoption.h
@@ -849,7 +849,7 @@ FT_BEGIN_HEADER
/* If this option is activated, it can be controlled with the */
/* `no-long-family-names' property of the pcf driver module. */
/* */
--- freetype-2.10.0.orig/include/freetype/config/ftoption.h
+++ freetype-2.10.0/include/freetype/config/ftoption.h
@@ -847,7 +847,7 @@ FT_BEGIN_HEADER
* If this option is activated, it can be controlled with the
* `no-long-family-names` property of the 'pcf' driver module.
*/
-/* #define PCF_CONFIG_OPTION_LONG_FAMILY_NAMES */
+#define PCF_CONFIG_OPTION_LONG_FAMILY_NAMES

View File

@ -1,13 +1,13 @@
Index: freetype-2.9.1/include/freetype/config/ftoption.h
Index: freetype-2.10.0/include/freetype/config/ftoption.h
===================================================================
--- freetype-2.9.1.orig/include/freetype/config/ftoption.h
+++ freetype-2.9.1/include/freetype/config/ftoption.h
@@ -122,7 +122,7 @@ FT_BEGIN_HEADER
/* rendering technology that produces excellent output without LCD */
/* filtering. */
/* */
--- freetype-2.10.0.orig/include/freetype/config/ftoption.h
+++ freetype-2.10.0/include/freetype/config/ftoption.h
@@ -126,7 +126,7 @@ FT_BEGIN_HEADER
* macro is not defined, FreeType offers alternative LCD rendering
* technology that produces excellent output without LCD filtering.
*/
-/* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */
+#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING
/*************************************************************************/
/**************************************************************************

3
freetype-2.10.1.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:16dbfa488a21fe827dc27eaf708f42f7aa3bb997d745d31a19781628c36ba26f
size 2378784

View File

@ -0,0 +1,6 @@
-----BEGIN PGP SIGNATURE-----
iF0EABECAB0WIQRY4MER459UCMXT7HbBpg6s5wf9pQUCXRp3CwAKCRDBpg6s5wf9
pRO0AJ938zbzY8XuX/rsDgEhJ3lTVh7IeQCfScvC2CDSuTPsp0OvsiR++8FwS70=
=STC9
-----END PGP SIGNATURE-----

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:db8d87ea720ea9d5edc5388fc7a0497bb11ba9fe972245e0f7f4c7e8b1e1e84d
size 1926385

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2fc160eda64cb6ee9f357c3fd6ef5f1f2b6039f10da650c726b0db49f863341f
size 2079092

View File

@ -0,0 +1,6 @@
-----BEGIN PGP SIGNATURE-----
iF0EABECAB0WIQRY4MER459UCMXT7HbBpg6s5wf9pQUCXRp3DQAKCRDBpg6s5wf9
pXcXAJ4mS16ZMXmgVm8row8xjmSBZGzI4QCeK4IPCUTqj6bC/8R3tsY1JW0zhOE=
=MO+e
-----END PGP SIGNATURE-----

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:aa2f835ef8f50072630ddc48b9eb65f1f456014ffa3b5adddcb6bf390a3c5828
size 2130292

View File

@ -1,3 +1,72 @@
-------------------------------------------------------------------
Tue Jul 2 07:19:53 UTC 2019 - Ismail Dönmez <idonmez@suse.com>
- 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
instances.
* 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 <idonmez@suse.com>
- 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
consistency.
* `TT_Set_MM_Blend' could fail if called repeatedly with the same
arguments.
* The precision of handling deltas in Variation Fonts has been
increased.The problem did only show up with multidimensional
designspaces.
* 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
versions.
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
fonts.
* `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
defined.
* `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 <idonmez@suse.com>

BIN
freetype2.keyring Normal file

Binary file not shown.

View File

@ -1,7 +1,7 @@
#
# spec file for package freetype2
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,18 +16,21 @@
#
%define doc_version 2.9.1
%define doc_version 2.10.1
Name: freetype2
Version: 2.9.1
Version: 2.10.1
Release: 0
Summary: A TrueType Font Library
License: SUSE-Freetype OR GPL-2.0-or-later
Group: System/Libraries
URL: https://www.freetype.org
Source0: https://download.savannah.gnu.org/releases/freetype/freetype-%{version}.tar.bz2
Source1: https://download.savannah.gnu.org/releases/freetype/freetype-doc-%{doc_version}.tar.bz2
Source0: https://downloads.sourceforge.net/project/freetype/freetype2/%{version}/freetype-%{version}.tar.xz
Source1: https://downloads.sourceforge.net/project/freetype/freetype-docs/%{version}/freetype-doc-%{version}.tar.xz
Source2: %{name}.sh
Source3: baselibs.conf
Source10: https://downloads.sourceforge.net/project/freetype/freetype2/%{version}/freetype-%{version}.tar.xz.sig
Source11: https://downloads.sourceforge.net/project/freetype/freetype-docs/%{version}/freetype-doc-%{version}.tar.xz.sig
Source12: freetype2.keyring
Source1000: baselibs.conf
Patch0: bugzilla-308961-cmex-workaround.patch
# PATCH-FIX-OPENSUSE don-t-mark-libpng-as-required-library.patch -- it is private in .pc
Patch1: don-t-mark-libpng-as-required-library.patch

3
ft2demos-2.10.1.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b1857376bd3eaad4fdb4bc7894cb557310186856099494f32e8998ddc32b41e8
size 229228

View File

@ -0,0 +1,6 @@
-----BEGIN PGP SIGNATURE-----
iF0EABECAB0WIQRY4MER459UCMXT7HbBpg6s5wf9pQUCXRp3DAAKCRDBpg6s5wf9
pdLnAKCIcB01Z4cakTu+z1F24c5DXU3y3wCdHSBh6bloqyTI1VQsDVbgFNnvjWU=
=HpWY
-----END PGP SIGNATURE-----

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:806eb6363ee5963174a6740f9b7893377912165899c2c1f6372c422aab818c6a
size 233462

View File

@ -1,3 +1,37 @@
-------------------------------------------------------------------
Tue Jul 2 07:21:03 UTC 2019 - Ismail Dönmez <idonmez@suse.com>
- 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 <idonmez@suse.com>
- 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
glyphs.
* `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 <i@marguerite.su>

View File

@ -1,7 +1,7 @@
#
# spec file for package ft2demos
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,16 +16,19 @@
#
%define freetype_version 2.9.1
%define freetype_version 2.10.1
Name: ft2demos
Version: 2.9.1
Version: 2.10.1
Release: 0
Summary: Freetype2 Utilities and Demo Programs
License: GPL-2.0-or-later
Group: Productivity/Publishing/Other
Url: https://www.freetype.org
Source0: https://download.savannah.nongnu.org/releases/freetype/freetype-%{freetype_version}.tar.bz2
Source1: https://download.savannah.nongnu.org/releases/freetype/ft2demos-%{version}.tar.bz2
Source0: https://downloads.sourceforge.net/project/freetype/freetype2/%{version}/freetype-%{version}.tar.xz
Source1: https://downloads.sourceforge.net/project/freetype/freetype-demos/%{version}/ft2demos-%{version}.tar.xz
Source10: https://downloads.sourceforge.net/project/freetype/freetype2/%{version}/freetype-%{version}.tar.xz.sig
Source11: https://downloads.sourceforge.net/project/freetype/freetype-demos/%{version}/ft2demos-%{version}.tar.xz.sig
Source12: freetype2.keyring
Source1000: bnc628213_test.otf
Source1004: bnc629447_sigsegv31.ttf
Source1013: bnc633938_badbdf.0

View File

@ -1,8 +1,8 @@
Index: ft2demos-2.6/src/ttdebug.c
Index: ft2demos-2.10.0/src/ttdebug.c
===================================================================
--- ft2demos-2.6.orig/src/ttdebug.c
+++ ft2demos-2.6/src/ttdebug.c
@@ -1910,11 +1910,11 @@
--- ft2demos-2.10.0.orig/src/ttdebug.c
+++ ft2demos-2.10.0/src/ttdebug.c
@@ -2024,11 +2024,11 @@
FT_Library_Version( library, &major, &minor, &patch );