[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] font: Try opening fonts from the bundled memdisk
From: |
Robbie Harwood |
Subject: |
Re: [PATCH] font: Try opening fonts from the bundled memdisk |
Date: |
Wed, 26 Apr 2023 07:56:01 -0400 |
Chris Coulson <chris.coulson@canonical.com> writes:
> 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>
Thanks for posting this.
Reviewed-by: Robbie Harwood <rharwood@redhat.com>
Be well,
--Robbie
signature.asc
Description: PGP signature