mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 14:17:42 +00: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
2 changed files with 1 additions and 1 deletions
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()
|
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) {
|
if (!s_default_font) {
|
||||||
s_default_font = Font::load_from_file(default_font_path).leak_ref();
|
s_default_font = Font::load_from_file(default_font_path).leak_ref();
|
||||||
ASSERT(s_default_font);
|
ASSERT(s_default_font);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue