mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:58:12 +00:00
SharedGraphics: Draw an error glyph instead of crashing due to missing glyphs.
This commit is contained in:
parent
af06d5edc1
commit
7a7fc37ca1
5 changed files with 28 additions and 1 deletions
|
@ -22,6 +22,7 @@ Font::Font(const char* const* glyphs, byte glyph_width, byte glyph_height, byte
|
|||
, m_first_glyph(first_glyph)
|
||||
, m_last_glyph(last_glyph)
|
||||
{
|
||||
m_error_bitmap = CharacterBitmap::create_from_ascii(Peanut8x10::error_glyph, m_glyph_width, m_glyph_height);
|
||||
}
|
||||
|
||||
Font::~Font()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue