CmdID

CmdID / Commands

grub-mkfont

Convert common font file formats into the PF2 format used by GRUB. tldr-pages

On Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

Convert a font to PF2

grub-mkfont --output path/to/output.pf2 path/to/font.ttfIdentify

Convert a font at a specific size

grub-mkfont --output path/to/output.pf2 --size 24 path/to/font.ttfIdentify

Convert only characters in specific Unicode ranges

grub-mkfont --output path/to/output.pf2 --range 0x20-0x7E,0xA0-0xFF path/to/font.ttfIdentify

Set the output font family name

grub-mkfont --output path/to/output.pf2 --name "font_family_name" path/to/font.ttfIdentify

Convert a font to bold while forcing automatic hinting

grub-mkfont --output path/to/output.pf2 --bold --force-autohint path/to/font.ttfIdentify

Disable hinting and ignore embedded bitmap strikes

grub-mkfont --output path/to/output.pf2 --no-hinting --no-bitmap path/to/font.ttfIdentify