2.1.0
This commit is contained in:
parent
bfd549daaa
commit
1019391046
81
NEWS
81
NEWS
|
@ -1,3 +1,84 @@
|
|||
Overview of changes leading to 2.1.0
|
||||
Tuesday, October 30, 2018
|
||||
====================================
|
||||
- AAT shaping improvements:
|
||||
o Allow user controlling AAT features, for whole buffer only currently.
|
||||
o Several 'morx' fixes.
|
||||
o Implement tuple-kerns in 'kerx'; Fixes kerning with Apple default
|
||||
San Francisco fonts.
|
||||
- Support for color fonts:
|
||||
o COLR/CPAL API to fetch color layers.
|
||||
o SVG table to fetch SVG documents.
|
||||
o CBDT/sbix API to fetch PNG images.
|
||||
- New 'name' table API.
|
||||
- hb-ot-font now uses 'VORG' table to correctly position CFF glyphs
|
||||
in vertical layout.
|
||||
- Various fuzzer-found bug fixes.
|
||||
|
||||
Changed API:
|
||||
|
||||
A type and a macro added in 2.0.0 were renamed:
|
||||
|
||||
hb_name_id_t -> hb_ot_name_id_t
|
||||
HB_NAME_ID_INVALID -> HB_OT_NAME_ID_INVALID
|
||||
|
||||
New API:
|
||||
|
||||
+hb_color_t
|
||||
+HB_COLOR
|
||||
+hb_color_get_alpha()
|
||||
+hb_color_get_red()
|
||||
+hb_color_get_green()
|
||||
+hb_color_get_blue()
|
||||
+hb_ot_color_has_palettes()
|
||||
+hb_ot_color_palette_get_count()
|
||||
+hb_ot_color_palette_get_name_id()
|
||||
+hb_ot_color_palette_color_get_name_id()
|
||||
+hb_ot_color_palette_flags_t
|
||||
+hb_ot_color_palette_get_flags()
|
||||
+hb_ot_color_palette_get_colors()
|
||||
+hb_ot_color_has_layers()
|
||||
+hb_ot_color_layer_t
|
||||
+hb_ot_color_glyph_get_layers()
|
||||
+hb_ot_color_has_svg()
|
||||
+hb_ot_color_glyph_reference_svg()
|
||||
+hb_ot_color_has_png()
|
||||
+hb_ot_color_glyph_reference_png()
|
||||
|
||||
+hb_ot_name_id_t
|
||||
+HB_OT_NAME_ID_INVALID
|
||||
+HB_OT_NAME_ID_COPYRIGHT
|
||||
+HB_OT_NAME_ID_FONT_FAMILY
|
||||
+HB_OT_NAME_ID_FONT_SUBFAMILY
|
||||
+HB_OT_NAME_ID_UNIQUE_ID
|
||||
+HB_OT_NAME_ID_FULL_NAME
|
||||
+HB_OT_NAME_ID_VERSION_STRING
|
||||
+HB_OT_NAME_ID_POSTSCRIPT_NAME
|
||||
+HB_OT_NAME_ID_TRADEMARK
|
||||
+HB_OT_NAME_ID_MANUFACTURER
|
||||
+HB_OT_NAME_ID_DESIGNER
|
||||
+HB_OT_NAME_ID_DESCRIPTION
|
||||
+HB_OT_NAME_ID_VENDOR_URL
|
||||
+HB_OT_NAME_ID_DESIGNER_URL
|
||||
+HB_OT_NAME_ID_LICENSE
|
||||
+HB_OT_NAME_ID_LICENSE_URL
|
||||
+HB_OT_NAME_ID_TYPOGRAPHIC_FAMILY
|
||||
+HB_OT_NAME_ID_TYPOGRAPHIC_SUBFAMILY
|
||||
+HB_OT_NAME_ID_MAC_FULL_NAME
|
||||
+HB_OT_NAME_ID_SAMPLE_TEXT
|
||||
+HB_OT_NAME_ID_CID_FINDFONT_NAME
|
||||
+HB_OT_NAME_ID_WWS_FAMILY
|
||||
+HB_OT_NAME_ID_WWS_SUBFAMILY
|
||||
+HB_OT_NAME_ID_LIGHT_BACKGROUND
|
||||
+HB_OT_NAME_ID_DARK_BACKGROUND
|
||||
+HB_OT_NAME_ID_VARIATIONS_PS_PREFIX
|
||||
+hb_ot_name_entry_t
|
||||
+hb_ot_name_list_names()
|
||||
+hb_ot_name_get_utf8()
|
||||
+hb_ot_name_get_utf16()
|
||||
+hb_ot_name_get_utf32()
|
||||
|
||||
|
||||
Overview of changes leading to 2.0.2
|
||||
Saturday, October 20, 2018
|
||||
====================================
|
||||
|
|
|
@ -8,7 +8,8 @@ HarfBuzz release walk-through checklist:
|
|||
Document them in NEWS. All API and API semantic changes should be clearly
|
||||
marked as API additions, API changes, or API deletions. Document
|
||||
deprecations. Ensure all new API / deprecations are in listed correctly in
|
||||
docs/harfbuzz-sections.txt
|
||||
docs/harfbuzz-sections.txt. If release added new API, add entry for new
|
||||
API index at the end of docs/harfbuzz-docs.xml.
|
||||
|
||||
If there's a backward-incompatible API change (including deletions for API
|
||||
used anywhere), that's a release blocker. Do NOT release.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
AC_PREREQ([2.64])
|
||||
AC_INIT([HarfBuzz],
|
||||
[2.0.2],
|
||||
[2.1.0],
|
||||
[https://github.com/harfbuzz/harfbuzz/issues/new],
|
||||
[harfbuzz],
|
||||
[http://harfbuzz.org/])
|
||||
|
|
|
@ -131,6 +131,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" 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-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>
|
||||
<index id="api-index-1-9-0" role="1.9.0"><title>Index of new symbols in 1.9.0</title><xi:include href="xml/api-index-1.9.0.xml"><xi:fallback /></xi:include></index>
|
||||
<index id="api-index-1-8-6" role="1.8.6"><title>Index of new symbols in 1.8.6</title><xi:include href="xml/api-index-1.8.6.xml"><xi:fallback /></xi:include></index>
|
||||
|
|
|
@ -257,9 +257,11 @@ hb_ot_color_glyph_get_layers (hb_face_t *face,
|
|||
* hb_ot_color_has_svg:
|
||||
* @face: a font face.
|
||||
*
|
||||
* Returns: whether SVG table is available.
|
||||
* Check whether @face has SVG glyph images.
|
||||
*
|
||||
* Since: REPLACEME
|
||||
* Returns true if available, false otherwise.
|
||||
*
|
||||
* Since: 2.1.0
|
||||
*/
|
||||
hb_bool_t
|
||||
hb_ot_color_has_svg (hb_face_t *face)
|
||||
|
@ -272,9 +274,11 @@ hb_ot_color_has_svg (hb_face_t *face)
|
|||
* @face: a font face.
|
||||
* @glyph: a svg glyph index.
|
||||
*
|
||||
* Get SVG document for a glyph.
|
||||
*
|
||||
* Returns: (transfer full): respective svg blob of the glyph, if available.
|
||||
*
|
||||
* Since: REPLACEME
|
||||
* Since: 2.1.0
|
||||
*/
|
||||
hb_blob_t *
|
||||
hb_ot_color_glyph_reference_svg (hb_face_t *face, hb_codepoint_t glyph)
|
||||
|
@ -291,9 +295,11 @@ hb_ot_color_glyph_reference_svg (hb_face_t *face, hb_codepoint_t glyph)
|
|||
* hb_ot_color_has_png:
|
||||
* @face: a font face.
|
||||
*
|
||||
* Returns: whether either of CBDT or sbix tables is available.
|
||||
* Check whether @face has PNG glyph images (either CBDT or sbix tables).
|
||||
*
|
||||
* Since: REPLACEME
|
||||
* Returns true if available, false otherwise.
|
||||
*
|
||||
* Since: 2.1.0
|
||||
*/
|
||||
hb_bool_t
|
||||
hb_ot_color_has_png (hb_face_t *face)
|
||||
|
@ -308,9 +314,11 @@ hb_ot_color_has_png (hb_face_t *face)
|
|||
* return the biggest one
|
||||
* @glyph: a glyph index.
|
||||
*
|
||||
* Returns: (transfer full): respective png blob of the glyph, if available.
|
||||
* Get PNG image for a glyph.
|
||||
*
|
||||
* Since: REPLACEME
|
||||
* Returns: (transfer full): respective PNG blob of the glyph, if available.
|
||||
*
|
||||
* Since: 2.1.0
|
||||
*/
|
||||
hb_blob_t *
|
||||
hb_ot_color_glyph_reference_png (hb_font_t *font, hb_codepoint_t glyph)
|
||||
|
|
|
@ -66,7 +66,7 @@ hb_ot_color_palette_color_get_name_id (hb_face_t *face,
|
|||
* @HB_OT_COLOR_PALETTE_FLAG_USABLE_WITH_DARK_BACKGROUND: flag indicating that the color
|
||||
* palette is appropriate to use when displaying the font on a dark background such as black.
|
||||
*
|
||||
* Since: REPLACEME
|
||||
* Since: 2.1.0
|
||||
*/
|
||||
typedef enum { /*< flags >*/
|
||||
HB_OT_COLOR_PALETTE_FLAG_DEFAULT = 0x00000000u,
|
||||
|
@ -98,7 +98,7 @@ hb_ot_color_has_layers (hb_face_t *face);
|
|||
*
|
||||
* Pairs of glyph and color index.
|
||||
*
|
||||
* Since: REPLACEME
|
||||
* Since: 2.1.0
|
||||
**/
|
||||
typedef struct hb_ot_color_layer_t
|
||||
{
|
||||
|
|
|
@ -37,10 +37,10 @@ HB_BEGIN_DECLS
|
|||
|
||||
|
||||
#define HB_VERSION_MAJOR 2
|
||||
#define HB_VERSION_MINOR 0
|
||||
#define HB_VERSION_MICRO 2
|
||||
#define HB_VERSION_MINOR 1
|
||||
#define HB_VERSION_MICRO 0
|
||||
|
||||
#define HB_VERSION_STRING "2.0.2"
|
||||
#define HB_VERSION_STRING "2.1.0"
|
||||
|
||||
#define HB_VERSION_ATLEAST(major,minor,micro) \
|
||||
((major)*10000+(minor)*100+(micro) <= \
|
||||
|
|
Loading…
Reference in New Issue