From db1771869655ce0ec409940182d82e8f9dc05e0225c10f241b2f19d363432a8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Fri, 23 Jul 2021 07:23:54 +0000 Subject: [PATCH] - 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 --- bugzilla-308961-cmex-workaround.patch | 8 +++---- don-t-mark-libpng-as-required-library.patch | 24 ++++++++++----------- enable-infinality-subpixel-hinting.patch | 8 +++---- enable-long-family-names-by-default.patch | 8 +++---- enable-subpixel-rendering.patch | 8 +++---- freetype-2.10.4.tar.xz | 3 --- freetype-2.10.4.tar.xz.sig | 6 ------ freetype-2.11.0.tar.xz | 3 +++ freetype-2.11.0.tar.xz.sig | 6 ++++++ freetype-doc-2.10.4.tar.xz | 3 --- freetype-doc-2.10.4.tar.xz.sig | 6 ------ freetype-doc-2.11.0.tar.xz | 3 +++ freetype-doc-2.11.0.tar.xz.sig | 6 ++++++ freetype2.changes | 18 ++++++++++++++++ freetype2.spec | 8 +++---- ft2demos-2.10.4.tar.xz | 3 --- ft2demos-2.10.4.tar.xz.sig | 6 ------ ft2demos-2.11.0.tar.xz | 3 +++ ft2demos-2.11.0.tar.xz.sig | 6 ++++++ ft2demos.changes | 17 +++++++++++++++ ft2demos.spec | 21 ++++++++++++++---- 21 files changed, 111 insertions(+), 63 deletions(-) delete mode 100644 freetype-2.10.4.tar.xz delete mode 100644 freetype-2.10.4.tar.xz.sig create mode 100644 freetype-2.11.0.tar.xz create mode 100644 freetype-2.11.0.tar.xz.sig delete mode 100644 freetype-doc-2.10.4.tar.xz delete mode 100644 freetype-doc-2.10.4.tar.xz.sig create mode 100644 freetype-doc-2.11.0.tar.xz create mode 100644 freetype-doc-2.11.0.tar.xz.sig delete mode 100644 ft2demos-2.10.4.tar.xz delete mode 100644 ft2demos-2.10.4.tar.xz.sig create mode 100644 ft2demos-2.11.0.tar.xz create mode 100644 ft2demos-2.11.0.tar.xz.sig diff --git a/bugzilla-308961-cmex-workaround.patch b/bugzilla-308961-cmex-workaround.patch index a8249e1..9b5df52 100644 --- a/bugzilla-308961-cmex-workaround.patch +++ b/bugzilla-308961-cmex-workaround.patch @@ -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 ) ) { diff --git a/don-t-mark-libpng-as-required-library.patch b/don-t-mark-libpng-as-required-library.patch index f33c55f..7ed6af5 100644 --- a/don-t-mark-libpng-as-required-library.patch +++ b/don-t-mark-libpng-as-required-library.patch @@ -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 \ diff --git a/enable-infinality-subpixel-hinting.patch b/enable-infinality-subpixel-hinting.patch index 55abd35..af0fb78 100644 --- a/enable-infinality-subpixel-hinting.patch +++ b/enable-infinality-subpixel-hinting.patch @@ -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 */ diff --git a/enable-long-family-names-by-default.patch b/enable-long-family-names-by-default.patch index 21861c4..e412866 100644 --- a/enable-long-family-names-by-default.patch +++ b/enable-long-family-names-by-default.patch @@ -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. */ diff --git a/enable-subpixel-rendering.patch b/enable-subpixel-rendering.patch index ea66a91..f63b572 100644 --- a/enable-subpixel-rendering.patch +++ b/enable-subpixel-rendering.patch @@ -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. */ diff --git a/freetype-2.10.4.tar.xz b/freetype-2.10.4.tar.xz deleted file mode 100644 index c925a8c..0000000 --- a/freetype-2.10.4.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:86a854d8905b19698bbc8f23b860bc104246ce4854dcea8e3b0fb21284f75784 -size 2416620 diff --git a/freetype-2.10.4.tar.xz.sig b/freetype-2.10.4.tar.xz.sig deleted file mode 100644 index a43b581..0000000 --- a/freetype-2.10.4.tar.xz.sig +++ /dev/null @@ -1,6 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iF0EABECAB0WIQRY4MER459UCMXT7HbBpg6s5wf9pQUCX450LgAKCRDBpg6s5wf9 -pZEVAKCDmRHm9r1pxCwXCBNQfFMe4d1NQgCcDm+RLoTDuc2y4jmjLFMAqfMhzvo= -=Pt2+ ------END PGP SIGNATURE----- diff --git a/freetype-2.11.0.tar.xz b/freetype-2.11.0.tar.xz new file mode 100644 index 0000000..8bb856c --- /dev/null +++ b/freetype-2.11.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8bee39bd3968c4804b70614a0a3ad597299ad0e824bc8aad5ce8aaf48067bde7 +size 2256640 diff --git a/freetype-2.11.0.tar.xz.sig b/freetype-2.11.0.tar.xz.sig new file mode 100644 index 0000000..4a537f7 --- /dev/null +++ b/freetype-2.11.0.tar.xz.sig @@ -0,0 +1,6 @@ +-----BEGIN PGP SIGNATURE----- + +iF0EABECAB0WIQRY4MER459UCMXT7HbBpg6s5wf9pQUCYPWmjgAKCRDBpg6s5wf9 +pcZUAJwMV5FsVpEm77y/j2qWaLbMhxfRQQCfV3DzMxH/sijRaadoggnLhIVfZrE= +=6M5s +-----END PGP SIGNATURE----- diff --git a/freetype-doc-2.10.4.tar.xz b/freetype-doc-2.10.4.tar.xz deleted file mode 100644 index b5bba59..0000000 --- a/freetype-doc-2.10.4.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cca1c19d1efa911bb685d919b5b0fe1279b0699bf8eb6a3d3bf9f02784758212 -size 2079084 diff --git a/freetype-doc-2.10.4.tar.xz.sig b/freetype-doc-2.10.4.tar.xz.sig deleted file mode 100644 index 50b1b57..0000000 --- a/freetype-doc-2.10.4.tar.xz.sig +++ /dev/null @@ -1,6 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iF0EABECAB0WIQRY4MER459UCMXT7HbBpg6s5wf9pQUCX450LwAKCRDBpg6s5wf9 -pfbTAJ9Zuk7lUdVXP83dBZo2AOrO1cr8HgCfa+SE7B+ozJu8nyUItUDpcusQ64M= -=QhdQ ------END PGP SIGNATURE----- diff --git a/freetype-doc-2.11.0.tar.xz b/freetype-doc-2.11.0.tar.xz new file mode 100644 index 0000000..d9c8cae --- /dev/null +++ b/freetype-doc-2.11.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5b0b5f504f3547ab6123049917b36cfe6944837eaa7baa86ae742a596b5c206c +size 2070604 diff --git a/freetype-doc-2.11.0.tar.xz.sig b/freetype-doc-2.11.0.tar.xz.sig new file mode 100644 index 0000000..5923c49 --- /dev/null +++ b/freetype-doc-2.11.0.tar.xz.sig @@ -0,0 +1,6 @@ +-----BEGIN PGP SIGNATURE----- + +iF0EABECAB0WIQRY4MER459UCMXT7HbBpg6s5wf9pQUCYPWmjgAKCRDBpg6s5wf9 +pXnvAJ91wVy82Nd8z2IwAMYrGDhm2PVHHACfb46vBwFl75uOlU46ZMw9pUgUH/Q= +=wW4C +-----END PGP SIGNATURE----- diff --git a/freetype2.changes b/freetype2.changes index 9dba5ab..1737a68 100644 --- a/freetype2.changes +++ b/freetype2.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Fri Jul 23 07:10:11 UTC 2021 - Ismail Dönmez + +- 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 diff --git a/freetype2.spec b/freetype2.spec index cd08c3f..cf51f2e 100644 --- a/freetype2.spec +++ b/freetype2.spec @@ -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 diff --git a/ft2demos-2.10.4.tar.xz b/ft2demos-2.10.4.tar.xz deleted file mode 100644 index 8744048..0000000 --- a/ft2demos-2.10.4.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3f873ebe4fb387da3859149459f9be95320ce1fd56b50f8fdb9d2a8492887083 -size 236712 diff --git a/ft2demos-2.10.4.tar.xz.sig b/ft2demos-2.10.4.tar.xz.sig deleted file mode 100644 index 836843a..0000000 --- a/ft2demos-2.10.4.tar.xz.sig +++ /dev/null @@ -1,6 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iF0EABECAB0WIQRY4MER459UCMXT7HbBpg6s5wf9pQUCX450LgAKCRDBpg6s5wf9 -pdxXAJ9a9ZunEnelwPHRHk3qfdv7mPRhhACfUeWQ0+3pOUVX03LoeytYdifvNfM= -=MZ7h ------END PGP SIGNATURE----- diff --git a/ft2demos-2.11.0.tar.xz b/ft2demos-2.11.0.tar.xz new file mode 100644 index 0000000..cf9a31d --- /dev/null +++ b/ft2demos-2.11.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eb0622296c6dfb38fc305c99ebbfb5c770db7e344b94f63042ec03f3db164550 +size 257316 diff --git a/ft2demos-2.11.0.tar.xz.sig b/ft2demos-2.11.0.tar.xz.sig new file mode 100644 index 0000000..5faeb28 --- /dev/null +++ b/ft2demos-2.11.0.tar.xz.sig @@ -0,0 +1,6 @@ +-----BEGIN PGP SIGNATURE----- + +iF0EABECAB0WIQRY4MER459UCMXT7HbBpg6s5wf9pQUCYPWmjgAKCRDBpg6s5wf9 +pQ5gAJ0bzNbYogE9OiDR3b78K9Jv2wVnigCfV6M/UCvOkI+ZyLb8pG8NzQuerEE= +=xqDV +-----END PGP SIGNATURE----- diff --git a/ft2demos.changes b/ft2demos.changes index f16b02f..55ba2b0 100644 --- a/ft2demos.changes +++ b/ft2demos.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Fri Jul 23 07:12:47 UTC 2021 - Ismail Dönmez + +- 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 diff --git a/ft2demos.spec b/ft2demos.spec index 2d5a8ee..2ca9195 100644 --- a/ft2demos.spec +++ b/ft2demos.spec @@ -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