This commit is contained in:
Khaled Hosny committed 2026-03-11 04:01:41 +02:00
1 parent 51b9d2c756
commit 68d19d6964
5 files changed
+24 -6

No files matched your search

+17
View File
@@ -1,3 +1,20 @@
Overview of changes leading to 13.1.0
Wednesday, March 11, 2026
=====================================
- The `harfbuzz-raster` library can now render bitmap color glyph formats
(`CBDT` and `sbix`). It now also has an API to serialize / deserialize images
to and from PNGs. This new functionality requires `libpng`, and will not be
available if HarfBuzz is built without `libpng`.
- Install `hb-raster` command line utility.
- Fix overflow when applying `stch` feature with malicious fonts.
- Fix memory leaks in `harfbuzz-raster` and `harfbuzz-vector` in error
conditions, as well as more robust handling of allocation failures.
- Various documentation improvements and build fixes.
- New API:
+hb_raster_image_serialize_to_png_or_fail()
+hb_raster_image_deserialize_from_png_or_fail()
Overview of changes leading to 13.0.1
Saturday, March 7, 2026
=====================================
+1
View File
@@ -124,6 +124,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-13-1-0"><title>Index of new symbols in 13.1.0</title><xi:include href="xml/api-index-13.1.0.xml"><xi:fallback /></xi:include></index>
<index id="api-index-13-0-0"><title>Index of new symbols in 13.0.0</title><xi:include href="xml/api-index-13.0.0.xml"><xi:fallback /></xi:include></index>
<index id="api-index-12-1-0"><title>Index of new symbols in 12.1.0</title><xi:include href="xml/api-index-12.1.0.xml"><xi:fallback /></xi:include></index>
<index id="api-index-11-3-0"><title>Index of new symbols in 11.3.0</title><xi:include href="xml/api-index-11.3.0.xml"><xi:fallback /></xi:include></index>
+1 -1
View File
@@ -1,6 +1,6 @@
project('harfbuzz', ['c', 'cpp'],
meson_version: '>= 0.60.0',
version: '13.0.1',
version: '13.1.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
View File
@@ -938,7 +938,7 @@ hb_raster_image_get_format (hb_raster_image_t *image)
*
* Return value: `true` if deserialization succeeded, `false` otherwise
*
* XSince: REPLACEME
* Since: 13.1.0
**/
hb_bool_t
hb_raster_image_deserialize_from_png_or_fail (hb_raster_image_t *image,
@@ -958,7 +958,7 @@ hb_raster_image_deserialize_from_png_or_fail (hb_raster_image_t *image,
* Return value: (transfer full):
* A newly allocated PNG #hb_blob_t, or `NULL` on failure
*
* XSince: REPLACEME
* Since: 13.1.0
**/
hb_blob_t *
hb_raster_image_serialize_to_png_or_fail (hb_raster_image_t *image)
+3 -3
View File
@@ -47,20 +47,20 @@ HB_BEGIN_DECLS
*
* The minor component of the library version available at compile-time.
*/
#define HB_VERSION_MINOR 0
#define HB_VERSION_MINOR 1
/**
* HB_VERSION_MICRO:
*
* The micro component of the library version available at compile-time.
*/
#define HB_VERSION_MICRO 1
#define HB_VERSION_MICRO 0
/**
* HB_VERSION_STRING:
*
* A string literal containing the library version available at compile-time.
*/
#define HB_VERSION_STRING "13.0.1"
#define HB_VERSION_STRING "13.1.0"
/**
* HB_VERSION_ATLEAST: