summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/harfbuzz
Commit message (Collapse)AuthorAgeFilesLines
* harfbuzz: build with -OsRoss Burton2025-07-212-73/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | Upstream explicitly say in their CONFIG.md file to build with -Os: Make sure you build with your compiler's "optimize for size" option. On `gcc` this is `-Os` [ ... ] HarfBuzz heavily uses inline functions and the optimize-size flag can make the library smaller by 20% or more. Moreover, sometimes, based on the target CPU, the optimize-size builds perform *faster* as well, thanks to lower code footprint and caching effects Drop the patch to build just hb-subset-plan-layout.cc with -Os (which was a workaround for a GCC bug), and pass -Os globally. This manages to reduce the duration to harfbuzz:do_compile on my machine from 75s to 47s, and has a big impact on the library sizes: harfbuzz: PKGSIZE changed from 1769358 to 1237070 (-30%) harfbuzz-dbg: PKGSIZE changed from 84920168 to 71203208 (-16%) harfbuzz-subset: PKGSIZE changed from 1579247 to 940191 (-40%) (From OE-Core rev: d795b3e16ed01d7273d4f3779684eb41cc16f809) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: disable building the testsRoss Burton2025-07-211-0/+2
| | | | | | | | | We don't (yet) install these, so don't build them. (From OE-Core rev: 5db0a59d09bbab63d48c03d5fa4bfb7c89d6a3b1) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: upgrade 11.2.0 -> 11.2.1Wang Mingyu2025-06-052-8/+8
| | | | | | | | | | | 0001-Use-Os-to-compile-hb-subset-plan-layout.cc.patch refreshed for 11.2.1 (From OE-Core rev: ee08e9ee2ae9d6df1d939cc10b3944a1dda154e9) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: upgrade 11.1.0 -> 11.2.0Wang Mingyu2025-05-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ============ - Painting of COLRv1 fonts without clip boxes is now about 10 times faster. - Synthetic bold/slant of a sub font is now respected, instead of using the parent's. - Glyph extents for fonts synthetic bold/slant are now accurately calculated. - Various build fixes - New API: +hb_font_is_synthetic() +hb_font_draw_glyph_or_fail_func_t +hb_font_paint_glyph_or_fail_func_t +hb_font_funcs_set_draw_glyph_or_fail_func() +hb_font_funcs_set_paint_glyph_or_fail_func() +hb_font_draw_glyph_or_fail() +hb_font_paint_glyph_or_fail() - Deprecated API: -hb_font_draw_glyph_func_t -hb_font_paint_glyph_func_t -hb_font_funcs_set_draw_glyph_func() -hb_font_funcs_set_paint_glyph_func() (From OE-Core rev: d54d2b64e4939bb887fa88ea2436025216f313ba) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: Fix build with gcc-15Khem Raj2025-04-292-3/+73
| | | | | | | | | | | GCC-15 inliner at O2 seems to be able to analyse more This is a workaround to compile the one file where it fails to use -Os (From OE-Core rev: 01f2b3f09c3c9999e75f15c9041a0668cb6bb580) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: Upgrade to 11.1.0 releaseKhem Raj2025-04-291-1/+1
| | | | | | | | | | | | | | Changes are: Include bidi mirroring variants of the requested codepoints when subsetting. The new HB_SUBSET_FLAGS_NO_BIDI_CLOSURE can be used to disable this behaviour. Various bug fixes. Various build fixes and improvements. Various test suite improvements. (From OE-Core rev: 61a4ec67b4721d4a13b3c1171e55bdef50f7e85e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: upgrade 11.0.0 -> 11.0.1Wang Mingyu2025-04-101-1/+1
| | | | | | | | (From OE-Core rev: 6b5880eb73e62f1b4ae4b7ff90f33e14b35c88d4) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: upgrade 10.4.0 -> 11.0.0Richard Purdie2025-04-031-1/+1
| | | | | | (From OE-Core rev: 1a8537ca78a381e4dcf212239d64ece3ddfeaf47) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: upgrade 10.2.0 -> 10.4.0Wang Mingyu2025-03-061-1/+1
| | | | | | | | (From OE-Core rev: 1d4768df4bbb045b7a249020fdb5d1cadcfc1dad) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: upgrade 10.1.0 -> 10.2.0Richard Purdie2025-02-051-1/+1
| | | | | | (From OE-Core rev: 50e29d135bd6615c8672892218717428ac7828c1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: upgrade 10.0.1 -> 10.1.0Wang Mingyu2024-11-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ============ - Fix the sign of fallback vertical glyph advance (used when font has no vertical advance data). - Increase maximum "CFF"operands limit 20 times to support more complex fonts. - Add "--face-loader" option to command line utilities. - Support "COLR"v0 table in hb_font_get_glyph_extents(). - Add support for font functions that use Core Text APIs, similar to FreeType font functions. This allows, for example, using drawing fonts that use the new (and undocumented) "hvgl"table. - Update IANA and OT language registries, as well ase USE data files. - Fix build with ICU 76. - Various compiler warnings and build fixes. - Various subsetter fixes. - New API: +hb_face_create_or_fail() +hb_face_create_from_file_or_fail() +hb_coretext_face_create_from_file_or_fail() +hb_coretext_font_set_funcs() +hb_ft_face_create_from_file_or_fail() (From OE-Core rev: b11de0b6d393c1166b5e408b4cec179c60f119aa) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: upgrade 9.0.0 -> 10.0.1Wang Mingyu2024-10-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ============ - Relax sanitization checks for "morx"subtables to fix broken AAT shaping of macOS 15.0 version of GeezaPro. - Unicode 16.0.0 support. - Various documentation fixes. - Various build fixes. - Add API to allow HarfBuzz client to set what glyph to use when a Unicode Variation Selector is not supported by the font, which would allow the client to customize what happens in this case, by using a different font for example. - Add a callback to for "hb_face_t"for getting the list of table tags. This is now used to make calling "hb_face_get_table_tags()"work on a faces created by "hb_face_create_for_tables()"(e.g. faces returned by "hb_subset_or_fail()"). - CGJ and Mongolian Variation Selectors are now ignored during glyph positioning, previously they would block both glyph substitution and positioning across them. - Support cairo script as an output format for "hb-view"command line tool. - Drop an optimization that would cause HarfBuzz not apply pair positioning lookup subtables under certain circumstances, for compatibility with other implementations that do apply these subtables. - Subsetting will now fail if source font has no glyphs, so feeding the subsetter invalid data will not silently return an empty face. - If after partially instancing a font no variation data is left (the instance is fully static), don't consider this a failure. - Workaround a Firefox bug in displaying SVGs generated be "hb-view"command line tool under certain circumstances. - Fix bug in macroman mapping for "cmap"table. - Fix difference shaping output when HarfBuzz is built with with "HB_NO_OT_RULESETS_FAST_PATH"enabled. - Various subsetting and instancing fixes. - Various fuzzing fixes. - Add "with_libstdcxx"meson build option. - New API: HB_SCRIPT_GARAY HB_SCRIPT_GURUNG_KHEMA HB_SCRIPT_KIRAT_RAI HB_SCRIPT_OL_ONAL HB_SCRIPT_SUNUWAR HB_SCRIPT_TODHRI HB_SCRIPT_TULU_TIGALARI hb_buffer_set_not_found_variation_selector_glyph() hb_buffer_get_not_found_variation_selector_glyph() hb_get_table_tags_func_t hb_face_set_get_table_tags_func() (From OE-Core rev: 832272063fe58577b9d959d7dbd4f92d9c22670e) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: upgrade 8.5.0 -> 9.0.0Wang Mingyu2024-07-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ============ - HarfBuzz now the supports the proposed new OpenType "VARC" table. This replaces the previously supported "Variable Composites" experimental feature. "VARC" support is still experimental and it is not enabled unless HarfBuzz is built with experimental APIs enabled: https://github.com/harfbuzz/boring-expansion-spec/blob/main/VARC.md - Autotools build system have been dropped. Meson is the only supported build system in HarfBuzz going forward. - Speed up "AAT" shaping for short words by up to 4%. - Ignore unknown "CFF" operators. - "hb_subset_input_keep_everything()" now keeps also non-unicode "name" table records. - Update the IANA and OpenType language tag registries. - Support composite glyphs with very large number of points in hb-draw API. - Various build fixes. (From OE-Core rev: fa4238df038d5890dacfa1611c56e5bb399828bb) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icu: upgrade 74-2 -> 75-1Alexander Kanavin2024-05-301-0/+3
| | | | | | | | | | License-update: copyright years (From OE-Core rev: 828b25dd17cd148ff0c1f852d6581359e5b6ee20) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: upgrade 8.4.0 -> 8.5.0Anuj Mittal2024-05-221-1/+1
| | | | | | | (From OE-Core rev: 6bebbf2ac30b7f6fb6bb540eaf183ecc81cc86b7) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: upgrade 8.3.1 -> 8.4.0Anuj Mittal2024-05-091-1/+1
| | | | | | | (From OE-Core rev: 3d6033cc841b3a74d97caeec6d9482e6fd5e79ca) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: upgrade 8.3.0 -> 8.3.1Wang Mingyu2024-04-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== - hb_blob_create_from_file_or_fail() on Windows will now try to interpret the file name as UTF-8 first, and as system code page if it is not valid UTF-8. - Fix hb_style_get_value() in fonts with "STAT" table. - Properly handle negative offsets in CFF table. - Update IANA Language Subtag Registry to 2024-03-07. - Subsetter now supports subsetting "BASE" table. - Subsetter will update "hhea" font metrics in sync with "OS/2" ones. - "--variations" option of "hb-subset" now supports leaving out values that should be unchanged, e.g. "wght=:500:" will change the default and keep max and min unchanged. It also supports "*=drop" to to pin all axes to default location. - Fix hb_ot_math_get_glyph_kerning() to match updated "MATH" table spec. - Support legacy MacRoman encoding in "cmap" table. - Various build fixes. - Various subsetting and instancing fixes. - New API: hb_subset_input_pin_all_axes_to_default() (From OE-Core rev: b9716f902695337077b533e22b9298d610c038ee) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: upgrade 8.2.2 -> 8.3.0Anuj Mittal2023-11-231-1/+1
| | | | | | | | (From OE-Core rev: 5b5c9d86e7face83b7a5c21ca88056daaaede5e4) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: upgrade 8.2.1 -> 8.2.2Wang Mingyu2023-11-051-1/+1
| | | | | | | | | | | | | | | | Changelog: =========== - Fix regression from 8.1.0 in shaping fonts with duplicate feature tags. - Fix regression from 8.2.0 in parsing CSS-style feature strings. - Variable fonts instanciation now handles more tables. - Various CMake build improvements. - various fixes to build without errors with gcc 4.9.2. (From OE-Core rev: 7380afcb41db7b1a93c716af567d4a30a71dddcd) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: upgrade 8.2.0 -> 8.2.1Wang Mingyu2023-09-281-1/+1
| | | | | | | | | | | Changelog: Unicode 15.1 support. (From OE-Core rev: 878ae9cc02a865953201575840027e0577b372f4) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: upgrade 8.1.1 -> 8.2.0Wang Mingyu2023-09-141-1/+1
| | | | | | | | | | | | | | | | | Changelog: ========== - Various build and fuzzing fixes - Improvements to COLRv1 painting. - New API: +hb_paint_color_glyph_func_t +hb_paint_funcs_set_color_glyph_func +hb_paint_color_glyph (From OE-Core rev: dd603e09e561e8f89e27f4ddeb10c2be3db4bea3) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: update PACKAGECONFIGRoss Burton2023-09-071-1/+2
| | | | | | | | | | | Add a chafa PACKAGECONFIG so that we explicitly disable it, and update the graphite PACKAGECONFIG to use the graphite2 option as the old name is deprecated. (From OE-Core rev: d157e6eae6f72b8e4e0dbbc0ac4c8b008a813a92) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: upgrade 8.0.1 -> 8.1.1Anuj Mittal2023-08-211-1/+1
| | | | | | | (From OE-Core rev: 4c88fbb45ade45a1002d807aa767de9467f12a9f) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: upgrade 7.3.0 -> 8.0.1Wang Mingyu2023-07-211-1/+1
| | | | | | | | | | | | | | | | | | Changelog: =========== - Build fix on 32-bit arm. - More speed optimizations. - New, experimental, WebAssembly (WASM) shaper - Improvements to Experimental features introduced in earlier releases. - New macro HB_ALWAYS_INLINE. - New API. (From OE-Core rev: 973e0750dc56b5c8836dd810cabe1fb3a682acf6) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: upgrade 7.1.0 -> 7.3.0Anuj Mittal2023-05-221-1/+1
| | | | | | | | (From OE-Core rev: 675682c26fe9016c17dc831eb4178dcdedab16e4) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: depend on glib-2.0-nativePetr Kubizňák2023-04-031-0/+2
| | | | | | | | | | | When gobject-introspection feature is disabled, glib-2.0-native package dependency is not pulled in but harfbuzz has a hard dependency on it (do_configure fails due to missing glib-mkenums). (From OE-Core rev: 77e6edba704873d21c2cf946d1be18e13abb9f5e) Signed-off-by: Petr Kubizňák <kubiznak@2n.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: upgrade 7.0.1 -> 7.1.0Wang Mingyu2023-03-061-1/+1
| | | | | | | | | | | | | | | Changelog: ============= - New experimental hb_shape_justify() API that uses font variations to expand or shrink the text to a given advance. - Various build and bug fixes. - New API:+hb_font_set_variation() (From OE-Core rev: 89882d8028ed823617792fdc632d7376e7320aa3) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: upgrade 7.0.0 -> 7.0.1Wang Mingyu2023-02-241-1/+1
| | | | | | | | (From OE-Core rev: f3065f14d61c0c75c10cebfb9289e194361f8db4) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: upgrade 6.0.0 -> 7.0.0Alexander Kanavin2023-02-202-38/+3
| | | | | | | | | | License-Update: copyright years (From OE-Core rev: f7532332e9dde401d9cca5b7f53e2a4e47164261) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: Add missing <cstdio> and <cstdlib> includesKhem Raj2023-01-242-1/+36
| | | | | | | | (From OE-Core rev: b49b9338667894ac3e45a3cd0c4db2d2db4d9053) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: remove bindir only if it existsPetr Kubizňák2023-01-121-3/+3
| | | | | | | | | | | In some scenarios (e.g. when "glib" removed from PACKAGECONFIG), "${D}${bindir}" might not exist which caused `rmdir` to fail. (From OE-Core rev: 21261072cbe0056e85550a0710de142fab8943e4) Signed-off-by: Petr Kubizňák <kubiznak@2n.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: upgrade 5.3.1 -> 6.0.0Alexander Kanavin2023-01-061-1/+1
| | | | | | | | (From OE-Core rev: a2f24d4a31f9481b2814dfa9cbb4bf9ddffb0da4) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: upgrade 5.3.0 -> 5.3.1Alexander Kanavin2022-11-081-1/+1
| | | | | | | | (From OE-Core rev: 7d40cf6836edc55878b1ec54f2d6818d0e1b8408) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: upgrade 5.1.0 -> 5.3.0wangmy2022-10-262-31/+2
| | | | | | | | | | | | | | | | | | | | | | | 0001-fix-signedness-of-char-in-tests.patch removed since it's included in new version. Changelog: =========== Don’t add glyphs from dropped MATH or COLR tables to the subset glyphs. Map rlig to appropriate AAT feature selectors. Update USE data files to latest version. Check CBDT extents first before outline tables, to help with fonts that also include an empty glyf table. More work towards variable font instancing in the subsetter. Subsetter repacker improvements. New API: +hb_ot_layout_lookup_get_optical_bound() +hb_face_builder_sort_tables() (From OE-Core rev: 1f8b032924af08ead969c2baaf26a66bc2f134b7) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: fix version checks in all github recipes using the github-releases classAlexander Kanavin2022-09-281-5/+2
| | | | | | | | (From OE-Core rev: b04316bdd28b7945c2c91b4e43c007b650eedc14) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: upgrade 4.4.1 -> 5.1.0Alexander Kanavin2022-08-102-2/+31
| | | | | | | | (From OE-Core rev: 1cf79df7dd14c0bfa87364ff28fffb61e7c560fa) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: upgrade 4.3.0 -> 4.4.1Alexander Kanavin2022-07-081-1/+1
| | | | | | | | (From OE-Core rev: fe75e2833e61ec81723bc0b3a8e742202d12d558) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: upgrade 4.3.0 -> 4.4.0wangmy2022-07-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== - Caching of variable fonts shaping, in particular when using HarfBuzz’s own font loading functions (ot). Bringing performance of variable shaping in par with non-variable fonts shaping. - Caching of format 2 “Contextual Substitution” and “Chained Contexts Substitution” lookups. Resulting in up to 20% speedup of lookup-heavy fonts like Gulzar or Noto Nastaliq Urdu. - Improved ANSI output from hb-view. - Support for shaping legacy, pre-OpenType, Windows 3.1-era, Arabic fonts that relied on a fixed PUA encoding. - Sinhala script is now shaped by the USE shaper instead of “indic” one. - Thai shaper improvements. - hb-ot-name API supports approximate BCP-47 language matching, for example asking for “en_US” in a font that has only “en” names will return them. - Optimized TrueType glyph shape loading. - Fix subsetting of HarfBuzz faces created via hb_face_create_for_tables(). - Add 32 bit var store support to the subsetter. - New API +HB_BUFFER_FLAG_DEFINED +HB_BUFFER_SERIALIZE_FLAG_DEFINED +hb_font_changed() +hb_font_get_serial() +hb_ft_hb_font_changed() +hb_set_hash() +hb_map_copy() +hb_map_hash() (From OE-Core rev: bfe0f5b8fe449d2f7a4ac9d3629220a4190f70c5) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: upgrade 4.2.1 -> 4.3.0Richard Purdie2022-06-041-1/+1
| | | | | | (From OE-Core rev: 6cd2f526e4bdf02b20b115ffdae0bf381cf632a1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: upgrade 4.2.0 -> 4.2.1Alexander Kanavin2022-05-051-1/+1
| | | | | | | | (From OE-Core rev: e40d68a78c1a0d7e26e6859ede53105463af61f0) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: Upgrade to 4.2.0Khem Raj2022-04-191-1/+1
| | | | | | | | | | | | | Changes in this release [1] [2] [1] https://github.com/harfbuzz/harfbuzz/releases/tag/4.1.0 [2] https://github.com/harfbuzz/harfbuzz/releases/tag/4.2.0 (From OE-Core rev: e8336c3d08a3609ed8cb7b86c39231f70a74f1a6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: upgrade 4.0.0 -> 4.0.1wangmy2022-03-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | Changelog: ========= - Update OpenType to AAT mappings for hist and vrtr features. - Update IANA Language Subtag Registry to 2022-03-02. - Update USE shaper to allow any non-numeric tail in a symbol cluster, and remove obsolete data overrides. - Fix handling of baseline variations to return correctly scaled values. - A new experimental hb_subset_repack_or_fail() to repack an array of objects, eliminating offset overflows. The API is not available unless HarfBuzz is built with experimental APIs enabled. - New experimental API +hb_link_t +hb_object_t +hb_subset_repack_or_fail() (From OE-Core rev: 6a668a01c6502ba9e27c1d181b013284bfec4660) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: upgrade 3.4.0 -> 4.0.0Alexander Kanavin2022-03-091-1/+1
| | | | | | | (From OE-Core rev: ed92fec12b677b913c0d922b57e1f72819ecc2cb) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: upgrade 3.3.2 -> 3.4.0wangmy2022-02-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========= *Perform sanity checks on shaping results is now part of "harfbuzz" library and can be enabled by setting the buffer flag HB_BUFFER_FLAG_VERIFY. *Arabic Mark Transient Reordering Algorithm have been updated to revision 6. *ISO 15924 code for mathematical notation, 'Zmth', now maps to the OpenType 'math' tag. *It is now possible to get at once all math kerning values for a given glyph at a given corner. *Fix locale_t portability issues on systems the typedef's it to a void pointer *New API: +HB_BUFFER_FLAG_VERIFY +HB_OT_TAG_MATH_SCRIPT +HB_SCRIPT_MATH +hb_ot_math_kern_entry_t +hb_ot_math_get_glyph_kernings Deprecated API (From OE-Core rev: 52ee8b78ecee7fa4f95d3762799645277be19373) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: upgrade 3.3.1 -> 3.3.2wangmy2022-02-101-1/+1
| | | | | | | | | | | Changelog: ========= Revert splitting of pair positioning values introduced in 3.3.0 as it proved problematic (From OE-Core rev: 8993285b02a1763b5e182850b19bbc140ca3906a) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: upgrade 3.2.0 -> 3.3.1Alexander Kanavin2022-02-051-1/+1
| | | | | | | (From OE-Core rev: 5dcf6e8e3e6d0c66561fef35f5211641ca83e769) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: upgrade 3.1.2 -> 3.2.0Alexander Kanavin2021-12-171-1/+1
| | | | | | | (From OE-Core rev: 871c553643fcd08be6db98b97c332d9988b1f383) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: upgrade 3.1.1 -> 3.1.2Alexander Kanavin2021-12-091-1/+1
| | | | | | | (From OE-Core rev: fd4788c9557e6a88d7e9ffb02d8b75b003507612) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: upgrade 3.0.0 -> 3.1.1wangmy2021-11-101-1/+1
| | | | | | | | | | Work around GCC cast-align error/warning on some platforms. (Behdad Esfahbod) Documentation improvements. (Matthias Clasen) (From OE-Core rev: e1bcaabdf73e995dd01b9c81807c855a2f0ad6bc) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: upgrade 2.9.1 -> 3.0.0Alexander Kanavin2021-10-231-1/+1
| | | | | | | | (From OE-Core rev: 978c85d09a0deb89822caf5618cd793527ca404c) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>