|
|
@ -638,6 +638,10 @@ zero_mark_widths_by_unicode (hb_buffer_t *buffer, bool adjust_offsets) |
|
|
|
static inline void |
|
|
|
static inline void |
|
|
|
zero_mark_widths_by_gdef (hb_buffer_t *buffer, bool adjust_offsets) |
|
|
|
zero_mark_widths_by_gdef (hb_buffer_t *buffer, bool adjust_offsets) |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
/* This one is a hack; Technically GDEF can mark ASCII glyphs as marks, but we don't listen. */ |
|
|
|
|
|
|
|
if (!(buffer->scratch_flags & HB_BUFFER_SCRATCH_FLAG_HAS_NON_ASCII)) |
|
|
|
|
|
|
|
return; |
|
|
|
|
|
|
|
|
|
|
|
unsigned int count = buffer->len; |
|
|
|
unsigned int count = buffer->len; |
|
|
|
hb_glyph_info_t *info = buffer->info; |
|
|
|
hb_glyph_info_t *info = buffer->info; |
|
|
|
for (unsigned int i = 0; i < count; i++) |
|
|
|
for (unsigned int i = 0; i < count; i++) |
|
|
|