← Back to team overview

touch-packages team mailing list archive

[Bug 724022] Re: [21 new] Allow use of Ubuntu Mono as .psf console-setup font

 

** Tags added: uff-dm-new

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-font-family-sources
in Ubuntu.
https://bugs.launchpad.net/bugs/724022

Title:
  [21 new] Allow use of Ubuntu Mono as .psf console-setup font

Status in Ubuntu Font Family:
  Confirmed
Status in ubuntu-font-family-sources package in Ubuntu:
  Confirmed

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/fonts/truetype/ubuntu-font-family/UbuntuBetaMono-R-R21.ttf > UbuntuBetaMono-R-R21.bdf
    bdf2psf UbuntuBetaMono-R-R21.bdf /usr/share/bdf2psf/standard.equivalents /usr/share/bdf2psf/required.set+/usr/share/bdf2psf/useful.set 256 UbuntuBetaMono-R-R21.psf
    setfont -h17 UbuntuBetaMono-R-R21.psf

  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-theme-ubuntu (Proportional) - bug #732854
   12) Bterm (d-i) (Monospace) -
   13) Grub2 (Monospace) - bug #729470
   14) Console-setup (Monospace) - bug #724022 (this bug)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-font-family/+bug/724022/+subscriptions