Set the unicode cyrillic font by default (#1153)
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
This commit is contained in:
parent
5bf9382dd6
commit
2492f571ea
|
|
@ -55,6 +55,10 @@ storage['__version__'] = __version__
|
|||
DeferredTranslation.install()
|
||||
|
||||
|
||||
def set_unicode_font():
|
||||
SysCommand('setfont UniCyr_8x16')
|
||||
|
||||
|
||||
def define_arguments():
|
||||
"""
|
||||
Define which explicit arguments do we allow.
|
||||
|
|
@ -243,6 +247,9 @@ def post_process_arguments(arguments):
|
|||
load_config()
|
||||
|
||||
|
||||
# to ensure that cyrillic characters work in the installer
|
||||
set_unicode_font()
|
||||
|
||||
define_arguments()
|
||||
arguments = get_arguments()
|
||||
post_process_arguments(arguments)
|
||||
|
|
|
|||
Loading…
Reference in New Issue