[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] GSoC #10 new font engine (UTF-8 support+bugfix)

From: Matt Sturgeon
Subject: Re: [PATCH] GSoC #10 new font engine (UTF-8 support+bugfix)
Date: Fri, 31 Oct 2008 18:31:31 +0000

will all these fonts be included in the next release of GRUB 2?

2008/10/31 Colin D Bennett <address@hidden>

I fixed an error pointed out to me by Y.Volta:
In grub_font_get(), if no fonts are loaded, a null pointer is
dereferenced.  This is fixed in the attached patch.

The grub_font_get() function now returns a dummy font object (a
statically allocated font object with no characters) so that callers of
grub_font_get() can be assured that the return value will never be
NULL.  If no fonts are loaded, then the "unknown glyph" will be used
for all characters, but it will be safe.


Grub-devel mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]