grub-mkfont outputs fonts that grub cannot use (font characters not in ascending order: 0 <= 0)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
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=
grub-mkfont -s16 -o $BASE.pf2 $BASE.[ot]tf /usr/share/
with the following in '/etc/default/
GRUB_
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-
Ideally grub-mkfont should produce self-compliant .pf2 fonts!
Characters from both appear to be being inserted into the same file, the 'm' with the short centre stem is coming from Ubuntu Mono.
Glyph #191, U+006d
Width 7, Height 8, X offset 1, Y offset 0, Device width 8
+.......
+.......
+.......
+.......
+.......
+.......
+###_##_
+#__#__#
+#__#__#
+#__#__#
+#__#__#
+#__#__#
+#__#__#
+#__#__#
+.......
+.......
+.......
Glyph #192, U+006d
Width 6, Height 7, X offset 1, Y offset 0, Device width 8
+.......
+.......
+.......
+.......
+.......
+.......
+.......
+######.
+#_##_#.
+#_##_#.
+#_##_#.
+#____#.
+#____#.
+#____#+
+.......
+.......
+.......