Commit 7c5b158c authored by Matthias Clasen's avatar Matthias Clasen

Fix backspacing for more Emoji sequences

Behdad pointed out that I didn't get it right for
flags and for sequences ending in a skin tone modifier.

Fix that.
parent da4cea5b
......@@ -869,7 +869,10 @@ pango_default_break (const gchar *text,
if (prev_GB_type == GB_E_Base ||
prev_GB_type == GB_E_Base_GAZ ||
prev_GB_type == GB_Glue_After_Zwj ||
prev_GB_type == GB_Extend)
prev_GB_type == GB_Extend ||
prev_GB_type == GB_E_Modifier ||
prev_GB_type == GB_RI_Odd ||
prev_GB_type == GB_RI_Even)
attrs[i].backspace_deletes_character = FALSE;
attrs[i].backspace_deletes_character = BACKSPACE_DELETES_CHARACTER (base_character);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment