diff --git a/docs/changelog.rst b/docs/changelog.rst index b7ad3c894..cb42323fa 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -30,6 +30,9 @@ To update |kitty|, :doc:`follow the instructions `. - broadcast kitten: Allow broadcasting :kbd:`ctrl+c` (:pull:`3956`) +- Fix space ligatures not working with Iosevka for some characters in the + Enclosed Alphanumeric Supplement (:iss:`3954`) + 0.23.1 [2021-08-17] ---------------------- diff --git a/kitty/fonts.c b/kitty/fonts.c index 6f460cc70..cee33c10e 100644 --- a/kitty/fonts.c +++ b/kitty/fonts.c @@ -1214,7 +1214,14 @@ render_run(FontGroup *fg, CPUCell *first_cpu_cell, GPUCell *first_gpu_cell, inde static bool is_non_emoji_dingbat(char_type ch) { - return 0x2700 <= ch && ch <= 0x27bf && !is_emoji(ch); + switch(ch) { + START_ALLOW_CASE_RANGE + case 0x2700 ... 0x27bf: + case 0x1f100 ... 0x1f1ff: + return !is_emoji(ch); + END_ALLOW_CASE_RANGE + } + return false; } void