Recent Releases

4.0.002 Mar 2022 00:30 major feature: New public API to create subset plan and gather information on things like glyph mappings in the final subset. The plan can then be passed on to perform the subsetting operation. (Garret Rieger) Draw API for extracting glyph shapes have been extended and finalized and is no longer an experimental API. The draw API supports glyf, CFF and CFF2 glyph outlines tables, and applies variation settings set on the font as well as synthetic slant. The new public API is not backward compatible with the previous, non-public, experimental API. (Behdad Esfahbod) The hb-view tool will use HarfBuzz draw API to render the glyphs instead of cairo-ft when compiled with Cairo 1.17.5 or newer, setting HB_DRAW environment variable to 1 or 0 will force using or not use the draw API, respectively. (Behdad Esfahbod) The hb-shape and hb-view tools now default to using HarfBuzz s own font loading functions (ot) instead of FreeType ones (ft). They also have a new option, --font-slant, to apply synthetic slant to the font. (Behdad Esfahbod) HarfBuzz now supports more than 65535 (the OpenType limit) glyph shapes and metrics. See be-fonts/boring-expansion-spec#6 and be-fonts/boring-expansion-spec#7 for details. (Behdad Esfahbod) New API to get the dominant horizontal baseline tag for a given script. (Behdad Esfahbod) New API to get the baseline positions from the font, and synthesize missing ones. As well as new API to get font metrics and synthesize missing ones. (Matthias Clasen) Improvements to finding dependencies on Windows when building with Visual Studio. (Chun-wei Fan) New buffer flag, HB_BUFFER_FLAG_PRODUCE_UNSAFE_TO_CONCAT, that must be set during shaping for HB_GLYPH_FLAG_UNSAFE_TO_CONCAT flag to be reliably produced. This is to limit the performance hit of producing this flag to when it is actually needed. (Behdad Esfahbod) Documentation improvements. (Matthias Clasen) New API General: +HB_BUFFER_FLAG_PRODUCE_UNSAFE_
3.0.019 Sep 2021 07:45 minor feature: Unicode 14.0 support (David Corbett). . The hb-subset API and the harfbuzz-subset library's ABI are now declared stable. The harfbuzz-subset library would not have been possible without the work of Garret Rieger and Qunxin Liu from Google Fonts, and the earlier work of Michiharu Ariza from Adobe. . The hb-style API is now stable and no longer experimental. . New API: +hb_style_tag_t. +hb_style_get_value(). +hb_subset_input_t. +hb_subset_flags_t. +hb_subset_sets_t. +hb_subset_input_create_or_fail(). +hb_subset_input_reference(). +hb_subset_input_destroy(). +hb_subset_input_set_user_data(). +hb_subset_input_get_user_data(). +hb_subset_input_unicode_set(). +hb_subset_input_glyph_set(). +hb_subset_input_set(). +hb_subset_input_get_flags(). +hb_subset_input_set_flags(). +hb_subset_or_fail(). . Removed old unstable harfbuzz-subset API: -hb_subset_input_nameid_set(). -hb_subset_input_namelangid_set(). -hb_subset_input_layout_features_set(). -hb_subset_input_no_subset_tables_set(). -hb_subset_input_drop_tables_set(). -hb_subset_input_set_drop_hints(). -hb_subset_input_get_drop_hints(). -hb_subset_input_set_desubroutinize(). -hb_subset_input_get_desubroutinize(). -hb_subset_input_set_retain_gids(). -hb_subset_input_get_retain_gids(). -hb_subset_input_set_name_legacy(). -hb_subset_input_get_name_legacy(). -hb_subset_input_set_overlaps_flag(). -hb_subset_input_get_overlaps_flag(). -hb_subset_input_set_notdef_outline(). -hb_subset_input_get_notdef_outline(). -hb_subset_input_set_no_prune_unicode_ranges(). -hb_subset_input_get_no_prune_unicode_ranges(). -hb_subset().
2.9.108 Sep 2021 03:15 minor feature: Final subset API is in place and if no are discovered, it will be the stable subset API of HarfBuzz 3.0.0. Old API is kept to ease transition, but will be removed in 3.0.0. Various fuzzer-found. Hb_buffer_append() now handles the pre- and post-context which previously were left unchanged in the destination buffer. hb-view / hb-shape now accept following new arguments: --unicodes-before/after: takes a list of hex numbers that represent Unicode. Codepoints. . --unicodes-before/after: takes a list of hex numbers that represent Unicode. Codepoints. Undeprecated API:hb_set_invert().
2.9.020 Aug 2021 06:25 minor feature: Subsetter API is being stabilized, with the first stable API to happen in 3.0.0 release. Support multiple variation axes with same tag, aka HOI. The coretext testing shaper now passes font variations to CoreText. hb-shape/hb-view does not break line at new lines unless text is read from file. hb-view and hb-subset has a --batch now, similar to hb-shape. The --batch mode now uses ; as argument separator instead of : used previously. The --batch in hb-shape does not expect 0th argument anymore. That is, the lines read are interpreted as argv 1: , instead of argv 0: . The --batch option has been undocumented. We are ready to document it; send feedback if you find it useful. hb-subset got arguments revamps. Added much-requested --gids-file, --glyphs, --glyphs-file, --unicodes-file, supporting ranges in --unicodes. Various.
2.8.209 Jul 2021 04:05 minor feature: Shaping LTR digits for RTL scripts now makes the native direction of the digits LTR, applying shaping and positioning rules on the same glyph order as Uniscribe. (Jonathan Kew, Khaled Hosny). Subsetting COLR v1 and CPAL tables is now supported. (Garret Rieger, Qunxin Liu). Various and improvements to the subsetter. (Garret Rieger, Qunxin Liu, Behdad). When applying morx table, mark glyph widths should not be zeroed. (Jonathan Kew). GPOS is preferred over kerx, if GSUB was applied. (Behdad). Regional_Indicator pairs are grouped together when clustering. (Behdad). New APIs: +hb_blob_create_or_fail(). +hb_blob_create_from_file_or_fail(). +hb_set_copy().
2.8.106 May 2021 06:25 minor feature: 2.8.1 Subsetter now fully supports GSUB/GPOS/GDEF tables (including variations); as. such, layout tables are retained by subsetter by default. (Garret Rieger, Qunxin Liu). Build scripts no longer check for FontConfig as HarfBuzz does not use it. hb-view supports iTerm2 and kitty inline image protocols (Khaled Hosny). it can also use Chafa for terminal graphics if available (Hans Petter Jansson).
2.8.017 Mar 2021 03:15 minor feature: Shape joining scripts other than Arabic/Syriac using the Universal Shaping Engine. Previously these were shaped using the generalized Arabic shaper. (David Corbett). regression in shaping of U+0B55 ORIYA SIGN OVERLINE. (David Corbett). Update language tags. (David Corbett). Variations: reduce error: do not round each interpolated delta. (Just van Rossum). Documentation improvements. (Khaled Hosny, Nathan Willis). Subsetter improvements: subsets most, if not all, lookup types now. (Garret Rieger, Qunxin Liu). Fuzzer-found and other improvements when memory failures happen. (Behdad). Removed most atomic implementations now that we have C++11 atomic impl. (Behdad). General codebase upkeep; using more C++11 features: constexpr constructors, etc. (Behdad).
2.7.428 Dec 2020 03:20 minor feature: Missing --enable-introspection configure option from previous release tarball. Documentation updates.
2.7.324 Dec 2020 15:45 minor feature: Update USE shaper to 2020-08-13 specification, and other improvements. Don t disable liga feature in myanmar shaper, to match Uniscribe. Improvements to language and script tags handling. Update language system tag registry to OpenType 1.8.4. Support for serializing and deserializing Unicode buffers. Serialized buffers are now delimited with or based on whether it is a Unicode or glyphs buffer. Increase buffer work limits to handle fonts with many complex lookups. Handle more shaping operations in trace output. Memory access. More OOM. Improved documentation. Build system improvements. New API: +hb_buffer_has_positions(). +hb_buffer_serialize(). +hb_buffer_serialize_unicode(). +hb_buffer_deserialize_unicode().
2.7.229 Aug 2020 03:15 minor feature: a regression in the previous release that caused a crash with Kaithi. More OOM.
2.7.114 Aug 2020 06:25 minor feature: ot-funcs now handles variable empty glyphs better when hvar/vvar isn't present. Reverted a GDEF processing regression. A couple of to handle OOM better.
2.7.026 Jul 2020 03:25 minor feature: Use an implementation for round that always rounds up, some minor fluctuations Are expected on var font specially when hb-ot callback is used. an AAT's kerx on broken rendering of Devanagari Sangam MN. Remove AAT's lcar table support from _get_ligature_carets API, not even much Use on macOS installed fonts (only two files). GDEF support is the recommended One and expected to work properly after two releases ago. Minor memory to handle OOM better specially in hb-ft. files versioning scheme change and remove stable/unstable scheme Differences, was never used in practice (always default to stable scheme). We are now suggesting careful packaging of the library using meson, For more information. Distribution package URL is changed, either use GitHub generated tarballs, pkgver.tar.gz or, even more preferably use commit hash of the release and git checkouts like,git+ commit.
2.6.823 Jun 2020 03:15 minor feature: New API to fetch glyph alternates from GSUB table. hb-coretext build for macOS 10.10. Meson build, cmake port removal is postponed but please prepare for it and give us feedback. Autotools is still our main build system however please consider experimenting with meson also for packaging the library. New API: +hb_ot_layout_lookup_get_glyph_alternates().
2.6.704 Jun 2020 03:15 minor feature: Update to Unicode 13.0.0. Hb_ot_layout_get_ligature_carets for fonts without lcar table, it was Completely broken for all the other fonts since 2.1.2. As a part of our migration to meson, this release will be the last one to provide cmake port files but autotools still is our main build system. There is a possibility that the next version or the after be released Using meson.
2.6.612 May 2020 03:15 minor feature: A in AAT kerning for Geeza Pro. Better support for resource fork fonts on macOS.
2.6.518 Apr 2020 03:15 minor feature: Add experimental meson build system. Autotools is still the primary and supported build system. AAT is now always preferred for horizontal scripts when both AAT and OT layout tables exist at the same time. Subsetter improvements. New API: +hb_ft_font_lock_face(). +hb_ft_font_unlock_face().
2.6.402 Nov 2019 15:45 minor feature: Small. Build.
2.6.329 Oct 2019 08:45 minor feature: Misc small, mostly to build-related. New API: +hb_font_get_nominal_glyphs().
2.6.202 Oct 2019 05:59 minor feature:
2.2.602 Oct 2019 02:05 minor feature: