mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
Rename LizaBold to LizaRegular and LizaBlack to LizaBold.
LizaRegular is quickly becoming my favorite bitmap font. It's so pretty :^)
This commit is contained in:
parent
0c38a4c30f
commit
b1e054ffe8
Notes:
sideshowbarker
2024-07-19 15:51:53 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/b1e054ffe89
7 changed files with 2 additions and 5 deletions
Binary file not shown.
Binary file not shown.
|
@ -43,7 +43,6 @@ FontEditorWidget::FontEditorWidget(const String& path, RetainPtr<Font>&& edited_
|
|||
|
||||
auto* info_label = new GLabel(this);
|
||||
info_label->set_relative_rect({ 5, 110, 100, 20 });
|
||||
info_label->set_font(Font::default_bold_font());
|
||||
|
||||
auto* demo_label_1 = new GLabel(this);
|
||||
demo_label_1->set_font(m_edited_font.copy_ref());
|
||||
|
|
|
@ -7,7 +7,6 @@ GButton::GButton(GWidget* parent)
|
|||
: GWidget(parent)
|
||||
{
|
||||
set_fill_with_background_color(false);
|
||||
set_font(Font::default_bold_font());
|
||||
}
|
||||
|
||||
GButton::~GButton()
|
||||
|
|
|
@ -58,7 +58,7 @@ void Font::initialize()
|
|||
|
||||
Font& Font::default_font()
|
||||
{
|
||||
static const char* default_font_path = "/res/fonts/Liza8x10.font";
|
||||
static const char* default_font_path = "/res/fonts/LizaRegular8x10.font";
|
||||
if (!s_default_font) {
|
||||
#ifdef USERLAND
|
||||
s_default_font = Font::load_from_file(default_font_path).leak_ref();
|
||||
|
|
|
@ -34,7 +34,6 @@ private:
|
|||
ClockWidget::ClockWidget(GWidget* parent)
|
||||
: GWidget(parent)
|
||||
{
|
||||
set_font(Font::default_bold_font());
|
||||
set_relative_rect({ 0, 0, 100, 40 });
|
||||
start_timer(250);
|
||||
}
|
||||
|
|
|
@ -123,7 +123,7 @@ WSWindowManager::WSWindowManager()
|
|||
m_front_painter = make<Painter>(*m_front_bitmap);
|
||||
m_back_painter = make<Painter>(*m_back_bitmap);
|
||||
|
||||
m_font = Font::default_bold_font();
|
||||
m_font = Font::default_font();
|
||||
|
||||
m_front_painter->set_font(font());
|
||||
m_back_painter->set_font(font());
|
||||
|
|
Loading…
Reference in a new issue