1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 13:47:35 +00:00

SharedGraphics: Draw an error glyph instead of crashing due to missing glyphs.

This commit is contained in:
Andreas Kling 2019-01-23 08:07:58 +01:00
parent af06d5edc1
commit 7a7fc37ca1
5 changed files with 28 additions and 1 deletions

View file

@ -7,6 +7,17 @@ static constexpr char last_character = '~';
static constexpr byte font_width = 8;
static constexpr byte font_height = 8;
static constexpr const char* error_glyph {
" #### "
" # # "
" # ## # "
" # ## # "
" #### "
" ## "
" ###### "
" ## ",
};
static constexpr const char* font[] {
" ## "