- Update to version 2.11.0

* A new rendering  module has been added to create 8-bit  Signed
    Distance Field (SDF)  bitmaps for both outline and bitmap glyphs.
  * A new, experimental API is now available for surfacing properties
    of 'COLR' v1 color fonts.
  * A new function `FT_Get_Transform` returns the values set by
    FT_Set_Transform.
  * The legacy Type 1 and CFF engines are further demoted due to lack
    of CFF2 charstring support.
  * The experimental 'warp' mode (AF_CONFIG_OPTION_USE_WARPER) for the
    auto-hinter has been removed.
  * The smooth rasterizer performance has been improved by >10%.
  * PCF bitmap fonts compressed with LZW (these are usually files with
    the extension .pcf.Z) are now handled correctly.

- Update to version 2.11.0
  * A new demo program `ftsdf` is available to display Signed Distance
    Fields of glyphs.
  * The `ftlint` demo program has been  extended to do more testing of
    its input.
  * The `ttdebug` demo program didn't show changed point coordinates
    (bug introduced in version 2.10.3).
  * It is now possible to adjust the axis increment for variable fonts
    in the `ftmulti` demo program.
  * It is now possible to change the hinting engine in the `ftstring`
    demo program.
  * The graphical demo programs work better now in native color depth
    on win32 and x11.

OBS-URL: https://build.opensuse.org/package/show/M17N/freetype2?expand=0&rev=168
This commit is contained in:
Ismail Dönmez 2021-07-23 07:23:54 +00:00 committed by Git OBS Bridge
parent fbb0c3010d
commit db17718696
21 changed files with 111 additions and 63 deletions

View File

