Small font size
ChiefArug opened this issue · comments
All text that isn't part of an image is very small.
Screen Resolution is 1920x1080
I have tried using grub-mkfont
to make a new .pf2 font file from the minecraft regular otf, but with the --size option set to bigger (tried 60 and 240), then putting that into the theme folder and changing the various mentions of Minecraft Regular 30
to Minecraft Regular 60
(or 240 for that) in theme.txt, but that didn't produce a noticeable effect.
I am using Grub Customizer to change the names of options, but this was a problem since before I started using that.
Hi!
Yes, this looks like the font isn't even loaded (this looks like some default font)
When grub-mkconfig is called, it will find the theme you chose in /etc/default/grub
and then add specific loadfont
lines into /boot/grub/grub.cfg
that will load all the needed fonts when grub starts. So take a look if the path written in there mismatches the actual path or if these lines are missing completely.
Hope this helps!
That did end up being the issue, kind of.
TLDR: Disable Secure Boot
If I opened grubs console on boot and run lsfonts
it only came up with the one default unicode font, so it definitely isn't loading the fonts. However in the grub.cfg
file it does have loadfont
lines for each font including the two new ones I added, and the file paths were indeed correct.
My next thought was maybe the root
variable getting messed up somehow, so I opened the console and ran echo ${root}
, which worked fine. ls ($root)/boot/grub/themes/
worked as expected to. I then for some random reason tried to run another command I had seen on the grub help page, time
. This didn't work, giving me an error that it couldn't load that module due to secure boot (yes I use linux and have secure boot turned on, yes it normally works).
I then went and disabled secure boot and voila, the font loaded perfectly and it looks normal... I don't know why things like the images are allowed to load while the fonts (which are essentially images as well) aren't, but it works now.
Thanks for the debugging help!
Did anyone find a way to sign the fonts so that GRUB can load them without disabling secure boot?