mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-04 09:14:21 +03:00
Base: Import a new font, Csilla Thin (7x10).
I wanted to do a bitmap font with an odd number of columns for a while and I finally got around to it. This really looks rather nice, so I'm making it the default system font for now. :^)
This commit is contained in:
parent
e6625755c9
commit
0776c51bf5
Notes:
sideshowbarker
2024-07-19 15:34:55 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/0776c51bf52
BIN
Base/res/fonts/CsillaThin7x10.font
Normal file
BIN
Base/res/fonts/CsillaThin7x10.font
Normal file
Binary file not shown.
@ -23,7 +23,7 @@ struct [[gnu::packed]] FontFileHeader {
|
||||
|
||||
Font& Font::default_font()
|
||||
{
|
||||
static const char* default_font_path = "/res/fonts/LizaRegular8x10.font";
|
||||
static const char* default_font_path = "/res/fonts/CsillaThin7x10.font";
|
||||
if (!s_default_font) {
|
||||
s_default_font = Font::load_from_file(default_font_path).leak_ref();
|
||||
ASSERT(s_default_font);
|
||||
|
Loading…
Reference in New Issue
Block a user