For the past two weeks I’ve been trying to make Grub recognize the font specified in the theme.
I use in my theme file, among others:
terminal-font: "Play Regular 36"
...
item_font = "Play Regular 24"
selected_item_font = "Play Regular 24"
The output of grub2-mkfont in verbose mode is:
Font name: Play Regular 36
Max width: 40
Max height: 37
Font ascent: 37
Font descent: 8
Number of glyph: 827
I can see in the generated grub.cfg file that the font is getting loaded:
insmod gfxmenu
loadfont ($root)/boot/grub2/themes/eric/play36.pf2
loadfont ($root)/boot/grub2/themes/eric/play72.pf2
insmod png
set theme=($root)/boot/grub2/themes/eric/theme.txt
This is the only place where the theme file is referenced, and other changes in the theme file work. But whatever I try, the grub screen uses a tiny font (I’m on a 3820x2160 screen).
I had the custom font working on Leap 15.5, but lost that theme when I updated to 15.6, and didn’t make a copy, so I’m trying to recreate it, and not having any luck.
Any suggestion what I may be missing? Any additional information I may be able to provide?
Thanks,
Eric