This commit is contained in:
Khaled Hosny 2022-02-13 00:30:50 +02:00
parent 41815a0d63
commit 0a12996134
10 changed files with 40 additions and 13 deletions

26
NEWS
View File

@ -1,3 +1,29 @@
Overview of changes leading to 3.4.0
Sunday, February 13, 2022
====================================
- Perform sanity checks on shaping results is now part of “harfbuzz” library
and can be enabled by setting the buffer flag HB_BUFFER_FLAG_VERIFY.
(Behdad Esfahbod)
- Arabic Mark Transient Reordering Algorithm have been updated to revision 6.
(Khaled Hosny)
- ISO 15924 code for mathematical notation, Zmth, now maps to the OpenType
math tag. (Alexis King)
- It is now possible to get at once all math kerning values for a given glyph
at a given corner. (Alexis King)
- Fix locale_t portability issues on systems the typdefs it to a void pointer.
(Behdad Esfahbod)
- New API:
+HB_BUFFER_FLAG_VERIFY
+HB_OT_TAG_MATH_SCRIPT
+HB_SCRIPT_MATH
+hb_ot_math_kern_entry_t
+hb_ot_math_get_glyph_kernings
- Deprecated API
+HB_OT_MATH_SCRIPT
Overview of changes leading to 3.3.2 Overview of changes leading to 3.3.2
Sunday, February 6, 2022 Sunday, February 6, 2022
==================================== ====================================

View File

