Some enhancements could be done:

If you put an image in `/boot/grub` the settings, e.g. the normal font color, will be reset to default (and the background will be the image).
I'd do the test in my notebook.
When I put an image and font settings, the font setting is also not to become affect,
but the display color of the font is take affcet.

The /boot/grub/grub.cfg updated like this:

if background_image /atzlinux/IMG_2021.jpg; then
  set color_normal=green/black
  set color_highlight=red/light-cyan
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
O, I test again, the font setting is take affect.

atzlinux@debian:/boot/grub$ file unicode.pf2
unicode.pf2: GRUB2 font "MingLiU Regular 28"

From info grub:

7.2.2 Fonts
-----------

The fonts GRUB uses "PFF2 font format" bitmap fonts.  Fonts are
specified with full font names.

so select the  bitmap fonts in grub-customizer is OK.

Regards.

xiao sheng wen

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to