Set the unicode cyrillic font by default (#1153)

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
This commit is contained in:
Daniel Girtler 2022-05-10 15:07:03 +10:00 committed by GitHub
parent 5bf9382dd6
commit 2492f571ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -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)