[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: Colin D Bennett
Subject: Re: [PATCH] GSoC #10 new font engine (UTF-8 support+bugfix)
Date: Thu, 30 Oct 2008 20:57:36 -0700


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.


Attachment: 10_font-engine-utf8_2008-10-30.patch
Description: Text Data

Attachment: signature.asc
Description: PGP signature

reply via email to

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