Linux: Fix emoji/bitmapped fonts not useable in symbol_map

This commit is contained in:
Kovid Goyal 2021-06-18 08:01:23 +05:30
parent 4f4d9e0ae3
commit b6b38d6f44
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 5 additions and 1 deletions

View File

@ -24,6 +24,8 @@ To update |kitty|, :doc:`follow the instructions <binary>`.
of scrollback is less than a screen and the user has the ``--quit-if-one-screen``
option enabled for less (:iss:`3740`)
- Linux: Fix emoji/bitmapped fonts not useable in symbol_map
0.21.1 [2021-06-14]
----------------------

View File

@ -45,7 +45,9 @@ def all_fonts_map(monospaced: bool = True) -> FontMap:
if monospaced:
ans = fc_list(FC_DUAL) + fc_list(FC_MONO)
else:
ans = fc_list()
# allow non-monospaced and bitmapped fonts as these are used for
# symbol_map
ans = fc_list(-1, True)
return create_font_map(ans)