03-17-2023, 09:47 AM
(This post was last modified: 03-17-2023, 06:37 PM by AlexBryansk.)
Read in
http://wiki.rosalab.ru/en/index.php/Grub...e_tutorial
In short:
1. font for grub2 - *pf2
2. You can set your font separately for each theme and any component in the theme file "name theme.txt ":
Ttitle - title-font; boot menu - item font and selected item font; label - font.
If not set here, the default font will be used.
3. adding the font to parameter in the file ventoy.json: the "theme":
"fonts": ["/path/name file.pf2",
Attention! In the second paragraph
, the font name is set. In the third paragraph, the file name. They can
be different. For example, a music file has the name of one song, and when played, another one sounds with everything. Or the file name
is shorter.
4. You can convert a font from ttf to pf2 using the grub2-mkfont utility. Attention! Use only a single-width font.
http://wiki.rosalab.ru/en/index.php/Grub...e_tutorial
In short:
1. font for grub2 - *pf2
2. You can set your font separately for each theme and any component in the theme file "name theme.txt ":
Ttitle - title-font; boot menu - item font and selected item font; label - font.
If not set here, the default font will be used.
3. adding the font to parameter in the file ventoy.json: the "theme":
"fonts": ["/path/name file.pf2",
Attention! In the second paragraph
, the font name is set. In the third paragraph, the file name. They can
be different. For example, a music file has the name of one song, and when played, another one sounds with everything. Or the file name
is shorter.
4. You can convert a font from ttf to pf2 using the grub2-mkfont utility. Attention! Use only a single-width font.