summaryrefslogtreecommitdiff
path: root/Userland/Applications
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Applications')
-rw-r--r--Userland/Applications/FontEditor/main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Userland/Applications/FontEditor/main.cpp b/Userland/Applications/FontEditor/main.cpp
index c18a0a14d9..eeddb83d5f 100644
--- a/Userland/Applications/FontEditor/main.cpp
+++ b/Userland/Applications/FontEditor/main.cpp
@@ -107,6 +107,11 @@ int main(int argc, char** argv)
if (font->type() == Gfx::FontTypes::Default)
font->set_type(Gfx::FontTypes::LatinExtendedA);
+ // Convert 384 char font to 1280 char font.
+ // Dirty hack. Should be refactored.
+ if (font->type() == Gfx::FontTypes::LatinExtendedA)
+ font->set_type(Gfx::FontTypes::Cyrillic);
+
window->set_title(String::formatted("{} - Font Editor", path));
static_cast<FontEditorWidget*>(window->main_widget())->initialize(path, move(font));
};