@ -2,11 +2,11 @@
src/base/ftobjs.c | 5 +++++
1 file changed, 5 insertions(+)
Index: freetype-2.10.4/src/base/ftobjs.c
Index: freetype-2.11.0/src/base/ftobjs.c
===================================================================
--- freetype-2.10.4.orig/src/base/ftobjs.c
+++ freetype-2.10.4/src/base/ftobjs.c
@@ -2602,6 +2602,11 @@
--- freetype-2.11.0.orig/src/base/ftobjs.c
+++ freetype-2.11.0/src/base/ftobjs.c
@@ -2646,6 +2646,11 @@
if ( FT_IS_SCALABLE( face ) )
{

View File

@ -1,8 +1,8 @@
Index: freetype-2.10.4/builds/unix/configure
Index: freetype-2.11.0/builds/unix/configure
===================================================================
--- freetype-2.10.4.orig/builds/unix/configure
+++ freetype-2.10.4/builds/unix/configure
@@ -15014,7 +15014,6 @@ fi
--- freetype-2.11.0.orig/builds/unix/configure
+++ freetype-2.11.0/builds/unix/configure
@@ -15672,7 +15672,6 @@ fi
# entries in Requires.private are separated by commas
REQUIRES_PRIVATE="$zlib_reqpriv, \
$bzip2_reqpriv, \
@ -10,7 +10,7 @@ Index: freetype-2.10.4/builds/unix/configure
$harfbuzz_reqpriv, \
$brotli_reqpriv"
# beautify
@@ -15029,7 +15028,6 @@ REQUIRES_PRIVATE=`echo "$REQUIRES_PRIVAT
@@ -15687,7 +15686,6 @@ REQUIRES_PRIVATE=`echo "$REQUIRES_PRIVAT
LIBS_PRIVATE="$zlib_libspriv \
$bzip2_libspriv \
@ -18,7 +18,7 @@ Index: freetype-2.10.4/builds/unix/configure
$harfbuzz_libspriv \
$brotli_libspriv \
$ft2_extra_libs"
@@ -15042,7 +15040,6 @@ LIBS_PRIVATE=`echo "$LIBS_PRIVATE" \
@@ -15700,7 +15698,6 @@ LIBS_PRIVATE=`echo "$LIBS_PRIVATE" \
LIBSSTATIC_CONFIG="-lfreetype \
$zlib_libsstaticconf \
$bzip2_libsstaticconf \
@ -26,11 +26,11 @@ Index: freetype-2.10.4/builds/unix/configure
$harfbuzz_libsstaticconf \
$brotli_libsstaticconf \
$ft2_extra_libs"
Index: freetype-2.10.4/builds/unix/configure.raw
Index: freetype-2.11.0/builds/unix/configure.raw
===================================================================
--- freetype-2.10.4.orig/builds/unix/configure.raw
+++ freetype-2.10.4/builds/unix/configure.raw
@@ -1039,7 +1039,6 @@ fi
--- freetype-2.11.0.orig/builds/unix/configure.raw
+++ freetype-2.11.0/builds/unix/configure.raw
@@ -1036,7 +1036,6 @@ fi
# entries in Requires.private are separated by commas
REQUIRES_PRIVATE="$zlib_reqpriv, \
$bzip2_reqpriv, \
@ -38,7 +38,7 @@ Index: freetype-2.10.4/builds/unix/configure.raw
$harfbuzz_reqpriv, \
$brotli_reqpriv"
# beautify
@@ -1054,7 +1053,6 @@ REQUIRES_PRIVATE=`echo "$REQUIRES_PRIVAT
@@ -1051,7 +1050,6 @@ REQUIRES_PRIVATE=`echo "$REQUIRES_PRIVAT
LIBS_PRIVATE="$zlib_libspriv \
$bzip2_libspriv \
@ -46,7 +46,7 @@ Index: freetype-2.10.4/builds/unix/configure.raw
$harfbuzz_libspriv \
$brotli_libspriv \
$ft2_extra_libs"
@@ -1067,7 +1065,6 @@ LIBS_PRIVATE=`echo "$LIBS_PRIVATE" \
@@ -1064,7 +1062,6 @@ LIBS_PRIVATE=`echo "$LIBS_PRIVATE" \
LIBSSTATIC_CONFIG="-lfreetype \
$zlib_libsstaticconf \
$bzip2_libsstaticconf \

View File

@ -1,8 +1,8 @@
Index: freetype-2.10.0/include/freetype/config/ftoption.h
Index: freetype-2.11.0/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
--- freetype-2.11.0.orig/include/freetype/config/ftoption.h
+++ freetype-2.11.0/include/freetype/config/ftoption.h
@@ -688,8 +688,8 @@ FT_BEGIN_HEADER
* https://www.microsoft.com/typography/cleartype/truetypecleartype.aspx
*/
/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING 1 */

View File

@ -1,8 +1,8 @@
Index: freetype-2.10.4/include/freetype/config/ftoption.h
Index: freetype-2.11.0/include/freetype/config/ftoption.h
===================================================================
--- freetype-2.10.4.orig/include/freetype/config/ftoption.h
+++ freetype-2.10.4/include/freetype/config/ftoption.h
@@ -861,7 +861,7 @@ FT_BEGIN_HEADER
--- freetype-2.11.0.orig/include/freetype/config/ftoption.h
+++ freetype-2.11.0/include/freetype/config/ftoption.h
@@ -877,7 +877,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.
*/

View File

@ -1,8 +1,8 @@
Index: freetype-2.10.4/include/freetype/config/ftoption.h
Index: freetype-2.11.0/include/freetype/config/ftoption.h
===================================================================
--- freetype-2.10.4.orig/include/freetype/config/ftoption.h
+++ freetype-2.10.4/include/freetype/config/ftoption.h
@@ -124,7 +124,7 @@ FT_BEGIN_HEADER
--- freetype-2.11.0.orig/include/freetype/config/ftoption.h
+++ freetype-2.11.0/include/freetype/config/ftoption.h
@@ -123,7 +123,7 @@ FT_BEGIN_HEADER
* When this macro is not defined, FreeType offers alternative LCD
* rendering technology that produces excellent output.
*/

View File

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

View File

@ -1,6 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iF0EABECAB0WIQRY4MER459UCMXT7HbBpg6s5wf9pQUCX450LgAKCRDBpg6s5wf9
pZEVAKCDmRHm9r1pxCwXCBNQfFMe4d1NQgCcDm+RLoTDuc2y4jmjLFMAqfMhzvo=
=Pt2+
-----END PGP SIGNATURE-----

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

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

View File

@ -0,0 +1,6 @@
-----BEGIN PGP SIGNATURE-----
iF0EABECAB0WIQRY4MER459UCMXT7HbBpg6s5wf9pQUCYPWmjgAKCRDBpg6s5wf9
pcZUAJwMV5FsVpEm77y/j2qWaLbMhxfRQQCfV3DzMxH/sijRaadoggnLhIVfZrE=
=6M5s
-----END PGP SIGNATURE-----

View File

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

View File

@ -1,6 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iF0EABECAB0WIQRY4MER459UCMXT7HbBpg6s5wf9pQUCX450LwAKCRDBpg6s5wf9
pfbTAJ9Zuk7lUdVXP83dBZo2AOrO1cr8HgCfa+SE7B+ozJu8nyUItUDpcusQ64M=
=QhdQ
-----END PGP SIGNATURE-----

View File

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

View File

@ -0,0 +1,6 @@
-----BEGIN PGP SIGNATURE-----
iF0EABECAB0WIQRY4MER459UCMXT7HbBpg6s5wf9pQUCYPWmjgAKCRDBpg6s5wf9
pXnvAJ91wVy82Nd8z2IwAMYrGDhm2PVHHACfb46vBwFl75uOlU46ZMw9pUgUH/Q=
=wW4C
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Fri Jul 23 07:10:11 UTC 2021 - Ismail Dönmez <ismail@i10z.com>
- Update to version 2.11.0
* A new rendering module has been added to create 8-bit Signed
Distance Field (SDF) bitmaps for both outline and bitmap glyphs.
* A new, experimental API is now available for surfacing properties
of 'COLR' v1 color fonts.
* A new function `FT_Get_Transform` returns the values set by
FT_Set_Transform.
* The legacy Type 1 and CFF engines are further demoted due to lack
of CFF2 charstring support.
* The experimental 'warp' mode (AF_CONFIG_OPTION_USE_WARPER) for the
auto-hinter has been removed.
* The smooth rasterizer performance has been improved by >10%.
* PCF bitmap fonts compressed with LZW (these are usually files with
the extension .pcf.Z) are now handled correctly.
-------------------------------------------------------------------
Tue Oct 20 09:38:30 UTC 2020 - Ismail Dönmez <idonmez@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package freetype2
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,12 +16,12 @@
#
%define doc_version 2.10.4
%define doc_version 2.11.0
Name: freetype2
Version: 2.10.4
Version: 2.11.0
Release: 0
Summary: A TrueType Font Library
License: SUSE-Freetype OR GPL-2.0-or-later
License: GPL-2.0-or-later OR SUSE-Freetype
Group: System/Libraries
URL: https://www.freetype.org
Source0: https://downloads.sourceforge.net/project/freetype/freetype2/%{version}/freetype-%{version}.tar.xz

View File

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

View File

@ -1,6 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iF0EABECAB0WIQRY4MER459UCMXT7HbBpg6s5wf9pQUCX450LgAKCRDBpg6s5wf9
pdxXAJ9a9ZunEnelwPHRHk3qfdv7mPRhhACfUeWQ0+3pOUVX03LoeytYdifvNfM=
=MZ7h
-----END PGP SIGNATURE-----

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

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

View File

@ -0,0 +1,6 @@
-----BEGIN PGP SIGNATURE-----
iF0EABECAB0WIQRY4MER459UCMXT7HbBpg6s5wf9pQUCYPWmjgAKCRDBpg6s5wf9
pQ5gAJ0bzNbYogE9OiDR3b78K9Jv2wVnigCfV6M/UCvOkI+ZyLb8pG8NzQuerEE=
=xqDV
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Fri Jul 23 07:12:47 UTC 2021 - Ismail Dönmez <ismail@i10z.com>
- Update to version 2.11.0
* A new demo program `ftsdf` is available to display Signed Distance
Fields of glyphs.
* The `ftlint` demo program has been extended to do more testing of
its input.
* The `ttdebug` demo program didn't show changed point coordinates
(bug introduced in version 2.10.3).
* It is now possible to adjust the axis increment for variable fonts
in the `ftmulti` demo program.
* It is now possible to change the hinting engine in the `ftstring`
demo program.
* The graphical demo programs work better now in native color depth
on win32 and x11.
-------------------------------------------------------------------
Tue Oct 20 09:40:04 UTC 2020 - Ismail Dönmez <idonmez@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package ft2demos
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# 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.10.4
%define freetype_version 2.11.0
Name: ft2demos
Version: 2.10.4
Version: 2.11.0
Release: 0
Summary: Freetype2 Utilities and Demo Programs
License: GPL-2.0-or-later
@ -140,6 +140,15 @@ Conflicts: %{name} < %{version}-%{release}
Multiple masters font viewer
This tool is part of the FreeType project
%package -n ftsdf
Summary: Signed Distance Fields viewer
Group: Productivity/Publishing/Other
Conflicts: %{name} < %{version}-%{release}
%description -n ftsdf
Signed Distance Fields viewer
This tool is part of the FreeType project
%package -n ftstring
Summary: String viewer
Group: Productivity/Publishing/Other
@ -184,7 +193,7 @@ export CFLAGS="%{optflags} -std=gnu99 -D_GNU_SOURCE $(getconf LFS_CFLAGS)"
make %{?_smp_mflags}
pushd ..
ln -s freetype-%{freetype_version} freetype2
ln -s freetype-%{freetype_version} freetype
cd ft2demos-%{version}
make %{?_smp_mflags}
@ -244,6 +253,10 @@ popd
%defattr(-,root,root)
%{_bindir}/ftmulti
%files -n ftsdf
%defattr(-,root,root)
%{_bindir}/ftsdf
%files -n ftstring
%defattr(-,root,root)
%{_bindir}/ftstring