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

OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=156
This commit is contained in:
Ismail Dönmez 2019-06-24 07:26:24 +00:00 committed by Git OBS Bridge
parent 756656c68e
commit 625947c136
16 changed files with 118 additions and 56 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.0.tar.bz2 Normal file
View File

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

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:5fdc0fd118a0a82ff36054988b82ea2fc0da2302962b51d14ca2880ee4959fb2
size 2130601

View File

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

View File

@ -1,3 +1,46 @@
-------------------------------------------------------------------
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>

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,9 +16,9 @@
#
%define doc_version 2.9.1
%define doc_version 2.10.0
Name: freetype2
Version: 2.9.1
Version: 2.10.0
Release: 0
Summary: A TrueType Font Library
License: SUSE-Freetype OR GPL-2.0-or-later

3
ft2demos-2.10.0.tar.bz2 Normal file
View File

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

View File

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

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
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,9 +16,9 @@
#
%define freetype_version 2.9.1
%define freetype_version 2.10.0
Name: ft2demos
Version: 2.9.1
Version: 2.10.0
Release: 0
Summary: Freetype2 Utilities and Demo Programs
License: GPL-2.0-or-later

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