File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55
66- Convert a font to PF2:
77
8- ` grub-mkfont -- output {{path/to/output.pf2}} {{path/to/font.ttf}} `
8+ ` grub-mkfont {{[-o|-- output]}} {{path/to/output.pf2}} {{path/to/font.ttf}} `
99
1010- Convert a font at a specific size:
1111
12- ` grub-mkfont --size {{24}} -- output {{path/to/output.pf2}} {{path/to/font.ttf}} `
12+ ` grub-mkfont {{[-o|-- output]}} {{path/to/output.pf2}} {{[-s|--size]}} {{24 }} {{path/to/font.ttf}} `
1313
1414- Convert only characters in specific Unicode ranges:
1515
16- ` grub-mkfont --range {{0x20-0x7E,0xA0-0xFF }} --output {{path/to/output.pf2}} {{path/to/font.ttf}} `
16+ ` grub-mkfont {{[-o|--output] }} {{path/to/output.pf2}} {{[-r|--range]}} {{0x20-0x7E,0xA0-0xFF }} {{path/to/font.ttf}} `
1717
1818- Set the output font family name:
1919
20- ` grub-mkfont --name "{{font_family_name}}" -- output {{path/to/output.pf2}} {{path/to/font.ttf}} `
20+ ` grub-mkfont {{[-o|-- output]}} {{path/to/output.pf2}} {{[-n|--name]}} "{{font_family_name}}" {{path/to/font.ttf}} `
2121
2222- Convert a font to bold while forcing automatic hinting:
2323
24- ` grub-mkfont --bold --force-autohint -- output {{path/to/output.pf2}} {{path/to/font.ttf}} `
24+ ` grub-mkfont {{[-o|-- output]}} {{path/to/output.pf2}} {{[-b|--bold]}} {{[-a|--force-autohint] }} {{path/to/font.ttf}} `
2525
2626- Disable hinting and ignore embedded bitmap strikes:
2727
28- ` grub-mkfont --no-hinting --no-bitmap -- output {{path/to/output.pf2}} {{path/to/font.ttf}} `
28+ ` grub-mkfont {{[-o|-- output]}} {{path/to/output.pf2}} --no-hinting --no-bitmap {{path/to/font.ttf}} `
You can’t perform that action at this time.
0 commit comments