mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +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:
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());
|
||||
|
||||
Reference in New Issue
Block a user