Update bundled HarfBuzz to 0.9.40

Change-Id: I88c3608c3f15e39e89a00cfc23c184aebe7097e4
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
This commit is contained in:
Konstantin Ritt 2015-03-23 02:21:31 +04:00
parent 241ff426eb
commit f2ec2fcd55
6 changed files with 17 additions and 9 deletions

View File

@ -1,3 +1,11 @@
Overview of changes leading to 0.9.40
Friday, March 20, 2015
=====================================
- Another hb-coretext crasher fix. Ouch!
- Happy Norouz!
Overview of changes leading to 0.9.39
Wednesday, March 4, 2015
=====================================

View File

@ -443,7 +443,7 @@ hb_buffer_t::reverse_range (unsigned int start,
{
unsigned int i, j;
if (start == end - 1)
if (end - start < 2)
return;
for (i = start, j = end - 1; i < j; i++, j--) {

View File

@ -57,7 +57,7 @@ _hb_options_init (void)
/**
* hb_tag_from_string:
* @str: (array length=len):
* @str: (array length=len) (element-type uint8_t):
* @len:
*
*
@ -115,7 +115,7 @@ const char direction_strings[][4] = {
/**
* hb_direction_from_string:
* @str: (array length=len):
* @str: (array length=len) (element-type uint8_t):
* @len:
*
*
@ -281,7 +281,7 @@ retry:
/**
* hb_language_from_string:
* @str: (array length=len):
* @str: (array length=len) (element-type uint8_t):
* @len:
*
*
@ -401,7 +401,7 @@ hb_script_from_iso15924_tag (hb_tag_t tag)
/**
* hb_script_from_string:
* @s: (array length=len):
* @s: (array length=len) (element-type uint8_t):
* @len:
*
*

View File

@ -814,7 +814,7 @@ hb_font_glyph_to_string (hb_font_t *font,
/**
* hb_font_glyph_from_string:
* @font: a font.
* @s: (array length=len):
* @s: (array length=len) (element-type uint8_t):
* @len:
* @glyph: (out):
*

View File

@ -198,7 +198,7 @@ parse_one_feature (const char **pp, const char *end, hb_feature_t *feature)
/**
* hb_feature_from_string:
* @str: (array length=len):
* @str: (array length=len) (element-type uint8_t):
* @len:
* @feature: (out) (optional):
*

View File

@ -38,9 +38,9 @@ HB_BEGIN_DECLS
#define HB_VERSION_MAJOR 0
#define HB_VERSION_MINOR 9
#define HB_VERSION_MICRO 39
#define HB_VERSION_MICRO 40
#define HB_VERSION_STRING "0.9.39"
#define HB_VERSION_STRING "0.9.40"
#define HB_VERSION_ATLEAST(major,minor,micro) \
((major)*10000+(minor)*100+(micro) <= \