Accepting request 974478 from M17N
OBS-URL: https://build.opensuse.org/request/show/974478 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/freetype2?expand=0&rev=95
This commit is contained in:
commit
75f0fd8f34
@ -1,31 +0,0 @@
|
||||
From 079a22da037835daf5be2bd9eccf7bc1eaa2e783 Mon Sep 17 00:00:00 2001
|
||||
From: Werner Lemberg <wl@gnu.org>
|
||||
Date: Tue, 19 Apr 2022 09:28:21 +0200
|
||||
Subject: [PATCH] * src/truetype/ttgload.c (TT_Process_Simple_Glyph): Integer
|
||||
overflow.
|
||||
|
||||
Reported as
|
||||
|
||||
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=46792
|
||||
---
|
||||
src/truetype/ttgload.c | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/truetype/ttgload.c b/src/truetype/ttgload.c
|
||||
index 0ecde22b7..2ca63d65a 100644
|
||||
--- a/src/truetype/ttgload.c
|
||||
+++ b/src/truetype/ttgload.c
|
||||
@@ -1104,8 +1104,8 @@
|
||||
|
||||
for ( ; vec < limit; vec++, u++ )
|
||||
{
|
||||
- vec->x = ( FT_MulFix( u->x, x_scale ) + 32 ) >> 6;
|
||||
- vec->y = ( FT_MulFix( u->y, y_scale ) + 32 ) >> 6;
|
||||
+ vec->x = ADD_LONG( FT_MulFix( u->x, x_scale ), 32 ) >> 6;
|
||||
+ vec->y = ADD_LONG( FT_MulFix( u->y, y_scale ), 32 ) >> 6;
|
||||
}
|
||||
}
|
||||
else
|
||||
--
|
||||
GitLab
|
||||
|
@ -1,8 +1,8 @@
|
||||
Index: freetype-2.12.0/builds/unix/configure
|
||||
Index: freetype-2.12.1/builds/unix/configure
|
||||
===================================================================
|
||||
--- freetype-2.12.0.orig/builds/unix/configure
|
||||
+++ freetype-2.12.0/builds/unix/configure
|
||||
@@ -16214,7 +16214,6 @@ fi
|
||||
--- freetype-2.12.1.orig/builds/unix/configure
|
||||
+++ freetype-2.12.1/builds/unix/configure
|
||||
@@ -16368,7 +16368,6 @@ fi
|
||||
# entries in Requires.private are separated by commas
|
||||
PKGCONFIG_REQUIRES_PRIVATE="$zlib_reqpriv, \
|
||||
$bzip2_reqpriv, \
|
||||
@ -10,7 +10,7 @@ Index: freetype-2.12.0/builds/unix/configure
|
||||
$harfbuzz_reqpriv, \
|
||||
$brotli_reqpriv"
|
||||
# beautify
|
||||
@@ -16242,7 +16241,6 @@ PKGCONFIG_LIBS_PRIVATE=`echo "$PKGCONFIG
|
||||
@@ -16396,7 +16395,6 @@ PKGCONFIG_LIBS_PRIVATE=`echo "$PKGCONFIG
|
||||
LIBSSTATIC_CONFIG="-lfreetype \
|
||||
$zlib_libsstaticconf \
|
||||
$bzip2_libsstaticconf \
|
||||
@ -18,11 +18,11 @@ Index: freetype-2.12.0/builds/unix/configure
|
||||
$harfbuzz_libsstaticconf \
|
||||
$brotli_libsstaticconf \
|
||||
$ft2_extra_libs"
|
||||
Index: freetype-2.12.0/builds/unix/configure.raw
|
||||
Index: freetype-2.12.1/builds/unix/configure.raw
|
||||
===================================================================
|
||||
--- freetype-2.12.0.orig/builds/unix/configure.raw
|
||||
+++ freetype-2.12.0/builds/unix/configure.raw
|
||||
@@ -987,7 +987,6 @@ fi
|
||||
--- freetype-2.12.1.orig/builds/unix/configure.raw
|
||||
+++ freetype-2.12.1/builds/unix/configure.raw
|
||||
@@ -999,7 +999,6 @@ fi
|
||||
# entries in Requires.private are separated by commas
|
||||
PKGCONFIG_REQUIRES_PRIVATE="$zlib_reqpriv, \
|
||||
$bzip2_reqpriv, \
|
||||
@ -30,7 +30,7 @@ Index: freetype-2.12.0/builds/unix/configure.raw
|
||||
$harfbuzz_reqpriv, \
|
||||
$brotli_reqpriv"
|
||||
# beautify
|
||||
@@ -1015,7 +1014,6 @@ PKGCONFIG_LIBS_PRIVATE=`echo "$PKGCONFIG
|
||||
@@ -1027,7 +1026,6 @@ PKGCONFIG_LIBS_PRIVATE=`echo "$PKGCONFIG
|
||||
LIBSSTATIC_CONFIG="-lfreetype \
|
||||
$zlib_libsstaticconf \
|
||||
$bzip2_libsstaticconf \
|
||||
|
@ -1,8 +1,8 @@
|
||||
Index: freetype-2.11.0/include/freetype/config/ftoption.h
|
||||
Index: freetype-2.12.1/include/freetype/config/ftoption.h
|
||||
===================================================================
|
||||
--- 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
|
||||
--- freetype-2.12.1.orig/include/freetype/config/ftoption.h
|
||||
+++ freetype-2.12.1/include/freetype/config/ftoption.h
|
||||
@@ -706,8 +706,8 @@ FT_BEGIN_HEADER
|
||||
* https://www.microsoft.com/typography/cleartype/truetypecleartype.aspx
|
||||
*/
|
||||
/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING 1 */
|
||||
|
@ -1,32 +0,0 @@
|
||||
From 978eefee5401abee6bf702c6bcde9afb47893145 Mon Sep 17 00:00:00 2001
|
||||
From: Georg Brandl <georg@python.org>
|
||||
Date: Tue, 12 Apr 2022 11:43:37 +0000
|
||||
Subject: [PATCH] * src/cff/cffgload.c (cff_slot_load) [FT_CONFIG_OPTION_SVG]:
|
||||
Fix segfault.
|
||||
References: boo#1198497
|
||||
|
||||
This can happen if the function is called with `size` being `NULL`.
|
||||
|
||||
Fixes #1147.
|
||||
---
|
||||
src/cff/cffgload.c | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/cff/cffgload.c b/src/cff/cffgload.c
|
||||
index 5c15c804b..7586b886f 100644
|
||||
--- a/src/cff/cffgload.c
|
||||
+++ b/src/cff/cffgload.c
|
||||
@@ -370,8 +370,8 @@
|
||||
SFNT_Service sfnt;
|
||||
|
||||
|
||||
- if ( size->root.metrics.x_ppem < 1 ||
|
||||
- size->root.metrics.y_ppem < 1 )
|
||||
+ if ( size && (size->root.metrics.x_ppem < 1 ||
|
||||
+ size->root.metrics.y_ppem < 1 ) )
|
||||
{
|
||||
error = FT_THROW( Invalid_Size_Handle );
|
||||
return error;
|
||||
--
|
||||
2.35.1
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ef5c336aacc1a079ff9262d6308d6c2a066dd4d2a905301c4adda9b354399033
|
||||
size 2340352
|
@ -1,16 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCAAdFiEE4wZ0cHhWQJ/xlIAQvmw6rGOtjj8FAmJF1o0ACgkQvmw6rGOt
|
||||
jj8WnhAAljqY66SYda3abRlIcA3Y0TBdHry1jytE7J3seimzLYo3n0/dR+2I0SDH
|
||||
iSBluaQVSylhf7B2drsVCpIBERBENajpz8gTb36U5ToV7BuoPyiCaxSI+v6J2pQV
|
||||
cQo6qqJNFUlHtCKlcdNq2Ywb7sd5epVq1rQa4YQDZPsGBLVmV1mqWEpXGo6ZBrrj
|
||||
m8I4GPe9hoZyuGy6O6euKcssj8Qd4+qKyuhhw6+yJYwvk+rH7SRwZRqYp9NNdug5
|
||||
sviu19i/FuXqBte1tX9z7KinSKU+52RZpM9HKDfIyCg5KiVfE541d+D5/nGXfHrs
|
||||
KUZ2OoEznOMyHNBcNY/VZJ5NaY7Lr5ePvfDLgZT1QS9QqPH6S9TMFdGTaQkK1jQb
|
||||
H+mbCbv9DLiZTwBpFq6deL8p6Xti+EF4pqfVrCwZIvWkS8yB5Z498WDbpB2BA9yG
|
||||
+KF/kQPon0QaThxEqpMIFt0bguXz5/DvK0rTyCi+a/hTe7JLdU7N9DQVSZzfUpq4
|
||||
4Vjg3lnV8BGEttNGr6Nhd7weX3j5+q9mlRKGPaZvEfONwHr27f89cCRnNTsH/8Xk
|
||||
0zy/1dz+SuRu3YjNRxzIi4t2d9O9jtHRIPsET3yM45uYNff/YfdQ2gny1rrn50/r
|
||||
bFwh0lwnAtJxt+r3KPOIuMC8h0s+QGw2V2oJM+gLRdOMtG8VmEo=
|
||||
=/eFy
|
||||
-----END PGP SIGNATURE-----
|
3
freetype-2.12.1.tar.xz
Normal file
3
freetype-2.12.1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4766f20157cc4cf0cd292f80bf917f92d1c439b243ac3018debf6b9140c41a7f
|
||||
size 2471916
|
16
freetype-2.12.1.tar.xz.sig
Normal file
16
freetype-2.12.1.tar.xz.sig
Normal file
@ -0,0 +1,16 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCAAdFiEE4wZ0cHhWQJ/xlIAQvmw6rGOtjj8FAmJuIJYACgkQvmw6rGOt
|
||||
jj+eqg//VjMCP25UmZMzDaV39zg6El4s2FJ5ffDqOj8a9DeyVws58+dG5tCIwi3R
|
||||
uRq7bTgphJVKZohBflAvHSE5CNumd7Mj9H0To7EgfyjpDgxDNrOrQZC0jcXPETD2
|
||||
lRfqY0urHGRHKSBrQIgShacL8l9Q9x8dxxpV6SKvlb8wy0h1aCQfpj++tofCPfD8
|
||||
q17eaGtJdqUBchZpXCJFY3fU9dbQS3y4TLNeJ3NQ+ELjj+6FhNzggm5C53n4iPpx
|
||||
pu9v8U0Rrv6YLkvKqEqpQgKzV0Og5v5w70NLNBHI3sJNHUfUhFQ/8g86pWn5DtBX
|
||||
MAthTmcjfDImrJK+PVRBopBNzh/V9QACB+zaaWdcM2HeMWXcnJW4cCKtgao1GmiC
|
||||
OpAcLryslPkHtnsizllam3rf1BIWzPEMMw7htXzSia4XX6VGQNYut+QEI7I3G7wq
|
||||
GGuKawCivhleA+Lzs/3eyOdkXmTHgs0sQtuDbScIr+YmAEKJbdsoUj6smL3waI7A
|
||||
M+oOpFMz8QDDWk3olbAngMZxFjj7BKvUbQBRGRaUPB4YG12Cg40C6RB1rhvLu7Hr
|
||||
Evdksrngmjeg23RM0hHRTl3kHuK4yH7Hi75sFWXla+Zz8LJ03Vf08H/KdPPgftCs
|
||||
a1gItD84gIs4nR/t9I0ugDfQymhaIjGNkFZaRkbqTslMnzvoGJ8=
|
||||
=bMcd
|
||||
-----END PGP SIGNATURE-----
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:22cf273cba41da07b7414a82a3ae701df1239e29928f0b8c42d08c5ef98dc01d
|
||||
size 2038684
|
@ -1,16 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCAAdFiEE4wZ0cHhWQJ/xlIAQvmw6rGOtjj8FAmJF1o4ACgkQvmw6rGOt
|
||||
jj+gKxAAr0c/ksKgxROIcd0uOoHgzbsfeUco1LC3KHcdSSOhxnTQol5tdiSs/hlb
|
||||
Nmvv6KTuQ3TtBwFuEUS7l9QQt3qC+LN58qbAYAK5UYYxICiQoW48bREtrHYqbdKS
|
||||
DbtHka0Mlg2FFZdMeJP1E2Smwe1zIBZaZ0eWEMlv9fbn8egnpPRyqXKdNMoOLd3Z
|
||||
mczoQ5uaM/fWEefbXkvJIY7tnwrrHraobOrrgjdVTFhuCL/HFRh4GqtAO2E/ENsn
|
||||
RuZFka4op8VUb9sRRpjtJHrE4tWQ5f3uA1OWrPdtnGIdnXp5Np3cut9CgOQXVfcJ
|
||||
NWvDfsscNKy4SjOl1sOv7IX1B5bxZ3jKgwxD/TRHEVuT8j7Q7dnZrF3QBCHKT3nl
|
||||
+jYU4MuZGXHuqBKcglYHhoSnIdvmdjGPx8hFZqjTu0dAFMpEroFqaYpb2DCYRSK/
|
||||
nB8Gm/rrkcOvDeNNN0DU+heZv+0YzLu+2m/8B0POtcjNN6P6uDAUKohgN7uLi7Db
|
||||
33fpxqruxLL6WnzsOaKX2q3ymADJw8XflAC0yZxxFOyZfg29JHZufl2BI5TYZzNR
|
||||
IknVxyv3A7R1NbScxNhOTnSHJjMh6nLOQJQgUuvGU/oONFhJzK4j4grDu4A/XNqd
|
||||
lP6U5wmQHxDGpDSbPXh2VG8BDeShwwdzWeb268V6mY6RPUPvwfY=
|
||||
=1quz
|
||||
-----END PGP SIGNATURE-----
|
3
freetype-doc-2.12.1.tar.xz
Normal file
3
freetype-doc-2.12.1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6664a32e4eedaa89f45422c1150e32da46fd301c972cbfd19d2dcc6dd96f07d1
|
||||
size 2038632
|
16
freetype-doc-2.12.1.tar.xz.sig
Normal file
16
freetype-doc-2.12.1.tar.xz.sig
Normal file
@ -0,0 +1,16 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCAAdFiEE4wZ0cHhWQJ/xlIAQvmw6rGOtjj8FAmJuIJcACgkQvmw6rGOt
|
||||
jj/fkRAAmHcXDpCs6nlX3M+RPeZHHgC8+lKj0FTc06U+N2B1t+yaNQpGrbCkDP8Y
|
||||
27k09eglMFwBc5cbaJl2IZmSAlMrJS4xIX30SaFNWNMseZLHZW7lFdGOFLP7Gwg7
|
||||
GqZxhJGwuSmxVbfYk48BPh41A/v+vsTQSxDeQJqRnxGYIED5ElAQS3BExZJKW111
|
||||
GQItKOemaqdiEcmfkDY36MKPtw7cvuPQMjg9YmA+zVVducipZjSPtC7xeaJRDYBE
|
||||
6rKB4MsLPu/MZQTgQ5SQD/nr/F3wsaawRCsP3AHnBg71npsbOr2QaHzRX47rTkp4
|
||||
jHiq9e/ZgrY2yLSskC2ew450fKn5vckb7Cdk0KO8rTqPLgmRnfhlFDa3oaoho7cL
|
||||
FbVDVJWMyKquPgIXCuM3qYiv+BC2TfaOMX/omXd1IA8cFC4oAw16Cyb7+Ihg7G+d
|
||||
NOS0lf9LlVfcAD1QKMv4KmeuRkoaVcDIeccCyIsh3+p+vYXDJo8vGInbV8mBgW/g
|
||||
w0Rqw76HFrefdupAa9dt8jtrPO4U7gCQv3m8HbJd8uQG7QVTHeGGf9Scn8Tt/1b9
|
||||
IZClHKXyt3PkjL7pt6fs9dS5zSdxvsCHoDfPRVuQfJ//LVax9wzQG3TVsMJ2s5IN
|
||||
9TKXEQlni3ty/dOMDB1nKQmNx3SgpljE0FjIW52VumvGkd1YNsY=
|
||||
=RxiB
|
||||
-----END PGP SIGNATURE-----
|
@ -1,3 +1,27 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon May 2 10:12:04 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- drop revert-ft212-subpixel-hinting-change.patch: upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 2 08:59:14 UTC 2022 - Paolo Stivanin <info@paolostivanin.com>
|
||||
|
||||
- Update to 2.12.1:
|
||||
- Loading CFF fonts sometimes made FreeType crash (bug introduced in
|
||||
version 2.12.0)
|
||||
- Loading a fully hinted TrueType glyph a second time (without
|
||||
caching) sometimes yielded different rendering results if TrueType
|
||||
hinting was active (bug introduced in version 2.12.0).
|
||||
- The generation of the pkg-config file `freetype2.pc` was broken if
|
||||
the build was done with cmake (bug introduced in version 2.12.0).
|
||||
- The meson build no longer enforces both static and dynamic
|
||||
versions of the library by default.
|
||||
- The internal zlib library was updated to version 1.2.12. Note,
|
||||
however, that FreeType is *not* affected by CVE-2018-25032 since
|
||||
it only does decompression.
|
||||
- Drop freetype-2.12.0-cff_slot_load-segfault.patch
|
||||
- Drop 079a22da037835daf5be2bd9eccf7bc1eaa2e783.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 19 09:52:21 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -16,9 +16,9 @@
|
||||
#
|
||||
|
||||
|
||||
%define doc_version 2.12.0
|
||||
%define doc_version 2.12.1
|
||||
Name: freetype2
|
||||
Version: 2.12.0
|
||||
Version: 2.12.1
|
||||
Release: 0
|
||||
Summary: A TrueType Font Library
|
||||
License: GPL-2.0-or-later OR SUSE-Freetype
|
||||
@ -37,9 +37,6 @@ Patch1: don-t-mark-libpng-as-required-library.patch
|
||||
Patch2: enable-long-family-names-by-default.patch
|
||||
Patch3: enable-subpixel-rendering.patch
|
||||
Patch4: enable-infinality-subpixel-hinting.patch
|
||||
Patch5: freetype-2.12.0-cff_slot_load-segfault.patch
|
||||
Patch6: https://gitlab.freedesktop.org/freetype/freetype/-/commit/079a22da037835daf5be2bd9eccf7bc1eaa2e783.patch
|
||||
Patch7: revert-ft212-subpixel-hinting-change.patch
|
||||
BuildRequires: gawk
|
||||
BuildRequires: libbz2-devel
|
||||
BuildRequires: libpng-devel
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dbc7ecaebc8c1658e4cc9e04e5978bba35375f664e87b857ca67451ab6b372d3
|
||||
size 263612
|
@ -1,16 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCAAdFiEE4wZ0cHhWQJ/xlIAQvmw6rGOtjj8FAmJF1o0ACgkQvmw6rGOt
|
||||
jj+WFQ//erNao1rfR2pKTk6pEFiXHn0SuBXpMQRZ+jKRUoXcaUiPHFYqvTb0OBZg
|
||||
ELKdWxDfCBhs0IwSa6rDaEWujWU3DEbRS52DoauDh9cnl16ZcIy6NiKRQ+g9Yv0J
|
||||
AU/ErM66eReAnhK+cKSqWMmx2ZSRuRbDPH7M41b03MiBOCAuQT25Z7T3VZeCVcrc
|
||||
ad8DsxKKI6LsAWeObeigirWAfLZ+hqweo0mkgo8sYLYjiGBfbtAII43p8Q0Xf2Zu
|
||||
S2TlkK29thMtFH9XbArU7igi/z4f2u3VVlsi/mA+S1GlYs917jvo8gAX+OjouLTL
|
||||
JSNOLYtOk+uFGajhzURxXHuU8p5/ouu+9AsH8Hp/r0BXKeGNPAQX6jUNOnI5sJxg
|
||||
qVMSricRiayaUPNIyjT7cvyqg34xQbaOCtECUr/Z4vVCe1yHxvjWKYL//rl9o7VP
|
||||
HeAIjfNxirbqCofJhfreW66xoBaXb8D8OChJkGfgepL4Msh0KBwXxHPGNE5k0Sli
|
||||
ttLBJ02kK6rFISokGVpjAX+OkFaVBAOJ6tWg/jlfrQ+MrC5u5HHojQXps0e9w39y
|
||||
kbtKJorkYY8TvTlnk3r2/H0UkJXwe+baIVgyDO/WazsnGssivnugQPQV178v10Mg
|
||||
Lk4nLj/EVADgBxQT3uvDpw2cK/U/zoK6Y/r+WB9jZI07G6FP0V0=
|
||||
=rpMT
|
||||
-----END PGP SIGNATURE-----
|
3
ft2demos-2.12.1.tar.xz
Normal file
3
ft2demos-2.12.1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ce729d97f166a919a6a3037c949af01d5d6e1783614024d72683153f0bc5ef05
|
||||
size 263656
|
16
ft2demos-2.12.1.tar.xz.sig
Normal file
16
ft2demos-2.12.1.tar.xz.sig
Normal file
@ -0,0 +1,16 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCAAdFiEE4wZ0cHhWQJ/xlIAQvmw6rGOtjj8FAmJuIJcACgkQvmw6rGOt
|
||||
jj+mjA/+LBrdR00JuCJ0POW7dspRBqDpVRyCYqNFgGXsHmjxc9Dv7RYx3JTGca6o
|
||||
iCH89Z1pR6Ej08+TFDDJwNODrHL1EVUNKHBccgJoWDvZLdNgV9459fWRHsQjw4VF
|
||||
dZ5RzZqcVOxieLXGP8uunM6sm7RVdDxWfOslcXToKTHRZv1ZTYbIYTwEEO0Wyruu
|
||||
hdA+LZxJLX8/AVsFSbBLgBun0XhCwmJnrcbdRS5Z7YxxJFiUrDGcNlTDBJR8U/0b
|
||||
OnPfyAHA/0RMdLiq4SMhdzBiRsnmAqBnKZUD8vaOv5lT5DaH6gFIh0vhxHSiUgto
|
||||
NAX5/o3JzOeOS2G7A9IS394Wna17bJ6hyCTyx7x+NcxNVs1f4jVnw2OXWeJXytKj
|
||||
Y0Uiv4YXIVwbBkAQLUP/B5lvUk06JAE3WRr3uSrklpVgydiKeE2x8slkfkRsFDI9
|
||||
UyL0JtITBAhGqZiZAPTB4+gSYVD9xZjXnpULfp9AmmVJIe/pHg3bdFJgFeqj3Wol
|
||||
JX1F+1Q3slee1WhngDWVPqnkAa2OiQXw8hpfmTi9IqZm0gg4qub5gdV7l2SKovgG
|
||||
EWvJi55ME5XIZL32Kq5qTs62Z1EiRjhPnt/VH1h5d8QXPqZ/S2nFD9RFfNHUKYHq
|
||||
D8nbuJ03tdB6Cygg8pbKHBXjJ4lotY/kxEUE5Ivdh7FIZ0Uiygc=
|
||||
=513c
|
||||
-----END PGP SIGNATURE-----
|
@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon May 2 09:04:23 UTC 2022 - Paolo Stivanin <info@paolostivanin.com>
|
||||
|
||||
- Update to version 2.12.1:
|
||||
* Fix clang++ warnings.
|
||||
* [ftsdf] Fix segmentation fault.
|
||||
* Replace header macros with file names.
|
||||
* [ftview] Handle foreground COLR.
|
||||
* (Print_Array): New function.
|
||||
* (Print_FontInfo_Dictionary, Print_FontPrivate_Dictionary): New functions.
|
||||
* [ftgrid] Minor tweaks.
|
||||
* [ftgrid] Implement embedded bitmap toggle.
|
||||
* Prototype SVG support.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 23 07:12:47 UTC 2021 - Ismail Dönmez <ismail@i10z.com>
|
||||
|
||||
|
@ -16,9 +16,9 @@
|
||||
#
|
||||
|
||||
|
||||
%define freetype_version 2.12.0
|
||||
%define freetype_version 2.12.1
|
||||
Name: ft2demos
|
||||
Version: 2.12.0
|
||||
Version: 2.12.1
|
||||
Release: 0
|
||||
Summary: Freetype2 Utilities and Demo Programs
|
||||
License: GPL-2.0-or-later
|
||||
|
@ -1,74 +0,0 @@
|
||||
temporary revert of
|
||||
|
||||
https://gitlab.freedesktop.org/freetype/freetype/-/commit/7809007a5b88b15207d6c6680cd8a979b122eafa.patch
|
||||
due to https://gitlab.freedesktop.org/freetype/freetype/-/issues/1148
|
||||
|
||||
--- freetype-2.12.0/src/truetype/ttgload.c 2022-03-30 13:17:39.000000000 +0200
|
||||
+++ freetype-2.12.0/src/truetype/ttgload.c 2022-04-19 11:48:18.687226973 +0200
|
||||
@@ -2691,28 +2691,6 @@
|
||||
exec->ignore_x_mode = FALSE;
|
||||
#endif /* TT_SUPPORT_SUBPIXEL_HINTING_INFINALITY */
|
||||
|
||||
-#ifdef TT_SUPPORT_SUBPIXEL_HINTING_MINIMAL
|
||||
- /*
|
||||
- * Toggle backward compatibility according to what font wants, except
|
||||
- * when
|
||||
- *
|
||||
- * 1) we have a `tricky' font that heavily relies on the interpreter to
|
||||
- * render glyphs correctly, for example DFKai-SB, or
|
||||
- * 2) FT_RENDER_MODE_MONO (i.e, monochome rendering) is requested.
|
||||
- *
|
||||
- * In those cases, backward compatibility needs to be turned off to get
|
||||
- * correct rendering. The rendering is then completely up to the
|
||||
- * font's programming.
|
||||
- *
|
||||
- */
|
||||
- if ( driver->interpreter_version == TT_INTERPRETER_VERSION_40 &&
|
||||
- subpixel_hinting_lean &&
|
||||
- !FT_IS_TRICKY( glyph->face ) )
|
||||
- exec->backward_compatibility = !( exec->GS.instruct_control & 4 );
|
||||
- else
|
||||
- exec->backward_compatibility = FALSE;
|
||||
-#endif /* TT_SUPPORT_SUBPIXEL_HINTING_MINIMAL */
|
||||
-
|
||||
exec->pedantic_hinting = FT_BOOL( load_flags & FT_LOAD_PEDANTIC );
|
||||
loader->exec = exec;
|
||||
loader->instructions = exec->glyphIns;
|
||||
--- freetype-2.12.0/src/truetype/ttinterp.c 2022-01-27 08:43:19.000000000 +0100
|
||||
+++ freetype-2.12.0/src/truetype/ttinterp.c 2022-04-19 11:46:46.185783645 +0200
|
||||
@@ -7770,6 +7770,35 @@
|
||||
#endif /* TT_SUPPORT_SUBPIXEL_HINTING_INFINALITY */
|
||||
|
||||
|
||||
+#ifdef TT_SUPPORT_SUBPIXEL_HINTING_INFINALITY
|
||||
+ exc->iup_called = FALSE;
|
||||
+#endif /* TT_SUPPORT_SUBPIXEL_HINTING_INFINALITY */
|
||||
+
|
||||
+#ifdef TT_SUPPORT_SUBPIXEL_HINTING_MINIMAL
|
||||
+ /*
|
||||
+ * Toggle backward compatibility according to what font wants, except
|
||||
+ * when
|
||||
+ *
|
||||
+ * 1) we have a `tricky' font that heavily relies on the interpreter to
|
||||
+ * render glyphs correctly, for example DFKai-SB, or
|
||||
+ * 2) FT_RENDER_MODE_MONO (i.e, monochome rendering) is requested.
|
||||
+ *
|
||||
+ * In those cases, backward compatibility needs to be turned off to get
|
||||
+ * correct rendering. The rendering is then completely up to the
|
||||
+ * font's programming.
|
||||
+ *
|
||||
+ */
|
||||
+ if ( SUBPIXEL_HINTING_MINIMAL &&
|
||||
+ exc->subpixel_hinting_lean &&
|
||||
+ !FT_IS_TRICKY( &exc->face->root ) )
|
||||
+ exc->backward_compatibility = !( exc->GS.instruct_control & 4 );
|
||||
+ else
|
||||
+ exc->backward_compatibility = FALSE;
|
||||
+
|
||||
+ exc->iupx_called = FALSE;
|
||||
+ exc->iupy_called = FALSE;
|
||||
+#endif
|
||||
+
|
||||
/* We restrict the number of twilight points to a reasonable, */
|
||||
/* heuristic value to avoid slow execution of malformed bytecode. */
|
||||
num_twilight_points = FT_MAX( 30,
|
Loading…
Reference in New Issue
Block a user