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:
Andreas Kling 2019-02-05 09:07:23 +01:00
parent 0c38a4c30f
commit b1e054ffe8
Notes: sideshowbarker 2024-07-19 15:51:53 +09:00
7 changed files with 2 additions and 5 deletions

Binary file not shown.

View file

@ -43,7 +43,6 @@ FontEditorWidget::FontEditorWidget(const String& path, RetainPtr<Font>&& edited_
auto* info_label = new GLabel(this); auto* info_label = new GLabel(this);
info_label->set_relative_rect({ 5, 110, 100, 20 }); info_label->set_relative_rect({ 5, 110, 100, 20 });
info_label->set_font(Font::default_bold_font());
auto* demo_label_1 = new GLabel(this); auto* demo_label_1 = new GLabel(this);
demo_label_1->set_font(m_edited_font.copy_ref()); demo_label_1->set_font(m_edited_font.copy_ref());

View file

@ -7,7 +7,6 @@ GButton::GButton(GWidget* parent)
: GWidget(parent) : GWidget(parent)
{ {
set_fill_with_background_color(false); set_fill_with_background_color(false);
set_font(Font::default_bold_font());
} }
GButton::~GButton() GButton::~GButton()

View file

@ -58,7 +58,7 @@ void Font::initialize()
Font& Font::default_font() 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) { if (!s_default_font) {
#ifdef USERLAND #ifdef USERLAND
s_default_font = Font::load_from_file(default_font_path).leak_ref(); s_default_font = Font::load_from_file(default_font_path).leak_ref();

View file

@ -34,7 +34,6 @@ private:
ClockWidget::ClockWidget(GWidget* parent) ClockWidget::ClockWidget(GWidget* parent)
: GWidget(parent) : GWidget(parent)
{ {
set_font(Font::default_bold_font());
set_relative_rect({ 0, 0, 100, 40 }); set_relative_rect({ 0, 0, 100, 40 });
start_timer(250); start_timer(250);
} }

View file

@ -123,7 +123,7 @@ WSWindowManager::WSWindowManager()
m_front_painter = make<Painter>(*m_front_bitmap); m_front_painter = make<Painter>(*m_front_bitmap);
m_back_painter = make<Painter>(*m_back_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_front_painter->set_font(font());
m_back_painter->set_font(font()); m_back_painter->set_font(font());