mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:38:10 +00:00
LibWeb: Remove ancient HTML_DEBUG debug logging
This commit is contained in:
parent
6a569bbdd7
commit
10b534849d
6 changed files with 1 additions and 29 deletions
|
@ -159,17 +159,11 @@ void StyleProperties::load_font() const
|
|||
if (file_name.is_null())
|
||||
continue;
|
||||
|
||||
#ifdef HTML_DEBUG
|
||||
dbg() << "Found font " << file_name << " for family " << font_family << " weight " << font_weight;
|
||||
#endif
|
||||
m_font = Gfx::Font::load_from_file(String::format("/res/fonts/%s", file_name.characters()));
|
||||
FontCache::the().set({ font_name, font_weight }, *m_font);
|
||||
return;
|
||||
}
|
||||
|
||||
#ifdef HTML_DEBUG
|
||||
dbg() << "Failed to find a font for family " << font_family << " weight " << font_weight;
|
||||
#endif
|
||||
if (font_weight == "bold")
|
||||
m_font = Gfx::Font::default_bold_font();
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue