[21 new] Allow use of Ubuntu Mono as .psf console-setup font
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Font Family |
Fix Released
|
Low
|
Unassigned | ||
ubuntu-font-family-sources (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
The text-mode console (Ctrl-Alt-F1) currently uses the default system/VGA font but a hinted version of Ubuntu Mono would be lovely to have loadable on the Linux console when it's finished.
Converting a TTF so that it is usable as bitmap Linux console font appears to be a two-stage process; first rasterising to a BFD bitmap font file (bitmap with metrics), and then from that into a rawform, equal width PSF bitmap console font:
otf2bdf /usr/share/
bdf2psf UbuntuBetaMono-
setfont -h17 UbuntuBetaMono-
The R21 Mono Beta has a cell bounding box of 482×1000 (including necessary leading and advance); this leads to bounding box of 8x17 rather than the traditional 8x16 and this is what the "-n17" forces upon loading. The result useful but very ugly because of the lack of manual hinting.
We probably also want to make sure that at least all of the codepoints listed in the 'required.set' file are present and populated if we're going to replace the current default.
=====
Eventually (11.10?) we should try to apply the Ubuntu fonts to the console as well. Steps 12–14 are blocked waiting for the Ubuntu Monospace to be released and available in the archive.
11) gfxboot-
12) Bterm (d-i) (Monospace) -
13) Grub2 (Monospace) - bug #729470
14) Console-setup (Monospace) - bug #724022 (this bug)
Changed in ubuntu-font-family: | |
status: | New → Incomplete |
importance: | Undecided → Wishlist |
Changed in ubuntu-font-family-sources (Ubuntu): | |
importance: | Undecided → Wishlist |
Changed in ubuntu-font-family: | |
milestone: | none → mono |
tags: | added: uff-bitmap uff-console |
description: | updated |
summary: |
- Wishlist: Enable use of Ubuntu Mono as .psf console-setup font + [21 new] Allow use of Ubuntu Mono as .psf console-setup font |
Changed in ubuntu-font-family: | |
status: | Incomplete → Confirmed |
Changed in ubuntu-font-family: | |
importance: | Wishlist → Low |
tags: | added: uff-dm-new |
Glyphs missing to finish 'required.set':
for U in `cut -d: -f2 missing-gliphs.txt | tr -d ' ' | sort | uniq` ; do grep '# '$U /usr/share/ bdf2psf/ required. set ; done
Thankfully it basically appears to just be the box/line drawing characters (13) + full blocks (4) + arrows (4)—and we need these for real-world testing anyway since they are specific to our own cell ratio:
# U+2191: UPWARDS ARROW
# U+2193: DOWNWARDS ARROW
# U+2500: BOX DRAWINGS LIGHT HORIZONTAL
# U+2502: BOX DRAWINGS LIGHT VERTICAL
# U+250C: BOX DRAWINGS LIGHT DOWN AND RIGHT
# U+2510: BOX DRAWINGS LIGHT DOWN AND LEFT
# U+2514: BOX DRAWINGS LIGHT UP AND RIGHT
# U+2518: BOX DRAWINGS LIGHT UP AND LEFT
# U+251C: BOX DRAWINGS LIGHT VERTICAL AND RIGHT
# U+2524: BOX DRAWINGS LIGHT VERTICAL AND LEFT
# U+252C: BOX DRAWINGS LIGHT DOWN AND HORIZONTAL
# U+2534: BOX DRAWINGS LIGHT UP AND HORIZONTAL
# U+253C: BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL
# U+256A: BOX DRAWINGS VERTICAL SINGLE AND HORIZONTAL DOUBLE
# U+256C: BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL
# U+2588: FULL BLOCK
# U+2591: LIGHT SHADE
# U+2592: MEDIUM SHADE
# U+25A0: BLACK SQUARE
# U+25B6: BLACK RIGHT-POINTING TRIANGLE
# U+25C0: BLACK LEFT-POINTING TRIANGLE