From patchwork Tue Sep 7 11:02:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 4678 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) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4H3j6M58L3z3x2Y for ; Tue, 7 Sep 2021 11:02:51 +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) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4H3j6L21dCz14c; Tue, 7 Sep 2021 11:02:50 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4H3j6K30sPz2y0B; Tue, 7 Sep 2021 11:02:49 +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) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4H3j6H5Wdnz2xvK for ; Tue, 7 Sep 2021 11:02:47 +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 4H3j6G2VMczZF; Tue, 7 Sep 2021 11:02:46 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1631012566; 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=rvJPZhwQhJlolgFQpyyUKagDSNy/pTrmuZa4n7toosg=; b=E6IT3TuJxC/MftpS5/zDN/yqvWhcVvdO0wBpfDEGbdpgoTPm9l5OMozIQIhKMH1HBgp57+ 2PS60zOFQquZ93Ag== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1631012566; 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=rvJPZhwQhJlolgFQpyyUKagDSNy/pTrmuZa4n7toosg=; b=MKosdg1pwprqjQUz6nLWR4ZrMOMBrTgbYNVsm12NxGjypJg4KJP84gf7rm5wMfh0pgEMmT rDFLzpkcVvevio0CC6SNm76wICfJrcksJ+a0zdbKkYS0zkuRzIpxz9P6rXQleIwhS+ULbE E3eBbvlkW2MC0EtyV2b45JLwZWPP+e1NNizOdvZLftyoXXlKSWJfAxh2ivaZopHLjtlxEY fv8MJ51yvTq7iMUyeJEjW2FtnMh0J/f0gd5EKzaNCVWGJ30BETKkAauuGbXZHCtCSt1ycT Z2KawF2Qpd4wMY+6y1M75rXMmspIHswQvu3CayRQaq0x/MhTFXOxxFNVFIWCOQ== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH] freetype: Update to version 2.11.0 Date: Tue, 7 Sep 2021 13:02:40 +0200 Message-Id: <20210907110240.3503875-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 2.10.4 to 2.11.0 - Update rootfile - Changelog CHANGES BETWEEN 2.10.4 and 2.11.0 I. IMPORTANT CHANGES - A new rendering module has been added to create 8-bit Signed Distance Field (SDF) bitmaps for both outline and bitmap glyphs. The new rendering mode is called `FT_RENDER_MODE_SDF`, the pixel mode is `FT_PIXEL_MODE_GRAY8`, and the corresponding raster flag is `FT_RASTER_FLAG_SDF`. This work was Anuj Verma's GSoC 2020 project. - A new, experimental API is now available for surfacing properties of 'COLR' v1 color fonts (as the name says, this is an extension to the 'COLR' table for outline color fonts using the SFNT container format). 'COLR' v1 fonts are a recently proposed addition to OFF and OpenType; specification work currently happens in https://github.com/googlefonts/colr-gradients-spec/ 'COLR' v1 is expected to be merged to OpenType; the ISO standardisation process for adding 'COLR' v1 as an amendment to OFF is underway. Functions similar to the already existing 'COLR' API have been added to access the corresponding data. FT_Get_Color_Glyph_Paint Retrieve the root paint for a given glyph ID. FT_Get_Paint_Layers Access the layers of a `PaintColrLayers` table. FT_Get_Colorline_Stops Retrieve the 'color stops' on a color line. As an input, a color stop iterator gets used, which in turn is retrieved from a paint. FT_Get_Paint Dereference an `FT_OpaquePaint` object and retrieve the corresponding `FT_COLR_Paint` object, which contains details on how to draw the respective 'COLR' v1 `Paint` table. II. MISCELLANEOUS - FreeType has moved its infrastructure to https://gitlab.freedesktop.org/freetype A side effect is that the git repositories are now called `freetype.git` and `freetype-demos.git`, which by default expand to the directories `freetype` and `freetype-demos`, respectively. The documentation has been updated accordingly. FreeType's Savannah repositories will stay; they are now mirrors of the 'freedesktop.org' repositories. - A new function `FT_Get_Transform` returns the values set by `FT_Set_Transform`. - A new configuration macro `FT_DEBUG_LOGGING` is available. It provides extended debugging capabilities for FreeType, for example showing a time stamp or displaying the component a tracing message comes from. See file `docs/DEBUG` for more information. This work was Priyesh Kumar's GSoC 2020 project. - The legacy Type 1 and CFF engines are further demoted due to lack of CFF2 charstring support. You now need to use `FT_Property_Set` to enable them besides the `T1_CONFIG_OPTION_OLD_ENGINE` and `CFF_CONFIG_OPTION_OLD_ENGINE` options, respectively. - 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%. Note that due to necessary code changes there might be very subtle differences in rendering. They are not visible by the eye, however. - PCF bitmap fonts compressed with LZW (these are usually files with the extension `.pcf.Z`) are now handled correctly. - Improved Meson build files, including support to build the FreeType demo programs. - 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. In particular, it can display horizontal and vertical acutances for quality assessment, together with computing MD5 checksums of rendered glyphs. [The acutance measures how sharply the pixel coverage changes at glyph edges. For monochrome bitmaps, it is always 2.0 in either X or Y direction. For anti-aliased bitmaps, it depends on the hinting and the shape of a glyph and might approach or even reach value 2.0 for glyphs like 'I', 'L', '+', '-', or '=', while it might be lower for glyphs like 'O', 'S', or 'W'.] - 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. Signed-off-by: Adolf Belka --- 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 194253601..24e9682e6 100644 --- a/config/rootfiles/common/freetype +++ b/config/rootfiles/common/freetype @@ -32,6 +32,7 @@ #usr/include/freetype2/freetype/ftincrem.h #usr/include/freetype2/freetype/ftlcdfil.h #usr/include/freetype2/freetype/ftlist.h +#usr/include/freetype2/freetype/ftlogging.h #usr/include/freetype2/freetype/ftlzw.h #usr/include/freetype2/freetype/ftmac.h #usr/include/freetype2/freetype/ftmm.h @@ -58,7 +59,7 @@ #usr/lib/libfreetype.la #usr/lib/libfreetype.so usr/lib/libfreetype.so.6 -usr/lib/libfreetype.so.6.17.4 +usr/lib/libfreetype.so.6.18.0 #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 8a93ad0e9..4dbf41eb5 100644 --- a/lfs/freetype +++ b/lfs/freetype @@ -24,7 +24,7 @@ include Config -VER = 2.10.4 +VER = 2.11.0 THISAPP = freetype-$(VER) DL_FILE = $(THISAPP).tar.xz @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = 0e6c0e9b218be3ba3e26e1d23b1c80dd +$(DL_FILE)_MD5 = f931582653774e310ed3a7e49b7167a3 install : $(TARGET)