From patchwork Tue Mar 18 21:20:09 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 8530 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 (secp384r1) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R10" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4ZHPrm0BRDz3wx3 for ; Tue, 18 Mar 2025 21:20:40 +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 RSA-PSS (4096 bits) client-signature ECDSA (secp384r1)) (Client CN "mail02.haj.ipfire.org", Issuer "E5" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4ZHPrj1g84z5jY for ; Tue, 18 Mar 2025 21:20:37 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4ZHPrc451lz37G2 for ; Tue, 18 Mar 2025 21:20:32 +0000 (UTC) X-Original-To: development@lists.ipfire.org 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 (secp384r1) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R10" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4ZHPrY3Kdsz37BH for ; Tue, 18 Mar 2025 21:20:29 +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 RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4ZHPrX4NPxz5Yd; Tue, 18 Mar 2025 21:20:28 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1742332828; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=c2c61qfxLFP8C2wnGQYARI4p4OntJcSNKCE0WROvUOA=; b=Sr/aKTwpSyzq6lBHmtytb+YVpUJSL6a3r27F1KDnjnhin3cHJS9+S9nIn5QzqFWJKqrjJF fHARQHDWtkwsQVBw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1742332828; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=c2c61qfxLFP8C2wnGQYARI4p4OntJcSNKCE0WROvUOA=; b=FJ6IYuxrIZ+m9Ngs/FQLVJnl+CQZHuBrYPvIt3AFVfDLtI4EjP+h0ZBOva71TfZSzw3agx M+Oexe83eS6BaTlhOpnOoFewQUkkxjv4SqqUo1+/BxyIBIOD5OlgmV5F5ATwnsg0j4DejU KjkcTrHtGr1bzx0XVb4ONrX6Tl7DucUIsZ8MxvVkSDFW/XvVGquLcUsKApXpqFb7K0VlSZ /TAXHKg4QGlKx0Aq41FpaIF/YOJSZ+JHZctWfMAZjqJ0C9EiYub59oEcp90WVoeRpwtLSa AWMiGtnTHUpPemqQck+tOdjiqB1QlwuC1biNbs/MnIy9qkkL9Qkr/nrNI7OGzg== From: Adolf Belka To: development@lists.ipfire.org Cc: Adolf Belka Subject: [PATCH] harfbuzz: Update to version 10.4.0 Date: Tue, 18 Mar 2025 22:20:09 +0100 Message-ID: <20250318212018.3324141-6-adolf.belka@ipfire.org> In-Reply-To: <20250318212018.3324141-1-adolf.belka@ipfire.org> References: <20250318212018.3324141-1-adolf.belka@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 - Update from version 10.2.0 to 10.4.0 - Update of rootfile - Changelog 10.4.0 - Drawing glyphs using hb-draw API now avoids any “malloc” calls, which improves drawing performance by 10+%. - Add support new “GVAR” table fonts with more than 65535 glyphs. Support is currently behind a compilation flag and is disabled by default. - Some hb-directwrite and hb-ft APIs got renamed with more clear names and the old names are deprecated. - Various build and fuzzing fixes. - New API: +hb_directwrite_face_get_dw_font_face() +hb_ft_font_get_ft_face() - Deprecated API: +hb_directwrite_face_get_font_face() +hb_ft_font_get_face() 10.3.0 - Vastly improved “AAT” shaping performance. LucidaGrande benchmark-shape before: 14.6ms after: 5.9ms. - Improved OpenType shaping performance (kerning / ligature), at the expense of ~1kb per face allocated cache memory. Roboto-Regular benchmark-shape before: 10.3ms after: 9.4ms. - Improved “COLRv1” benchmark-font paint performance. Before: 7.85ms after 4.85ms. - Don’t apply glyph substitutions in “morx” table of a font with known broken “morx” table (AALMAGHRIBI.ttf font). - Update IANA and OT language registries. - Various documentation updates. - Various build improvements, and test speed-ups. - The “hb_face_reference_blob()” API now works for faces created with “hb_face_create_for_tables()” if the face sets “get_table_tags” callback. This constructs a new face blob from individual table blobs. - Various fixes to how “trak” table is handled to bring it closer to Core Text behaviour. Particularly, the tracking values for sizes not explicitly set in the table are now properly interpolated, and the tracking is applied to glyph advances when they are returned by ot-font functions, instead of applying them during shaping. The “trak” pseudo OpenType feature that could be used to disable “trak” table application have been dropped. - Core Text font functions now support non-BMP code points. - The drawing algorithm used by hb-draw for “glyf” table now match the algorithm used by FreeType and Core Text. - The “hb_coretext_font_create()” API now copy font variations from Core Text font to the created HarfBuzz font. - Add an API to get the feature tags enabled on a given shape-plan after executing it, which can be used to applications to show in the UI what features are applied by default (which can vary based on the font, the script, the language, and the direction set on the buffer). - Add APIs to created HarfBuzz font from DirectWrite font, and copy the font variations. - New API: +hb_directwrite_font_create() +hb_directwrite_font_get_dw_font() +hb_ot_shape_plan_get_feature_tags() Signed-off-by: Adolf Belka --- config/rootfiles/common/harfbuzz | 8 ++++---- lfs/harfbuzz | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/config/rootfiles/common/harfbuzz b/config/rootfiles/common/harfbuzz index c951a4507..e10840df6 100644 --- a/config/rootfiles/common/harfbuzz +++ b/config/rootfiles/common/harfbuzz @@ -47,16 +47,16 @@ #usr/lib/cmake/harfbuzz/harfbuzz-config.cmake #usr/lib/libharfbuzz-cairo.so usr/lib/libharfbuzz-cairo.so.0 -usr/lib/libharfbuzz-cairo.so.0.61020.0 +usr/lib/libharfbuzz-cairo.so.0.61040.0 #usr/lib/libharfbuzz-gobject.so usr/lib/libharfbuzz-gobject.so.0 -usr/lib/libharfbuzz-gobject.so.0.61020.0 +usr/lib/libharfbuzz-gobject.so.0.61040.0 #usr/lib/libharfbuzz-subset.so usr/lib/libharfbuzz-subset.so.0 -usr/lib/libharfbuzz-subset.so.0.61020.0 +usr/lib/libharfbuzz-subset.so.0.61040.0 #usr/lib/libharfbuzz.so usr/lib/libharfbuzz.so.0 -usr/lib/libharfbuzz.so.0.61020.0 +usr/lib/libharfbuzz.so.0.61040.0 #usr/lib/pkgconfig/harfbuzz-cairo.pc #usr/lib/pkgconfig/harfbuzz-gobject.pc #usr/lib/pkgconfig/harfbuzz-subset.pc diff --git a/lfs/harfbuzz b/lfs/harfbuzz index 71abe2dfc..6388b9d3c 100644 --- a/lfs/harfbuzz +++ b/lfs/harfbuzz @@ -24,7 +24,7 @@ include Config -VER = 10.2.0 +VER = 10.4.0 THISAPP = harfbuzz-$(VER) DL_FILE = $(THISAPP).tar.xz @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 6711eed94c4cbc7b4d37ec17c3bd4512110f873d0f179bc213773ad89af99cd349f92ea8ce957ddeb5084ad3719e2436cb712a880b02668954c69e0b1c3ceb98 +$(DL_FILE)_BLAKE2 = 21a2ed81ead5f06658c6153ad756631aacf5522bf58cdc5a54585cc03b0562c634ecabcd686fa76d2dda3497eb1a7d9e10c771e29da62c5946438d9ed8c46075 install : $(TARGET)