mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-23 16:01:07 +01:00
14.5.0
This commit is contained in:
1 parent
240a7d7b8b
commit
863d3f7787
10 files changed
+70
-63
No files matched your search
@@ -1,13 +1,47 @@
|
||||
Overview of changes leading to REPLACEME
|
||||
======================================
|
||||
- Add script values for Unicode 18.0: Jurchen, Proto-Cuneiform, and Seal.
|
||||
- Use the Universal Shaping Engine for the new scripts and ideographic
|
||||
baselines for Jurchen and Seal.
|
||||
Overview of changes leading to 14.5.0
|
||||
Monday, September 21, 2026
|
||||
=====================================
|
||||
- Update Unicode 18.0 data and script support, including script values for
|
||||
Jurchen, Proto-Cuneiform, and Seal, and the corresponding shaping support.
|
||||
- Add support for VARC table subsetting, including pruning auxiliary data,
|
||||
remapping glyph IDs, and guarding the feature in lean builds.
|
||||
- Add rendering work budgets to the draw and paint APIs and share them across
|
||||
the raster, vector, GPU, and Cairo renderers so nested outline work remains
|
||||
bounded.
|
||||
- Improve performance in set iteration, lookup traversal, and the repacker, and
|
||||
add coverage for new benchmarks and fuzzing seeds.
|
||||
- Fix various correctness and robustness issues across the CFF, Graphite,
|
||||
DirectWrite, and repacker code paths, including memory leaks, overflow checks,
|
||||
bounds issues, and malformed-font handling.
|
||||
- Various build, portability, and CI fixes.
|
||||
|
||||
- New API:
|
||||
+HB_SCRIPT_JURCHEN
|
||||
+HB_SCRIPT_PROTO_CUNEIFORM
|
||||
+HB_SCRIPT_SEAL
|
||||
* Common:
|
||||
+HB_BUDGET_DEFAULT
|
||||
+HB_BUDGET_UNLIMITED
|
||||
+HB_SCRIPT_JURCHEN
|
||||
+HB_SCRIPT_PROTO_CUNEIFORM
|
||||
+HB_SCRIPT_SEAL
|
||||
* Draw:
|
||||
+hb_draw_set_budget_func_t
|
||||
+hb_draw_get_budget_func_t
|
||||
+hb_draw_get_budget_remaining_func_t
|
||||
+hb_draw_funcs_set_set_budget_func()
|
||||
+hb_draw_funcs_set_get_budget_func()
|
||||
+hb_draw_funcs_set_get_budget_remaining_func()
|
||||
+hb_draw_set_budget()
|
||||
+hb_draw_get_budget()
|
||||
+hb_draw_get_budget_remaining()
|
||||
* Paint:
|
||||
+hb_paint_set_budget_func_t
|
||||
+hb_paint_get_budget_func_t
|
||||
+hb_paint_get_budget_remaining_func_t
|
||||
+hb_paint_funcs_set_set_budget_func()
|
||||
+hb_paint_funcs_set_get_budget_func()
|
||||
+hb_paint_funcs_set_get_budget_remaining_func()
|
||||
+hb_paint_set_budget()
|
||||
+hb_paint_get_budget()
|
||||
+hb_paint_get_budget_remaining()
|
||||
|
||||
|
||||
Overview of changes leading to 14.4.0
|
||||
@@ -36,39 +70,11 @@ Overview of changes leading to 14.3.1
|
||||
Thursday, August 13, 2026
|
||||
=====================================
|
||||
- Various fuzzing and build fixes.
|
||||
- Add public draw and paint work-budget APIs. Rendering backends can expose a
|
||||
persistent policy and a live counter so nested outline traversal consumes the
|
||||
same finite budget as emitted output.
|
||||
- Various subsetting fixes.
|
||||
- Fix AAT insertion at the end of the text.
|
||||
- Fix various rendering bugs in the experimental GPU library.
|
||||
- WASM shaper code can now read the user features.
|
||||
|
||||
- New API:
|
||||
* Common:
|
||||
+HB_BUDGET_DEFAULT
|
||||
+HB_BUDGET_UNLIMITED
|
||||
* Draw:
|
||||
+hb_draw_set_budget_func_t
|
||||
+hb_draw_get_budget_func_t
|
||||
+hb_draw_get_budget_remaining_func_t
|
||||
+hb_draw_funcs_set_set_budget_func()
|
||||
+hb_draw_funcs_set_get_budget_func()
|
||||
+hb_draw_funcs_set_get_budget_remaining_func()
|
||||
+hb_draw_set_budget()
|
||||
+hb_draw_get_budget()
|
||||
+hb_draw_get_budget_remaining()
|
||||
* Paint:
|
||||
+hb_paint_set_budget_func_t
|
||||
+hb_paint_get_budget_func_t
|
||||
+hb_paint_get_budget_remaining_func_t
|
||||
+hb_paint_funcs_set_set_budget_func()
|
||||
+hb_paint_funcs_set_get_budget_func()
|
||||
+hb_paint_funcs_set_get_budget_remaining_func()
|
||||
+hb_paint_set_budget()
|
||||
+hb_paint_get_budget()
|
||||
+hb_paint_get_budget_remaining()
|
||||
|
||||
|
||||
Overview of changes leading to 14.3.0
|
||||
Friday, July 31, 2026
|
||||
|
||||
@@ -137,6 +137,7 @@
|
||||
<index id="api-index-full"><title>API Index</title><xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include></index>
|
||||
<index id="deprecated-api-index"><title>Index of deprecated API</title><xi:include href="xml/api-index-deprecated.xml"><xi:fallback /></xi:include></index>
|
||||
|
||||
<index id="api-index-14-5-0"><title>Index of new symbols in 14.5.0</title><xi:include href="xml/api-index-14.5.0.xml"><xi:fallback /></xi:include></index>
|
||||
<index id="api-index-14-4-0"><title>Index of new symbols in 14.4.0</title><xi:include href="xml/api-index-14.4.0.xml"><xi:fallback /></xi:include></index>
|
||||
<index id="api-index-14-3-0"><title>Index of new symbols in 14.3.0</title><xi:include href="xml/api-index-14.3.0.xml"><xi:fallback /></xi:include></index>
|
||||
<index id="api-index-14-2-0"><title>Index of new symbols in 14.2.0</title><xi:include href="xml/api-index-14.2.0.xml"><xi:fallback /></xi:include></index>
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
project('harfbuzz', ['c', 'cpp'],
|
||||
meson_version: '>= 0.60.0',
|
||||
version: '14.4.0',
|
||||
version: '14.5.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
|
||||
|
||||
+2
-2
@@ -99,7 +99,7 @@ typedef int hb_bool_t;
|
||||
*
|
||||
* Use the implementation's finite default work budget.
|
||||
*
|
||||
* XSince: REPLACEME
|
||||
* Since: 14.5.0
|
||||
**/
|
||||
#define HB_BUDGET_DEFAULT ((int64_t) (-0x7FFFFFFFFFFFFFFF - 1))
|
||||
|
||||
@@ -109,7 +109,7 @@ typedef int hb_bool_t;
|
||||
* Use an effectively unlimited work budget. Structural safety limits remain
|
||||
* active.
|
||||
*
|
||||
* XSince: REPLACEME
|
||||
* Since: 14.5.0
|
||||
**/
|
||||
#define HB_BUDGET_UNLIMITED ((int64_t) 0x7FFFFFFFFFFFFFFF)
|
||||
|
||||
|
||||
+3
-3
@@ -379,7 +379,7 @@ hb_draw_funcs_is_immutable (hb_draw_funcs_t *dfuncs)
|
||||
*
|
||||
* Return value: `true` if the draw functions support work budgets
|
||||
*
|
||||
* XSince: REPLACEME
|
||||
* Since: 14.5.0
|
||||
**/
|
||||
hb_bool_t
|
||||
hb_draw_set_budget (hb_draw_funcs_t *dfuncs, void *draw_data, int64_t budget)
|
||||
@@ -396,7 +396,7 @@ hb_draw_set_budget (hb_draw_funcs_t *dfuncs, void *draw_data, int64_t budget)
|
||||
*
|
||||
* Return value: the configured policy, or #HB_BUDGET_DEFAULT if unsupported
|
||||
*
|
||||
* XSince: REPLACEME
|
||||
* Since: 14.5.0
|
||||
**/
|
||||
int64_t
|
||||
hb_draw_get_budget (hb_draw_funcs_t *dfuncs, void *draw_data)
|
||||
@@ -416,7 +416,7 @@ hb_draw_get_budget (hb_draw_funcs_t *dfuncs, void *draw_data)
|
||||
* Return value: the live work budget; if it is not tracked, the concrete
|
||||
* configured policy or #HB_BUDGET_UNLIMITED
|
||||
*
|
||||
* XSince: REPLACEME
|
||||
* Since: 14.5.0
|
||||
**/
|
||||
int64_t
|
||||
hb_draw_get_budget_remaining (hb_draw_funcs_t *dfuncs, void *draw_data)
|
||||
|
||||
+6
-6
@@ -207,7 +207,7 @@ typedef void (*hb_draw_close_path_func_t) (hb_draw_funcs_t *dfuncs, void *draw_d
|
||||
*
|
||||
* Return value: `true` if the budget was set, `false` if unsupported
|
||||
*
|
||||
* XSince: REPLACEME
|
||||
* Since: 14.5.0
|
||||
**/
|
||||
typedef hb_bool_t (*hb_draw_set_budget_func_t) (hb_draw_funcs_t *dfuncs,
|
||||
void *draw_data,
|
||||
@@ -224,7 +224,7 @@ typedef hb_bool_t (*hb_draw_set_budget_func_t) (hb_draw_funcs_t *dfuncs,
|
||||
*
|
||||
* Return value: the configured work-budget policy
|
||||
*
|
||||
* XSince: REPLACEME
|
||||
* Since: 14.5.0
|
||||
**/
|
||||
typedef int64_t (*hb_draw_get_budget_func_t) (hb_draw_funcs_t *dfuncs,
|
||||
void *draw_data,
|
||||
@@ -244,7 +244,7 @@ typedef int64_t (*hb_draw_get_budget_func_t) (hb_draw_funcs_t *dfuncs,
|
||||
* Return value: (nullable) (transfer none): the live work budget, or `NULL` if
|
||||
* live budget accounting is unsupported
|
||||
*
|
||||
* XSince: REPLACEME
|
||||
* Since: 14.5.0
|
||||
**/
|
||||
typedef int64_t *(*hb_draw_get_budget_remaining_func_t) (hb_draw_funcs_t *dfuncs,
|
||||
void *draw_data,
|
||||
@@ -339,7 +339,7 @@ hb_draw_funcs_set_close_path_func (hb_draw_funcs_t *dfuncs,
|
||||
*
|
||||
* Sets the budget setter callback.
|
||||
*
|
||||
* XSince: REPLACEME
|
||||
* Since: 14.5.0
|
||||
**/
|
||||
HB_EXTERN void
|
||||
hb_draw_funcs_set_set_budget_func (hb_draw_funcs_t *dfuncs,
|
||||
@@ -355,7 +355,7 @@ hb_draw_funcs_set_set_budget_func (hb_draw_funcs_t *dfuncs,
|
||||
*
|
||||
* Sets the budget-policy getter callback.
|
||||
*
|
||||
* XSince: REPLACEME
|
||||
* Since: 14.5.0
|
||||
**/
|
||||
HB_EXTERN void
|
||||
hb_draw_funcs_set_get_budget_func (hb_draw_funcs_t *dfuncs,
|
||||
@@ -371,7 +371,7 @@ hb_draw_funcs_set_get_budget_func (hb_draw_funcs_t *dfuncs,
|
||||
*
|
||||
* Sets the live-budget getter callback.
|
||||
*
|
||||
* XSince: REPLACEME
|
||||
* Since: 14.5.0
|
||||
**/
|
||||
HB_EXTERN void
|
||||
hb_draw_funcs_set_get_budget_remaining_func (hb_draw_funcs_t *dfuncs,
|
||||
|
||||
+3
-3
@@ -444,7 +444,7 @@ hb_paint_funcs_is_immutable (hb_paint_funcs_t *funcs)
|
||||
*
|
||||
* Return value: `true` if the paint functions support work budgets
|
||||
*
|
||||
* XSince: REPLACEME
|
||||
* Since: 14.5.0
|
||||
**/
|
||||
hb_bool_t
|
||||
hb_paint_set_budget (hb_paint_funcs_t *funcs, void *paint_data, int64_t budget)
|
||||
@@ -461,7 +461,7 @@ hb_paint_set_budget (hb_paint_funcs_t *funcs, void *paint_data, int64_t budget)
|
||||
*
|
||||
* Return value: the configured policy, or #HB_BUDGET_DEFAULT if unsupported
|
||||
*
|
||||
* XSince: REPLACEME
|
||||
* Since: 14.5.0
|
||||
**/
|
||||
int64_t
|
||||
hb_paint_get_budget (hb_paint_funcs_t *funcs, void *paint_data)
|
||||
@@ -481,7 +481,7 @@ hb_paint_get_budget (hb_paint_funcs_t *funcs, void *paint_data)
|
||||
* Return value: the live work budget; if it is not tracked, the concrete
|
||||
* configured policy or #HB_BUDGET_UNLIMITED
|
||||
*
|
||||
* XSince: REPLACEME
|
||||
* Since: 14.5.0
|
||||
**/
|
||||
int64_t
|
||||
hb_paint_get_budget_remaining (hb_paint_funcs_t *funcs, void *paint_data)
|
||||
|
||||
+6
-6
@@ -75,7 +75,7 @@ typedef struct hb_paint_funcs_t hb_paint_funcs_t;
|
||||
*
|
||||
* Return value: `true` if the budget was set, `false` if unsupported
|
||||
*
|
||||
* XSince: REPLACEME
|
||||
* Since: 14.5.0
|
||||
**/
|
||||
typedef hb_bool_t (*hb_paint_set_budget_func_t) (hb_paint_funcs_t *funcs,
|
||||
void *paint_data,
|
||||
@@ -92,7 +92,7 @@ typedef hb_bool_t (*hb_paint_set_budget_func_t) (hb_paint_funcs_t *funcs,
|
||||
*
|
||||
* Return value: the configured work-budget policy
|
||||
*
|
||||
* XSince: REPLACEME
|
||||
* Since: 14.5.0
|
||||
**/
|
||||
typedef int64_t (*hb_paint_get_budget_func_t) (hb_paint_funcs_t *funcs,
|
||||
void *paint_data,
|
||||
@@ -112,7 +112,7 @@ typedef int64_t (*hb_paint_get_budget_func_t) (hb_paint_funcs_t *funcs,
|
||||
* Return value: (nullable) (transfer none): the live work budget, or `NULL` if
|
||||
* live budget accounting is unsupported
|
||||
*
|
||||
* XSince: REPLACEME
|
||||
* Since: 14.5.0
|
||||
**/
|
||||
typedef int64_t *(*hb_paint_get_budget_remaining_func_t) (hb_paint_funcs_t *funcs,
|
||||
void *paint_data,
|
||||
@@ -127,7 +127,7 @@ typedef int64_t *(*hb_paint_get_budget_remaining_func_t) (hb_paint_funcs_t *func
|
||||
*
|
||||
* Sets the budget setter callback.
|
||||
*
|
||||
* XSince: REPLACEME
|
||||
* Since: 14.5.0
|
||||
**/
|
||||
HB_EXTERN void
|
||||
hb_paint_funcs_set_set_budget_func (hb_paint_funcs_t *funcs,
|
||||
@@ -143,7 +143,7 @@ hb_paint_funcs_set_set_budget_func (hb_paint_funcs_t *funcs,
|
||||
*
|
||||
* Sets the budget-policy getter callback.
|
||||
*
|
||||
* XSince: REPLACEME
|
||||
* Since: 14.5.0
|
||||
**/
|
||||
HB_EXTERN void
|
||||
hb_paint_funcs_set_get_budget_func (hb_paint_funcs_t *funcs,
|
||||
@@ -159,7 +159,7 @@ hb_paint_funcs_set_get_budget_func (hb_paint_funcs_t *funcs,
|
||||
*
|
||||
* Sets the live-budget getter callback.
|
||||
*
|
||||
* XSince: REPLACEME
|
||||
* Since: 14.5.0
|
||||
**/
|
||||
HB_EXTERN void
|
||||
hb_paint_funcs_set_get_budget_remaining_func (hb_paint_funcs_t *funcs,
|
||||
|
||||
@@ -227,9 +227,9 @@ HB_END_DECLS
|
||||
* @HB_SCRIPT_SIDETIC: `Sidt`, Since: 11.5.0
|
||||
* @HB_SCRIPT_TAI_YO: `Tayo`, Since: 11.5.0
|
||||
* @HB_SCRIPT_TOLONG_SIKI: `Tols`, Since: 11.5.0
|
||||
* @HB_SCRIPT_JURCHEN: `Jurc`, XSince: REPLACEME
|
||||
* @HB_SCRIPT_PROTO_CUNEIFORM: `Pcun`, XSince: REPLACEME
|
||||
* @HB_SCRIPT_SEAL: `Seal`, XSince: REPLACEME
|
||||
* @HB_SCRIPT_JURCHEN: `Jurc`, Since: 14.5.0
|
||||
* @HB_SCRIPT_PROTO_CUNEIFORM: `Pcun`, Since: 14.5.0
|
||||
* @HB_SCRIPT_SEAL: `Seal`, Since: 14.5.0
|
||||
* @HB_SCRIPT_INVALID: No script set
|
||||
*
|
||||
* Data type for scripts. Each #hb_script_t's value is an #hb_tag_t corresponding
|
||||
@@ -477,7 +477,7 @@ typedef enum
|
||||
HB_SCRIPT_TOLONG_SIKI = HB_TAG ('T','o','l','s'), /*17.0*/
|
||||
|
||||
/*
|
||||
* XSince: REPLACEME
|
||||
* Since: 14.5.0
|
||||
*/
|
||||
HB_SCRIPT_JURCHEN = HB_TAG ('J','u','r','c'), /*18.0*/
|
||||
HB_SCRIPT_PROTO_CUNEIFORM = HB_TAG ('P','c','u','n'), /*18.0*/
|
||||
|
||||
+2
-2
@@ -47,7 +47,7 @@ HB_BEGIN_DECLS
|
||||
*
|
||||
* The minor component of the library version available at compile-time.
|
||||
*/
|
||||
#define HB_VERSION_MINOR 4
|
||||
#define HB_VERSION_MINOR 5
|
||||
/**
|
||||
* 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.4.0"
|
||||
#define HB_VERSION_STRING "14.5.0"
|
||||
|
||||
/**
|
||||
* HB_VERSION_ATLEAST:
|
||||
|
||||
Reference in new issue
Block a user