@ -1,6 +1,6 @@
AC_PREREQ([2.64]) AC_PREREQ([2.64])
AC_INIT([HarfBuzz], AC_INIT([HarfBuzz],
[3.3.2], [3.4.0],
[https://github.com/harfbuzz/harfbuzz/issues/new], [https://github.com/harfbuzz/harfbuzz/issues/new],
[harfbuzz], [harfbuzz],
[http://harfbuzz.org/]) [http://harfbuzz.org/])

View File

@ -116,6 +116,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="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" role="deprecated"><title>Index of deprecated API</title><xi:include href="xml/api-index-deprecated.xml"><xi:fallback /></xi:include></index> <index id="deprecated-api-index" role="deprecated"><title>Index of deprecated API</title><xi:include href="xml/api-index-deprecated.xml"><xi:fallback /></xi:include></index>
<index id="api-index-3-4-0" role="3.4.0"><title>Index of new symbols in 3.4.0</title><xi:include href="xml/api-index-3.4.0.xml"><xi:fallback /></xi:include></index>
<index id="api-index-3-3-0" role="3.3.0"><title>Index of new symbols in 3.3.0</title><xi:include href="xml/api-index-3.3.0.xml"><xi:fallback /></xi:include></index> <index id="api-index-3-3-0" role="3.3.0"><title>Index of new symbols in 3.3.0</title><xi:include href="xml/api-index-3.3.0.xml"><xi:fallback /></xi:include></index>
<index id="api-index-3-1-0" role="3.1.0"><title>Index of new symbols in 3.1.0</title><xi:include href="xml/api-index-3.1.0.xml"><xi:fallback /></xi:include></index> <index id="api-index-3-1-0" role="3.1.0"><title>Index of new symbols in 3.1.0</title><xi:include href="xml/api-index-3.1.0.xml"><xi:fallback /></xi:include></index>
<index id="api-index-3-0-0" role="3.0.0"><title>Index of new symbols in 3.0.0</title><xi:include href="xml/api-index-3.0.0.xml"><xi:fallback /></xi:include></index> <index id="api-index-3-0-0" role="3.0.0"><title>Index of new symbols in 3.0.0</title><xi:include href="xml/api-index-3.0.0.xml"><xi:fallback /></xi:include></index>

View File

@ -1,6 +1,6 @@
project('harfbuzz', 'c', 'cpp', project('harfbuzz', 'c', 'cpp',
meson_version: '>= 0.55.0', meson_version: '>= 0.55.0',
version: '3.3.2', version: '3.4.0',
default_options: [ default_options: [
'cpp_rtti=false', # Just to support msvc, we are passing -fno-exceptions also anyway 'cpp_rtti=false', # Just to support msvc, we are passing -fno-exceptions also anyway
'cpp_std=c++11', 'cpp_std=c++11',

View File

@ -356,7 +356,7 @@ hb_buffer_guess_segment_properties (hb_buffer_t *buffer);
* @HB_BUFFER_FLAG_DO_NOT_INSERT_DOTTED_CIRCLE: * @HB_BUFFER_FLAG_DO_NOT_INSERT_DOTTED_CIRCLE:
* flag indicating that a dotted circle should * flag indicating that a dotted circle should
* not be inserted in the rendering of incorrect * not be inserted in the rendering of incorrect
* character sequences (such at <0905 093E>). Since: 2.4 * character sequences (such at <0905 093E>). Since: 2.4.0
* @HB_BUFFER_FLAG_VERIFY: * @HB_BUFFER_FLAG_VERIFY:
* flag indicating that the hb_shape() call and its variants * flag indicating that the hb_shape() call and its variants
* should perform various verification processes on the results * should perform various verification processes on the results
@ -364,7 +364,7 @@ hb_buffer_guess_segment_properties (hb_buffer_t *buffer);
* fails, then either a buffer message is sent, if a message * fails, then either a buffer message is sent, if a message
* handler is installed on the buffer, or a message is written * handler is installed on the buffer, or a message is written
* to standard error. In either case, the shaping result might * to standard error. In either case, the shaping result might
* be modified to show the failed output. * be modified to show the failed output. Since: 3.4.0
* *
* Flags for #hb_buffer_t. * Flags for #hb_buffer_t.
* *

View File

@ -481,7 +481,7 @@ hb_language_get_default (void);
* @HB_SCRIPT_TANGSA: `Tnsa`, Since: 3.0.0 * @HB_SCRIPT_TANGSA: `Tnsa`, Since: 3.0.0
* @HB_SCRIPT_TOTO: `Toto`, Since: 3.0.0 * @HB_SCRIPT_TOTO: `Toto`, Since: 3.0.0
* @HB_SCRIPT_VITHKUQI: `Vith`, Since: 3.0.0 * @HB_SCRIPT_VITHKUQI: `Vith`, Since: 3.0.0
* @HB_SCRIPT_MATH: `Zmth`, Since: REPLACEME * @HB_SCRIPT_MATH: `Zmth`, Since: 3.4.0
* @HB_SCRIPT_INVALID: No script set * @HB_SCRIPT_INVALID: No script set
* *
* Data type for scripts. Each #hb_script_t's value is an #hb_tag_t corresponding * Data type for scripts. Each #hb_script_t's value is an #hb_tag_t corresponding
@ -699,7 +699,7 @@ typedef enum
HB_SCRIPT_VITHKUQI = HB_TAG ('V','i','t','h'), /*14.0*/ HB_SCRIPT_VITHKUQI = HB_TAG ('V','i','t','h'), /*14.0*/
/* /*
* Since REPLACEME * Since 3.4.0
*/ */
HB_SCRIPT_MATH = HB_TAG ('Z','m','t','h'), HB_SCRIPT_MATH = HB_TAG ('Z','m','t','h'),

View File

@ -61,7 +61,7 @@ HB_BEGIN_DECLS
* usage is no longer supported. Use #HB_SCRIPT_MATH instead.</note> * usage is no longer supported. Use #HB_SCRIPT_MATH instead.</note>
* *
* Since: 1.3.3 * Since: 1.3.3
* Deprecated: REPLACEME * Deprecated: 3.4.0
*/ */
#define HB_OT_MATH_SCRIPT HB_OT_TAG_MATH_SCRIPT #define HB_OT_MATH_SCRIPT HB_OT_TAG_MATH_SCRIPT

View File

@ -211,7 +211,7 @@ hb_ot_math_get_glyph_kerning (hb_font_t *font,
* *
* Return value: the total number of kern values available or zero * Return value: the total number of kern values available or zero
* *
* Since: REPLACEME * Since: 3.4.0
**/ **/
unsigned int unsigned int
hb_ot_math_get_glyph_kernings (hb_font_t *font, hb_ot_math_get_glyph_kernings (hb_font_t *font,

View File

@ -59,7 +59,7 @@ HB_BEGIN_DECLS
* #hb_ot_layout_collect_features. In other cases, #HB_SCRIPT_MATH should be * #hb_ot_layout_collect_features. In other cases, #HB_SCRIPT_MATH should be
* used instead.</note> * used instead.</note>
* *
* Since: REPLACEME * Since: 3.4.0
*/ */
#define HB_OT_TAG_MATH_SCRIPT HB_TAG('m','a','t','h') #define HB_OT_TAG_MATH_SCRIPT HB_TAG('m','a','t','h')
@ -215,7 +215,7 @@ typedef enum {
* *
* Data type to hold math kerning (cut-in) information for a glyph. * Data type to hold math kerning (cut-in) information for a glyph.
* *
* Since: REPLACEME * Since: 3.4.0
*/ */
typedef struct { typedef struct {
hb_position_t max_correction_height; hb_position_t max_correction_height;

View File

@ -47,20 +47,20 @@ HB_BEGIN_DECLS
* *
* The minor component of the library version available at compile-time. * The minor component of the library version available at compile-time.
*/ */
#define HB_VERSION_MINOR 3 #define HB_VERSION_MINOR 4
/** /**
* HB_VERSION_MICRO: * HB_VERSION_MICRO:
* *
* The micro component of the library version available at compile-time. * The micro component of the library version available at compile-time.
*/ */
#define HB_VERSION_MICRO 2 #define HB_VERSION_MICRO 0
/** /**
* HB_VERSION_STRING: * HB_VERSION_STRING:
* *
* A string literal containing the library version available at compile-time. * A string literal containing the library version available at compile-time.
*/ */
#define HB_VERSION_STRING "3.3.2" #define HB_VERSION_STRING "3.4.0"
/** /**
* HB_VERSION_ATLEAST: * HB_VERSION_ATLEAST: