Linux: Fix emoji/bitmapped fonts not useable in symbol_map
This commit is contained in:
parent
4f4d9e0ae3
commit
b6b38d6f44
@ -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``
|
of scrollback is less than a screen and the user has the ``--quit-if-one-screen``
|
||||||
option enabled for less (:iss:`3740`)
|
option enabled for less (:iss:`3740`)
|
||||||
|
|
||||||
|
- Linux: Fix emoji/bitmapped fonts not useable in symbol_map
|
||||||
|
|
||||||
|
|
||||||
0.21.1 [2021-06-14]
|
0.21.1 [2021-06-14]
|
||||||
----------------------
|
----------------------
|
||||||
|
|||||||
@ -45,7 +45,9 @@ def all_fonts_map(monospaced: bool = True) -> FontMap:
|
|||||||
if monospaced:
|
if monospaced:
|
||||||
ans = fc_list(FC_DUAL) + fc_list(FC_MONO)
|
ans = fc_list(FC_DUAL) + fc_list(FC_MONO)
|
||||||
else:
|
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)
|
return create_font_map(ans)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user