diff --git a/NEWS b/NEWS index a1f734d29..a0523895f 100644 --- a/NEWS +++ b/NEWS @@ -1,10 +1,50 @@ -- Support instancing axes not referenced by retained `VARC` data. -- Fix stale face data and possible use-after-free in hb_font_set_face(). - Changing the face now releases the font functions and their data and - installs the default font functions for the new face. Other font - properties are preserved. -- Deprecate hb_font_set_face(). Use hb_font_create() to create a new font - instead. +Overview of changes leading to 15.0.0 +Thursday, October 22, 2026 +===================================== +- Support for the new tables and formats in the ISO Open Font Format (OFF) 5th + edition is now enabled by default: + * New tables and formats for 24-bit glyph indices (a.k.a. beyond-64k): the + `GLYF`, `LOCA`, `GVAR`, `MAXP`, `HHEA`, `HMTX`, `VHEA`, and `VMTX` tables, + `cmap` format 15, `VORG` version 2, `COLR` `PaintGlyph2`, the 24-bit + `GSUB`, `GPOS`, `GDEF`, `BASE`, and `JSTF` formats, and extended TrueType + Collection directories. + A test font, `NotoSans-beyond64k.ttf`, which merges the Noto Sans fonts + into a single font, can be found at: + https://drive.google.com/file/d/1vMQI9mZMzfKIMHD96Iie40Oyo9NnnweH/view + * Cubic curves in `GLYF` outlines. + * The `DMAP` table, supported since 14.6.0. +- Support instancing axes not referenced by retained `VARC` data. The latest + `VARC` test fonts can be found at: + https://github.com/notofonts/noto-cjk-varco/releases/tag/v0.005 +- The raster (`libharfbuzz-raster`), vector (`libharfbuzz-vector`), and GPU + (`libharfbuzz-gpu`) libraries are no longer considered experimental. + This means that the HarfBuzz API and ABI stability guarantees now apply to + these libraries as well. +- Fix possible use-after-free in `hb_font_set_face()`, which now resets the + font functions to the defaults for the new face. The function is now + deprecated. Use `hb_font_create()` instead. +- Fix heap-buffer-overflow in `hb_font_set_variation()` after + `hb_font_set_face()` switches to a face with more variation axes. +- Subsetting `CFF` and `CFF2` fonts whose subroutine calls are not preceded by + an immediate subroutine number now fails instead of silently dropping the + table, unless desubroutinizing. +- Overriding atomic operators at compile time is not supported anymore. +- Rewrite the number parser without Ragel, fixing various edge cases. +- Harden the experimental WebAssembly shaper against malicious fonts. +- Update the experimental Rust shaper (HarfRust) to 0.15, and the `fontations` + font functions to read-fonts 0.46. +- Update the `kbts` shaping backend to `kb_text_shape` 2.28g, and support font + variations in it. +- Various subsetting and instancing fixes, especially for `CFF2`, `COLR`, and + variable layout tables. +- Various fixes to the raster and vector libraries. +- Various variable font fixes. +- Various fixes for malformed fonts. +- Various documentation fixes. +- Various build and CI fixes. + +- Deprecated API: + -hb_font_set_face() Overview of changes leading to 14.6.0 diff --git a/meson.build b/meson.build index 86902e0d9..34494f773 100644 --- a/meson.build +++ b/meson.build @@ -1,6 +1,6 @@ project('harfbuzz', ['c', 'cpp'], meson_version: '>= 0.60.0', - version: '14.6.0', + version: '15.0.0', default_options: [ 'cpp_eh=none', # Just to support msvc, we are passing -fno-exceptions also anyway # 'cpp_rtti=false', # Do NOT enable, wraps inherit it and ICU needs RTTI diff --git a/src/hb-font.cc b/src/hb-font.cc index aeb953aa7..37191a939 100644 --- a/src/hb-font.cc +++ b/src/hb-font.cc @@ -2483,7 +2483,7 @@ hb_font_get_parent (hb_font_t *font) * font properties, such as scale and variations, are kept. * * Since: 1.4.3 - * XDeprecated: REPLACEME: Use hb_font_create() instead. + * Deprecated: 15.0.0: Use hb_font_create() instead. **/ void hb_font_set_face (hb_font_t *font, diff --git a/src/hb-version.h b/src/hb-version.h index 8b7864cce..aaccc2f7f 100644 --- a/src/hb-version.h +++ b/src/hb-version.h @@ -41,13 +41,13 @@ HB_BEGIN_DECLS * * The major component of the library version available at compile-time. */ -#define HB_VERSION_MAJOR 14 +#define HB_VERSION_MAJOR 15 /** * HB_VERSION_MINOR: * * The minor component of the library version available at compile-time. */ -#define HB_VERSION_MINOR 6 +#define HB_VERSION_MINOR 0 /** * HB_VERSION_MICRO: * @@ -60,7 +60,7 @@ HB_BEGIN_DECLS * * A string literal containing the library version available at compile-time. */ -#define HB_VERSION_STRING "14.6.0" +#define HB_VERSION_STRING "15.0.0" /** * HB_VERSION_ATLEAST: