From patchwork Wed May 4 19:51:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 5588 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4KtnWb1r5Gz3x1v for ; Wed, 4 May 2022 19:51:07 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4KtnWY42Z3z1D7; Wed, 4 May 2022 19:51:05 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4KtnWY2nD2z2yk2; Wed, 4 May 2022 19:51:05 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4KtnWX16BSz2yRl for ; Wed, 4 May 2022 19:51:04 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4KtnWW4kcszm9; Wed, 4 May 2022 19:51:03 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1651693863; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=KjU+d3G9bWIsSyBh0cXzZ2I5qBE2IrzkszxVXBqkfuA=; b=epihirfud51NXFTdgvc1d+EwTzzqw7YVPKlP/eHUgRUmfXoeBHAtzkm9zIMqrfubThd3/C IUwRzgnORydgHSDA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1651693863; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=KjU+d3G9bWIsSyBh0cXzZ2I5qBE2IrzkszxVXBqkfuA=; b=sP+9e/ZE2x12F/vLo0wB7+T+q30mlWs5D02ij5kHREvPzIzSo+ASW63ln5nLmG1NJnZ03i w8QSNRZ7CvI+mjCBp+N/ZUxsvDJzW8gVlPb/w0wtRQmHVZFWUlV9s5Dz5K64+2B4k8cuJc PRg2SBGJuInI7LdZYgZVuTYqqdqLYDugLVlyPky72CfuuQuCWbSeB8HuT6TteKMytpCjQY BYKzvGfCxS1ZZBSJrX993u+VCbYpQ6B4KW7jO3xecGuMnC1eHpMobz8d8bjBNmWo1bOUAG tmbJ1xxoZztTvrz/+mVyMe6bm9ZWzcecl+LxoJbBga1rfWE56jVMHkIFW+6KuA== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH] freetype: Update to version 2.12.1 Date: Wed, 4 May 2022 21:51:00 +0200 Message-Id: <20220504195100.2945046-1-adolf.belka@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" - Update from version 2.11.1 to 2.12.1 - Update of rootfile - Changelog CHANGES BETWEEN 2.12.0 and 2.12.1 I. IMPORTANT BUG FIXES - 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). II. MISCELLANEOUS - New option `--with-librsvg` for the `configure` script for better FreeType demo support. - 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. CHANGES BETWEEN 2.11.1 and 2.12.0 I. IMPORTANT CHANGES - FreeType now handles OT-SVG fonts, to be controlled with `FT_CONFIG_OPTION_SVG` configuration macro. By default, it can only load the 'SVG ' table of an OpenType font. However, by using the `svg-hooks` property of the new 'ot-svg' module it is possible to register an external SVG rendering engine. The FreeType demo programs have been set up to use 'librsvg' as the rendering library. This work was Moazin Khatti's GSoC 2019 project. II. MISCELLANEOUS - The handling of fonts with an 'sbix' table has been improved. - Corrected bitmap offsets. - A new tag `FT_PARAM_TAG_IGNORE_SBIX` for `FT_Open_Face` makes FreeType ignore an 'sbix' table in a font, allowing applications to access the font's outline glyphs. - `FT_FACE_FLAG_SBIX` and `FT_FACE_FLAG_SBIX_OVERLAY` together with their corresponding preprocessor macros `FT_HAS_SBIX` and `FT_HAS_SBIX_OVERLAY` enable applications to treat 'sbix' tables as described in the OpenType specification. - The internal 'zlib' code has been updated to be in sync with the current 'zlib' version (1.2.11). - The previously internal load flag `FT_LOAD_SBITS_ONLY` is now public. - Some minor improvements of the building systems, in particular handling of the 'zlib' library (internal vs. external). - Support for non-desktop Universal Windows Platform. - Various other minor bug and documentation fixes. - The `ftdump` demo program shows more information for Type1 fonts if option `-n` is given. - `ftgrid` can now display embedded bitmap strikes. Signed-off-by: Adolf Belka Reviewed-by: Peter Müller --- config/rootfiles/common/freetype | 3 ++- lfs/freetype | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/config/rootfiles/common/freetype b/config/rootfiles/common/freetype index ceb06b4d6..e7d8e9ff9 100644 --- a/config/rootfiles/common/freetype +++ b/config/rootfiles/common/freetype @@ -51,6 +51,7 @@ #usr/include/freetype2/freetype/fttrigon.h #usr/include/freetype2/freetype/fttypes.h #usr/include/freetype2/freetype/ftwinfnt.h +#usr/include/freetype2/freetype/otsvg.h #usr/include/freetype2/freetype/t1tables.h #usr/include/freetype2/freetype/ttnameid.h #usr/include/freetype2/freetype/tttables.h @@ -59,7 +60,7 @@ #usr/lib/libfreetype.la #usr/lib/libfreetype.so usr/lib/libfreetype.so.6 -usr/lib/libfreetype.so.6.18.1 +usr/lib/libfreetype.so.6.18.3 #usr/lib/pkgconfig/freetype2.pc #usr/share/aclocal/freetype2.m4 #usr/share/man/man1/freetype-config.1 diff --git a/lfs/freetype b/lfs/freetype index 8a308d70d..5233f7bb8 100644 --- a/lfs/freetype +++ b/lfs/freetype @@ -24,7 +24,7 @@ include Config -VER = 2.11.1 +VER = 2.12.1 THISAPP = freetype-$(VER) DL_FILE = $(THISAPP).tar.xz @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 15cc03e7b8ba93b2f240b0eee3f1cc07bca77d9ef67a1971d44d6c061a0dff2b13737fa417f7f2dc4e7e6df660223325931f69a107a6b2eaf14425fc71b7ca7b +$(DL_FILE)_BLAKE2 = c4737dc0c6e44e0a911545d604fdb2e8e8b3f5185d3f5dfe4e4561ee2d75b3e5a31afcbb2089306fec4b31ba10324a6ec6499c3735b2b7591c71e96fee4ed278 install : $(TARGET)