Files
bpfire/lfs/harfbuzz
Adolf Belka 4bcda9e4da harfbuzz: Update to version 8.0.1
- Update from version 7.3.0 to 8.0.1
- Update of rootfile
- Changelog
    Overview of changes leading to 8.0.1
	- Build fix on 32-bit arm.
	- More speed optimizations:
	  - 60% speedup in retaingids subsetting SourceHanSans-VF.
	  - 38% speed up in subsetting (beyond-64k) mega-merged Noto.
	  - 16% speed up in retain-gid (used for IFT) subsetting of NotoSansCJKkr.
    Overview of changes leading to 8.0.0
	- New, experimental, WebAssembly (WASM) shaper, that provides greater
	   flexibility over OpenType/AAT/Graphite shaping, using WebAssembly embedded
	   inside the font file. Currently WASM shaper is disabled by default and needs
	   to be enabled at build time. For details, see:
	    https://github.com/harfbuzz/harfbuzz/blob/main/docs/wasm-shaper.md
	  For example fonts making use of the WASM shaper, see:
	    https://github.com/simoncozens/wasm-examples
	- Improvements to Experimental features introduced in earlier releases:
	  - Support for subsetting beyond-64k and VarComposites fonts.
	  - Support for instancing variable fonts with cubic “glyf” table.
	- Many big speed optimizations:
	  - Up to 89% speedup loading variable fonts for shaping.
	  - Up to 88% speedup in small subsets of large (eg. CJK) fonts (both TTF and
	    OTF), essential for Incremental Font Transfer (IFT).
	  - Over 50% speedup in loading Roboto font for shaping.
	  - Up to 40% speed up in loading (sanitizing) complex fonts.
	  - 30% speed up in shaping Gulzar font.
	  - Over 25% speedup in glyph loading Roboto font.
	  - 10% speed up loading glyph shapes in VarComposite Hangul font.
	  - hb-hashmap optimizations & hashing improvements.
	- New macro HB_ALWAYS_INLINE. HarfBuzz now inlines functions more aggressively,
	   which results in some speedup at the expense of bigger code size. To disable
	   this feature define the macro to just inline.
	- New API:
	  +HB_CODEPOINT_INVALID
	  +hb_ot_layout_get_baseline2()
	  +hb_ot_layout_get_baseline_with_fallback2()
	  +hb_ot_layout_get_font_extents()
	  +hb_ot_layout_get_font_extents2()
	  +hb_subset_input_set_axis_range()

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2023-07-26 16:08:59 +00:00

81 lines
3.2 KiB
Plaintext

###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2023 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
# #
###############################################################################
###############################################################################
# Definitions
###############################################################################
include Config
VER = 8.0.1
THISAPP = harfbuzz-$(VER)
DL_FILE = $(THISAPP).tar.xz
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_BLAKE2 = e69305e5cddee2f9a928ab38b6904cc3e6fbafb319ad268047178667639a2a361576051a9a6443352b51adca47bb8998ca5c533afe12eac456c3170e171c1839
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
b2 : $(subst %,%_BLAKE2,$(objects))
###############################################################################
# Downloading, checking, b2sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_BLAKE2,$(objects)) :
@$(B2SUM)
###############################################################################
# Installation Details
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
$(UPDATE_AUTOMAKE)
cd $(DIR_APP) && ./configure \
--prefix=/usr \
--disable-static
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
@rm -rf $(DIR_APP)
@$(POSTBUILD)