[Bug 729470] Re: grub-mkfont outputs fonts that grub cannot use (font characters not in ascending order: 0 <= 0)
Marcus Tomlinson
marcus.tomlinson at canonical.com
Thu Mar 5 12:49:55 UTC 2020
This release of Ubuntu is no longer receiving maintenance updates. If
this is still an issue on a maintained version of Ubuntu please let us
know.
** Changed in: grub2 (Ubuntu)
Status: Confirmed => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/729470
Title:
grub-mkfont outputs fonts that grub cannot use (font characters not in
ascending order: 0 <= 0)
Status in grub2 package in Ubuntu:
Incomplete
Bug description:
Binary package hint: grub2
As part of validation of the utility of the Ubuntu Mono in-development
fonts I've been doing some tests for using them in Grub, Console,
gfxboot and text-installer.
Currently the "Ubuntu Beta Mono" only has about 1200 codepoints, so
the rest need to fall back to an existing full-coverage font. Grub
currently uses Unifont for this.
Current attempt at generation is:
BASE=UbuntuBetaMono500-hacked
grub-mkfont -s16 -o $BASE.pf2 $BASE.[ot]tf /usr/share/fonts/truetype/unifont/unifont.ttf
with the following in '/etc/default/grub':
GRUB_FONT=/boot/grub/UbuntuBetaMono500-hacked.pf2
however, after an 'update-grub' and reboot the message:
font characters not in ascending order: 0 <= 0
is printed, which appears to be coming from:
./grub-core/font/font.c
Ideally grub-mkfont should produce self-compliant .pf2 fonts!
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/729470/+subscriptions
More information about the foundations-bugs
mailing list