فهرست منبع

Rename LizaBold to LizaRegular and LizaBlack to LizaBold.

LizaRegular is quickly becoming my favorite bitmap font. It's so pretty :^)
Andreas Kling 6 سال پیش
والد
کامیت
b1e054ffe8

BIN
Base/res/fonts/LizaBold8x10.font


BIN
Base/res/fonts/LizaBlack8x10.font → Base/res/fonts/LizaRegular8x10.font


+ 0 - 1
FontEditor/FontEditor.cpp

@@ -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());

+ 0 - 1
LibGUI/GButton.cpp

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

+ 1 - 1
SharedGraphics/Font.cpp

@@ -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();

+ 0 - 1
Userland/guitest2.cpp

@@ -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);
 }

+ 1 - 1
WindowServer/WSWindowManager.cpp

@@ -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());