mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:37:43 +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:
parent
59fa8323cf
commit
056ca62778
1 changed files with 3 additions and 1 deletions
|
@ -51,7 +51,9 @@ static constexpr Array pangrams = {
|
||||||
"waxy and quivering jocks fumble the pizza",
|
"waxy and quivering jocks fumble the pizza",
|
||||||
"~#:[@_1%]*{$2.3}/4^(5'6\")-&|7+8!=<9,0\\>?;",
|
"~#:[@_1%]*{$2.3}/4^(5'6\")-&|7+8!=<9,0\\>?;",
|
||||||
"byxfjärmat föl gick på duvshowen",
|
"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)
|
static RefPtr<GUI::Window> create_font_preview_window(FontEditorWidget& editor)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue