mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-22 15:22:39 +00:00
* util/grub-mkfont.c (main): Handle errors from FT_Set_Pixel_Sizes.
This commit is contained in:
1 parent
32570200a8
commit
e872a2dd82
2 files changed
+6
-1
No files matched your search
@@ -1,3 +1,7 @@
|
|||||||
|
2010-12-18 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* util/grub-mkfont.c (main): Handle errors from FT_Set_Pixel_Sizes.
|
||||||
|
|
||||||
2010-12-18 Colin Watson <cjwatson@ubuntu.com>
|
2010-12-18 Colin Watson <cjwatson@ubuntu.com>
|
||||||
|
|
||||||
* grub-core/normal/term.c (print_more): Make \r or \n scroll one
|
* grub-core/normal/term.c (print_more): Make \r or \n scroll one
|
||||||
|
|||||||
+2
-1
@@ -1170,7 +1170,8 @@ main (int argc, char *argv[])
|
|||||||
font_info.style = ft_face->style_flags;
|
font_info.style = ft_face->style_flags;
|
||||||
font_info.size = size;
|
font_info.size = size;
|
||||||
|
|
||||||
FT_Set_Pixel_Sizes (ft_face, size, size);
|
if (FT_Set_Pixel_Sizes (ft_face, size, size))
|
||||||
|
grub_util_error ("can't set %dx%d font size", size, size);
|
||||||
add_font (&font_info, ft_face, file_format != PF2);
|
add_font (&font_info, ft_face, file_format != PF2);
|
||||||
FT_Done_Face (ft_face);
|
FT_Done_Face (ft_face);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user