Fix hb_buffer_add_codepoints to actually NOT validate
This commit is contained in:
parent
70c25ee215
commit
78c6e86c04
|
@ -1336,7 +1336,7 @@ hb_buffer_add_utf (hb_buffer_t *buffer,
|
||||||
unsigned int item_offset,
|
unsigned int item_offset,
|
||||||
int item_length)
|
int item_length)
|
||||||
{
|
{
|
||||||
typedef hb_utf_t<T, true> utf_t;
|
typedef hb_utf_t<T, validate> utf_t;
|
||||||
const hb_codepoint_t replacement = buffer->replacement;
|
const hb_codepoint_t replacement = buffer->replacement;
|
||||||
|
|
||||||
assert (buffer->content_type == HB_BUFFER_CONTENT_TYPE_UNICODE ||
|
assert (buffer->content_type == HB_BUFFER_CONTENT_TYPE_UNICODE ||
|
||||||
|
|
Loading…
Reference in New Issue