This commit is contained in:
Behdad Esfahbod 2019-08-13 22:20:54 -07:00
parent e56d4ff43b
commit 6461143b44
12 changed files with 44 additions and 15 deletions

23
NEWS
View File

@ -1,3 +1,26 @@
Overview of changes leading to 2.6.0
Tuesday, August 13, 2019
====================================
- New OpenType metrics, baseline, and metadata table access APIs.
- New API to set font variations to a named-instance.
- New hb-gdi.h header and API for creating hb_face_t from HFONT.
- Amalgam: Provide a single-file harfbuzz.cc file for easier alternate building.
- More size-reduction configurable options, enabled by HB_TINY.
- New API:
+hb_font_set_var_named_instance()
+hb_gdi_face_create()
+hb_ot_layout_baseline_tag_t
+hb_ot_layout_get_baseline()
+hb_ot_meta_tag_t
+hb_ot_meta_get_entry_tags()
+hb_ot_meta_reference_entry()
+hb_ot_metrics_tag_t
+hb_ot_metrics_get_position()
+hb_ot_metrics_get_variation()
+hb_ot_metrics_get_x_variation()
+hb_ot_metrics_get_y_variation()
Overview of changes leading to 2.5.3
Wednesday, June 26, 2019
====================================

View File

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

View File

@ -133,6 +133,10 @@
<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="api-index-2-6-0" role="2.6.0"><title>Index of new symbols in 2.6.0</title><xi:include href="xml/api-index-2.6.0.xml"><xi:fallback /></xi:include></index>
<index id="api-index-2-5-0" role="2.5.0"><title>Index of new symbols in 2.5.0</title><xi:include href="xml/api-index-2.5.0.xml"><xi:fallback /></xi:include></index>
<index id="api-index-2-4-0" role="2.4.0"><title>Index of new symbols in 2.4.0</title><xi:include href="xml/api-index-2.4.0.xml"><xi:fallback /></xi:include></index>
<index id="api-index-2-3-0" role="2.3.0"><title>Index of new symbols in 2.3.0</title><xi:include href="xml/api-index-2.3.0.xml"><xi:fallback /></xi:include></index>
<index id="api-index-2-2-0" role="2.2.0"><title>Index of new symbols in 2.2.0</title><xi:include href="xml/api-index-2.2.0.xml"><xi:fallback /></xi:include></index>
<index id="api-index-2-1-0" role="2.1.0"><title>Index of new symbols in 2.1.0</title><xi:include href="xml/api-index-2.1.0.xml"><xi:fallback /></xi:include></index>
<index id="api-index-2-0-0" role="2.0.0"><title>Index of new symbols in 2.0.0</title><xi:include href="xml/api-index-2.0.0.xml"><xi:fallback /></xi:include></index>

View File

@ -1890,7 +1890,7 @@ hb_font_set_var_coords_design (hb_font_t *font,
*
* Sets design coords of a font from a named instance index.
*
* Since: REPLACEME
* Since: 2.6.0
*/
void
hb_font_set_var_named_instance (hb_font_t *font,

View File

@ -62,7 +62,7 @@ fail:
*
* Return value: #hb_face_t object corresponding to the given input
*
* Since: REPLACEME
* Since: 2.6.0
**/
hb_face_t *
hb_gdi_face_create (HFONT hfont)

View File

@ -1954,6 +1954,8 @@ hb_ot_layout_substitute_lookup (OT::hb_ot_apply_context_t *c,
* Fetches a baseline value from the face.
*
* Return value: if found baseline value in the the font.
*
* Since: 2.6.0
**/
hb_bool_t
hb_ot_layout_get_baseline (hb_font_t *font,

View File

@ -428,7 +428,7 @@ hb_ot_layout_feature_get_characters (hb_face_t *face,
*
* Baseline tags from https://docs.microsoft.com/en-us/typography/opentype/spec/baselinetags
*
* Since: REPLACEME
* Since: 2.6.0
*/
typedef enum {
HB_OT_LAYOUT_BASELINE_TAG_ROMAN = HB_TAG ('r','o','m','n'),

View File

@ -46,7 +46,7 @@
*
* Return value: Number of all available feature types.
*
* Since: REPLACEME
* Since: 2.6.0
**/
unsigned int
hb_ot_meta_get_entry_tags (hb_face_t *face,
@ -66,7 +66,7 @@ hb_ot_meta_get_entry_tags (hb_face_t *face,
*
* Returns: (transfer full): A blob containing the blob.
*
* Since: REPLACEME
* Since: 2.6.0
**/
hb_blob_t *
hb_ot_meta_reference_entry (hb_face_t *face, hb_ot_meta_tag_t meta_tag)

View File

@ -44,7 +44,7 @@ HB_BEGIN_DECLS
*
* Known metadata tags from https://docs.microsoft.com/en-us/typography/opentype/spec/meta
*
* Since: REPLACEME
* Since: 2.6.0
**/
typedef enum {
/*

View File

@ -117,7 +117,7 @@ _get_gasp (hb_face_t *face, float *result, hb_ot_metrics_tag_t metrics_tag)
* It fetches metrics value corresponding to a given tag from a font.
*
* Returns: Whether found the requested metrics in the font.
* Since: REPLACEME
* Since: 2.6.0
**/
hb_bool_t
hb_ot_metrics_get_position (hb_font_t *font,
@ -189,7 +189,7 @@ hb_ot_metrics_get_position (hb_font_t *font,
*
* Returns:
*
* Since: REPLACEME
* Since: 2.6.0
**/
float
hb_ot_metrics_get_variation (hb_font_t *font, hb_ot_metrics_tag_t metrics_tag)
@ -204,7 +204,7 @@ hb_ot_metrics_get_variation (hb_font_t *font, hb_ot_metrics_tag_t metrics_tag)
*
* Returns:
*
* Since: REPLACEME
* Since: 2.6.0
**/
hb_position_t
hb_ot_metrics_get_x_variation (hb_font_t *font, hb_ot_metrics_tag_t metrics_tag)
@ -219,7 +219,7 @@ hb_ot_metrics_get_x_variation (hb_font_t *font, hb_ot_metrics_tag_t metrics_tag)
*
* Returns:
*
* Since: REPLACEME
* Since: 2.6.0
**/
hb_position_t
hb_ot_metrics_get_y_variation (hb_font_t *font, hb_ot_metrics_tag_t metrics_tag)

View File

@ -68,7 +68,7 @@ HB_BEGIN_DECLS
*
* From https://docs.microsoft.com/en-us/typography/opentype/spec/mvar#value-tags
*
* Since: REPLACEME
* Since: 2.6.0
**/
typedef enum {
HB_OT_METRICS_TAG_HORIZONTAL_ASCENDER = HB_TAG ('h','a','s','c'),

View File

@ -37,10 +37,10 @@ HB_BEGIN_DECLS
#define HB_VERSION_MAJOR 2
#define HB_VERSION_MINOR 5
#define HB_VERSION_MICRO 3
#define HB_VERSION_MINOR 6
#define HB_VERSION_MICRO 0
#define HB_VERSION_STRING "2.5.3"
#define HB_VERSION_STRING "2.6.0"
#define HB_VERSION_ATLEAST(major,minor,micro) \
((major)*10000+(minor)*100+(micro) <= \