From 56a8a2b4936c238364e000ccf3b482a412d72236 Mon Sep 17 00:00:00 2001 From: thankyouverycool <66646555+thankyouverycool@users.noreply.github.com> Date: Mon, 29 Nov 2021 09:00:15 -0500 Subject: [PATCH] FontEditor: Use LibUnicode to convert character case Fixes characters beyond the Basic Latin code block not showing their upper-case form in the preview window. --- Userland/Applications/FontEditor/FontEditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Applications/FontEditor/FontEditor.cpp b/Userland/Applications/FontEditor/FontEditor.cpp index b5d1346ddf..534c1b68d4 100644 --- a/Userland/Applications/FontEditor/FontEditor.cpp +++ b/Userland/Applications/FontEditor/FontEditor.cpp @@ -88,7 +88,7 @@ static RefPtr create_font_preview_window(FontEditorWidget& editor) preview_textbox.on_change = [&] { auto preview = String::formatted("{}\n{}", preview_textbox.text(), - preview_textbox.text().to_uppercase()); + Unicode::to_unicode_uppercase_full(preview_textbox.text())); preview_label.set_text(preview); };