AdisonCavani / distro-grub-themes

A pack of GRUB2 themes for each Linux distribution
https://k1ng.dev/distro-grub-themes
GNU General Public License v3.0
877 stars 55 forks source link

Incorrect font is showing in the menu #101

Closed Spajki001 closed 1 year ago

Spajki001 commented 1 year ago

Describe the bug After I successfully set the grub theme I wanted (in my case the Acer theme), it showed up fine but the text for the names of grub entries and the countdown text above is not shown in a pretty font as is seen on creator's screenshots but instead it shows me an ugly terminal font.

Expected behavior I expected that the pretty font would be shown but it isn't.

Screenshots 20230131_125346

Desktop

AdisonCavani commented 1 year ago

From which source did you downloaded theme archive?

nicholasz2510 commented 1 year ago

I've had this issue too with different grub themes; it's caused by a change to how fonts are loaded in grub when secure boot is enabled. To remove some secure boot holes, they made it so only signed fonts are available. Looks like currently the only available font is the GNU Unifont.

Right now, the main fixes are to either disable secure boot (unfortunately) or patch grub locally to remove the changes from this commit. Or apparently you might be able to sign the font yourself but I haven't been able to figure out how to do that.

See this thread: https://lists.gnu.org/archive/html/grub-devel/2022-11/msg00168.html