You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-28 16:07:14 +00:00
HarfBuzz: Update to version 8.0.0
This commit is contained in:
4
thirdparty/harfbuzz/src/hb-open-file.hh
vendored
4
thirdparty/harfbuzz/src/hb-open-file.hh
vendored
@@ -131,7 +131,7 @@ typedef struct OpenTypeOffsetTable
|
||||
sfnt_version = sfnt_tag;
|
||||
/* Take space for numTables, searchRange, entrySelector, RangeShift
|
||||
* and the TableRecords themselves. */
|
||||
unsigned num_items = it.len ();
|
||||
unsigned num_items = hb_len (it);
|
||||
if (unlikely (!tables.serialize (c, num_items))) return_trace (false);
|
||||
|
||||
const char *dir_end = (const char *) c->head;
|
||||
@@ -145,7 +145,7 @@ typedef struct OpenTypeOffsetTable
|
||||
unsigned len = blob->length;
|
||||
|
||||
/* Allocate room for the table and copy it. */
|
||||
char *start = (char *) c->allocate_size<void> (len);
|
||||
char *start = (char *) c->allocate_size<void> (len, false);
|
||||
if (unlikely (!start)) return false;
|
||||
|
||||
TableRecord &rec = tables.arrayZ[i];
|
||||
|
||||
Reference in New Issue
Block a user