1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:37:35 +00:00

FontEditor: Add code previews for fixed-width fonts

Add pseudo code to font preview for fixed-width programming fonts.
This commit is contained in:
electrikmilk 2022-03-05 15:05:48 -05:00 committed by Andreas Kling
parent 59fa8323cf
commit 056ca62778

View file

@ -51,7 +51,9 @@ static constexpr Array pangrams = {
"waxy and quivering jocks fumble the pizza",
"~#:[@_1%]*{$2.3}/4^(5'6\")-&|7+8!=<9,0\\>?;",
"byxfjärmat föl gick på duvshowen",
"         "
"         ",
"float Fox.quick(h){ is_brown && it_jumps_over(doges.lazy) }",
"<fox color=\"brown\" speed=\"quick\" jumps=\"over\">lazy dog</fox>"
};
static RefPtr<GUI::Window> create_font_preview_window(FontEditorWidget& editor)