mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-28 01:59:49 +00:00
2009-01-19 Vesa Jääskeläinen <chaac@nic.fi>
* font/font.c (grub_font_loader_init): Re-position unknown glyph. * term/gfxterm.c (write_char): Fix background rendering for wide width glyphs.
This commit is contained in:
1 parent
3e643f8c13
commit
bee5fe5d09
3 files changed
+18
-6
No files matched your search
+3
-3
@@ -145,7 +145,7 @@ grub_font_loader_init (void)
|
||||
unknown_glyph->width = 8;
|
||||
unknown_glyph->height = 16;
|
||||
unknown_glyph->offset_x = 0;
|
||||
unknown_glyph->offset_y = 0;
|
||||
unknown_glyph->offset_y = -3;
|
||||
unknown_glyph->device_width = 8;
|
||||
grub_memcpy(unknown_glyph->bitmap,
|
||||
unknown_glyph_bitmap, sizeof(unknown_glyph_bitmap));
|
||||
@@ -153,8 +153,8 @@ grub_font_loader_init (void)
|
||||
/* Initialize the null font. */
|
||||
font_init (&null_font);
|
||||
null_font.name = "<No Font>";
|
||||
null_font.ascent = unknown_glyph->height;
|
||||
null_font.descent = 1;
|
||||
null_font.ascent = unknown_glyph->height-3;
|
||||
null_font.descent = 3;
|
||||
null_font.max_char_width = unknown_glyph->width;
|
||||
null_font.max_char_height = unknown_glyph->height;
|
||||
|
||||
|
||||
Reference in new issue
Block a user