diff options
Diffstat (limited to 'Userland/Libraries/LibGUI/TextEditor.cpp')
-rw-r--r-- | Userland/Libraries/LibGUI/TextEditor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGUI/TextEditor.cpp b/Userland/Libraries/LibGUI/TextEditor.cpp index b4961fbdd6..29b16be858 100644 --- a/Userland/Libraries/LibGUI/TextEditor.cpp +++ b/Userland/Libraries/LibGUI/TextEditor.cpp @@ -609,7 +609,7 @@ void TextEditor::paint_event(PaintEvent& event) } auto font = unspanned_font; if (span.attributes.bold) { - if (auto bold_font = Gfx::FontDatabase::the().get(font->family(), font->presentation_size(), 700)) + if (auto bold_font = Gfx::FontDatabase::the().get(font->family(), font->presentation_size(), 700, 0)) font = bold_font; } draw_text_helper(span_start, span_end, font, span.attributes); |