Dotted-circle all marks, not just non-spacing, at text beginning

This commit is contained in:
Behdad Esfahbod 2018-10-03 19:19:51 +02:00
parent 4146c00caa
commit 123326e20a
1 changed files with 1 additions and 2 deletions

View File

@ -286,8 +286,7 @@ hb_insert_dotted_circle (hb_buffer_t *buffer, hb_font_t *font)
{
if (!(buffer->flags & HB_BUFFER_FLAG_BOT) ||
buffer->context_len[0] ||
_hb_glyph_info_get_general_category (&buffer->info[0]) !=
HB_UNICODE_GENERAL_CATEGORY_NON_SPACING_MARK)
!_hb_glyph_info_is_unicode_mark (&buffer->info[0]))
return;
if (!font->has_glyph (0x25CCu))