mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-21 15:01:01 +01:00
14.3.0
This commit is contained in:
1 parent
4d1065449a
commit
4c2aa80467
11 files changed
+90
-19
No files matched your search
@@ -1,3 +1,73 @@
|
||||
Overview of changes leading to 14.3.0
|
||||
Friday, July 31, 2026
|
||||
=====================================
|
||||
- Changes affecting shaping output:
|
||||
* Lookup order is now respected for mark positioning in the cross-direction
|
||||
(y in horizontal text, x in vertical text): marks no longer follow a
|
||||
cross-direction shift that a later lookup applies to the base. This
|
||||
improves compatibility with DirectWrite and Core Text.
|
||||
* Fix mark attachment to ligatures formed from decomposed glyphs.
|
||||
* The `calt` feature in Hangul text is now disabled only for the Jamos,
|
||||
not the whole buffer.
|
||||
|
||||
- Support for partially instancing version of `avar` table, as well as `CFF2`
|
||||
table.
|
||||
|
||||
- New fill-glyph paint operation and APIs for the common case of filling a
|
||||
glyph with a solid color.
|
||||
|
||||
- New API to fetch assorted raw values from the `OS/2`, `head`, and `post`
|
||||
tables.
|
||||
|
||||
- New experimental API to extract a font’s glyph dependency graph, that
|
||||
applications can use to compute glyph closures themselves without running the
|
||||
subsetter.
|
||||
|
||||
- New subset flag to convert the charset of a subsetted CID-keyed `CFF` fonts
|
||||
into identity charset, and a matching `hb-subset` option. Useful for
|
||||
embedding fonts in PDF.
|
||||
|
||||
- Command-line utilities now handle non-ASCII arguments correctly on Windows.
|
||||
|
||||
- Various instancing and subsetting fixes.
|
||||
|
||||
- Various fixes to the experimental `harfbuzz-vector`, `harfbuzz-raster` and
|
||||
`harfbuzz-gpu` libraries.
|
||||
|
||||
- Various improvements to the HarfRust integration shaper.
|
||||
|
||||
- Various build, CI, portability, and fuzzing fixes.
|
||||
|
||||
- New API:
|
||||
* OpenType:
|
||||
+HB_OT_BITS_TAG_FS_TYPE
|
||||
+HB_OT_BITS_TAG_FS_SELECTION
|
||||
+HB_OT_BITS_TAG_MAC_STYLE
|
||||
+HB_OT_BITS_TAG_IS_FIXED_PITCH
|
||||
+HB_OT_BITS_TAG_UNICODE_RANGE_1
|
||||
+HB_OT_BITS_TAG_UNICODE_RANGE_2
|
||||
+HB_OT_BITS_TAG_UNICODE_RANGE_3
|
||||
+HB_OT_BITS_TAG_UNICODE_RANGE_4
|
||||
+HB_OT_BITS_TAG_CODE_PAGE_RANGE_1
|
||||
+HB_OT_BITS_TAG_CODE_PAGE_RANGE_2
|
||||
+HB_OT_NUMBER_TAG_FONT_X_MIN
|
||||
+HB_OT_NUMBER_TAG_FONT_Y_MIN
|
||||
+HB_OT_NUMBER_TAG_FONT_X_MAX
|
||||
+HB_OT_NUMBER_TAG_FONT_Y_MAX
|
||||
+hb_ot_bits_tag_t
|
||||
+hb_ot_fetch_bits()
|
||||
+hb_ot_number_tag_t
|
||||
+hb_ot_fetch_number()
|
||||
|
||||
* Paint:
|
||||
+hb_paint_fill_glyph_func_t
|
||||
+hb_paint_fill_glyph()
|
||||
+hb_paint_funcs_set_fill_glyph_func()
|
||||
|
||||
* Subset library:
|
||||
+HB_SUBSET_FLAGS_CFF_IDENTITY_CHARSET
|
||||
|
||||
|
||||
Overview of changes leading to 14.2.1
|
||||
Tuesday, June 2, 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-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>
|
||||
<index id="api-index-14-1-0"><title>Index of new symbols in 14.1.0</title><xi:include href="xml/api-index-14.1.0.xml"><xi:fallback /></xi:include></index>
|
||||
<index id="api-index-14-0-0"><title>Index of new symbols in 14.0.0</title><xi:include href="xml/api-index-14.0.0.xml"><xi:fallback /></xi:include></index>
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
project('harfbuzz', ['c', 'cpp'],
|
||||
meson_version: '>= 0.60.0',
|
||||
version: '14.2.1',
|
||||
version: '14.3.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
|
||||
|
||||
+4
-4
@@ -123,7 +123,7 @@ hb_depend_data_builder_t::compile (hb_face_t *face)
|
||||
* Return value: (transfer full): New depend object, or `nullptr` if creation
|
||||
* failed (out of memory or invalid face). Destroy with hb_subset_depend_destroy().
|
||||
*
|
||||
* XSince: REPLACEME
|
||||
* Since: 14.3.0
|
||||
**/
|
||||
hb_subset_depend_t *
|
||||
hb_subset_depend_from_face_or_fail (hb_face_t *face)
|
||||
@@ -168,7 +168,7 @@ hb_subset_depend_from_face_or_fail (hb_face_t *face)
|
||||
*
|
||||
* Return value: Total number of dependency edges for @gid.
|
||||
*
|
||||
* XSince: REPLACEME
|
||||
* Since: 14.3.0
|
||||
**/
|
||||
unsigned int
|
||||
hb_subset_depend_lookup_glyph (hb_subset_depend_t *depend,
|
||||
@@ -218,7 +218,7 @@ hb_subset_depend_lookup_glyph (hb_subset_depend_t *depend,
|
||||
*
|
||||
* Return value: true if there is such a set, false otherwise
|
||||
*
|
||||
* XSince: REPLACEME
|
||||
* Since: 14.3.0
|
||||
**/
|
||||
hb_bool_t
|
||||
hb_subset_depend_lookup_set (hb_subset_depend_t *depend, hb_codepoint_t index,
|
||||
@@ -237,7 +237,7 @@ hb_subset_depend_lookup_set (hb_subset_depend_t *depend, hb_codepoint_t index,
|
||||
* Decreases the reference count on @depend, and if it reaches zero, destroys
|
||||
* @depend, freeing all memory.
|
||||
*
|
||||
* XSince: REPLACEME
|
||||
* Since: 14.3.0
|
||||
**/
|
||||
void
|
||||
hb_subset_depend_destroy (hb_subset_depend_t *depend)
|
||||
|
||||
+2
-2
@@ -55,7 +55,7 @@
|
||||
*
|
||||
* Return value: the bit field, or zero if the font does not have it.
|
||||
*
|
||||
* XSince: REPLACEME
|
||||
* Since: 14.3.0
|
||||
**/
|
||||
uint32_t
|
||||
hb_ot_fetch_bits (hb_face_t *face,
|
||||
@@ -86,7 +86,7 @@ hb_ot_fetch_bits (hb_face_t *face,
|
||||
*
|
||||
* Return value: the number, or zero if the font does not have it.
|
||||
*
|
||||
* XSince: REPLACEME
|
||||
* Since: 14.3.0
|
||||
**/
|
||||
int32_t
|
||||
hb_ot_fetch_number (hb_face_t *face,
|
||||
|
||||
+2
-2
@@ -48,7 +48,7 @@ HB_BEGIN_DECLS
|
||||
*
|
||||
* Bit fields that can be fetched with hb_ot_fetch_bits().
|
||||
*
|
||||
* XSince: REPLACEME
|
||||
* Since: 14.3.0
|
||||
**/
|
||||
typedef enum {
|
||||
HB_OT_BITS_TAG_FS_TYPE = HB_TAG ('f','s','t','p'),
|
||||
@@ -80,7 +80,7 @@ hb_ot_fetch_bits (hb_face_t *face,
|
||||
*
|
||||
* Numbers that can be fetched with hb_ot_fetch_number().
|
||||
*
|
||||
* XSince: REPLACEME
|
||||
* Since: 14.3.0
|
||||
**/
|
||||
typedef enum {
|
||||
HB_OT_NUMBER_TAG_FONT_X_MIN = HB_TAG ('x','m','i','n'),
|
||||
|
||||
+1
-1
@@ -577,7 +577,7 @@ hb_paint_color_glyph (hb_paint_funcs_t *funcs, void *paint_data,
|
||||
* Perform a "fill-glyph" paint operation: fill the glyph's shape
|
||||
* with a solid color.
|
||||
*
|
||||
* XSince: REPLACEME
|
||||
* Since: 14.3.0
|
||||
*/
|
||||
void
|
||||
hb_paint_fill_glyph (hb_paint_funcs_t *funcs, void *paint_data,
|
||||
|
||||
+2
-2
@@ -172,7 +172,7 @@ typedef hb_bool_t (*hb_paint_color_glyph_func_t) (hb_paint_funcs_t *funcs,
|
||||
* "color", "pop-clip" paint operations, in that order, will be emitted
|
||||
* instead.
|
||||
*
|
||||
* XSince: REPLACEME
|
||||
* Since: 14.3.0
|
||||
*/
|
||||
typedef void (*hb_paint_fill_glyph_func_t) (hb_paint_funcs_t *funcs,
|
||||
void *paint_data,
|
||||
@@ -888,7 +888,7 @@ hb_paint_funcs_set_color_glyph_func (hb_paint_funcs_t *funcs,
|
||||
*
|
||||
* Sets the fill-glyph callback on the paint functions struct.
|
||||
*
|
||||
* XSince: REPLACEME
|
||||
* Since: 14.3.0
|
||||
*/
|
||||
HB_EXTERN void
|
||||
hb_paint_funcs_set_fill_glyph_func (hb_paint_funcs_t *funcs,
|
||||
|
||||
@@ -60,7 +60,7 @@ HB_BEGIN_DECLS
|
||||
* known limitations of static dependency analysis (expected over-approximation)
|
||||
* from bugs (unexpected over-approximation).
|
||||
*
|
||||
* XSince: REPLACEME
|
||||
* Since: 14.3.0
|
||||
*/
|
||||
typedef enum { /*< flags >*/
|
||||
HB_SUBSET_DEPEND_EDGE_FLAG_NONE = 0x00u,
|
||||
@@ -79,7 +79,7 @@ typedef enum { /*< flags >*/
|
||||
*
|
||||
* <warning>Highly experimental API. Subject to change.</warning>
|
||||
*
|
||||
* XSince: REPLACEME
|
||||
* Since: 14.3.0
|
||||
*/
|
||||
typedef struct hb_subset_depend_t hb_subset_depend_t;
|
||||
|
||||
@@ -97,7 +97,7 @@ typedef struct hb_subset_depend_t hb_subset_depend_t;
|
||||
*
|
||||
* A single dependency edge returned by hb_subset_depend_lookup_glyph().
|
||||
*
|
||||
* XSince: REPLACEME
|
||||
* Since: 14.3.0
|
||||
*/
|
||||
typedef struct {
|
||||
hb_tag_t table_tag;
|
||||
|
||||
+1
-1
@@ -95,7 +95,7 @@ typedef struct hb_subset_plan_t hb_subset_plan_t;
|
||||
* compatibility with older renderers that don't support CFF2. Since: 13.0.0
|
||||
* @HB_SUBSET_FLAGS_CFF_IDENTITY_CHARSET: If set and subsetting a CID-keyed CFF
|
||||
* font, the output CFF charset will use sequential identity CIDs (CID = new
|
||||
* GID) rather than preserving the original CIDs. XSince: REPLACEME
|
||||
* GID) rather than preserving the original CIDs. Since: 14.3.0
|
||||
*
|
||||
* List of boolean properties that can be configured on the subset input.
|
||||
*
|
||||
|
||||
+3
-3
@@ -47,20 +47,20 @@ HB_BEGIN_DECLS
|
||||
*
|
||||
* The minor component of the library version available at compile-time.
|
||||
*/
|
||||
#define HB_VERSION_MINOR 2
|
||||
#define HB_VERSION_MINOR 3
|
||||
/**
|
||||
* 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 "14.2.1"
|
||||
#define HB_VERSION_STRING "14.3.0"
|
||||
|
||||
/**
|
||||
* HB_VERSION_ATLEAST:
|
||||
|
||||
Reference in new issue
Block a user