mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:57:35 +00:00
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.
This commit is contained in:
parent
edf86af4f4
commit
56a8a2b493
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ static RefPtr<GUI::Window> 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);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue