Sample Header Ad - 728x90

Grub does not display custom fonts - How to Debug?

0 votes
0 answers
79 views
Operating system: OpenSUSE 15.6, upgraded from 15.5 I am creating a custom grub theme in which I want to use a font with a larger size than the default (I'm on a 3840x2160 screen). I followed the instructions of using custom fonts, but the font doesn't show up. Other aspects of the theme (colors, including font color) do work, so I know I'm editing the right theme file and compiling correctly. I have used grub2-mkfont to create the .pf2 files, and put those files in the theme directory. I can see the loadfont statements in the compiled grub.cfg file for all the font files in the theme directory. I checked the font name with the --verbose parameter to grub2-mkfont and made sure I used that name in the theme file. How do I debug from here? I'm figuring that either the font files I generated are somehow invalid, or the font loading is not getting triggered, or the font name doesn't match up somehow, but no clue how to figure out what.
Asked by Eric (1 rep)
May 21, 2025, 09:01 PM