grub-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] font: Try opening fonts from the bundled memdisk


From: Daniel Kiper
Subject: Re: [PATCH] font: Try opening fonts from the bundled memdisk
Date: Fri, 28 Apr 2023 15:43:34 +0200
User-agent: NeoMutt/20170113 (1.7.2)

On Wed, Apr 26, 2023 at 12:06:52PM +0200, Chris Coulson wrote:
> Grub since 93a786a00163e50c29f0394df198518617e1c9a5 has enforced
> verification of font files in secure boot mode. In order to continue to
> be able to load some default fonts, vendors may bundle them with their
> signed EFI image by adding them to the built-in memdisk.
>
> This change makes the font loader try loading fonts from the memdisk
> before the prefix path when attempting to load a font file by specifying
> its filename, which avoids having to make changes to grub configurations
> in order to accommodate memdisk bundled fonts. It expects the directory
> structure to be the same as fonts stored in the prefix path
> (ie, /fonts/<name>.pf2).
>
> Signed-off-by: Chris Coulson <chris.coulson@canonical.com>

Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>

Daniel



reply via email to

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