mirror of
https://github.com/RGBCube/serenity
synced 2025-05-30 21:58:10 +00:00
LibHTML: Hide debugging output unless HTML_DEBUG is defined
This commit is contained in:
parent
235dee8c42
commit
6491493e26
4 changed files with 14 additions and 0 deletions
|
@ -60,7 +60,11 @@ void LayoutText::load_font()
|
|||
dbg() << "My text is " << node().data();
|
||||
ASSERT_NOT_REACHED();
|
||||
}
|
||||
|
||||
#ifdef HTML_DEBUG
|
||||
dbg() << "Found font " << file_name << " for family " << font_family << " weight " << font_weight;
|
||||
#endif
|
||||
|
||||
m_font = Font::load_from_file(String::format("/res/fonts/%s", file_name.characters()));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue