[Bug 865013] Re: Ship Ubuntu Mono as default monospace font in Ubuntu 11.10

Paul Sladen ubuntu at paul.sladen.org
Tue Oct 4 13:23:53 UTC 2011


Diff/upload per Martin's request in comment #14, should it be required.

This change should only affect the rendering of those (GNOME-based)
application that source the value of 'monospace-font-name' via
GSettings.  The change will only affect those sessions where the user
has never overridden the defaults.  Those who have previously tested a
variety of fonts would be manually responsible for unsetting/resetting
the value:

  $ gsettings reset org.gnome.desktop.interface monospace-font-name


Given the extremely late nature of this change, I would feel more comfortable and be appreciative if other people could repeat the testing on the offered 'ubuntu-artwork=54' package and confirm getting similar Before/After results as above before it is considered for acceptance.  The intent is that the perceived visual sizes in terms number of pixels per cell is roughly equal.

Note that a logout/login is required—normally gsettings is dynamic—as
for some reason the reload trigger against:

  /usr/share/gconf/schemas/

denoted in in:

  /var/lib/dpkg/info/gconf2.triggers

is not immediately picking up the fresh installation from the 'ubuntu-
artwork' package of a newer:

  /usr/share/glib-2.0/schemas/ubuntu-artwork.gschema.override


As a side-answer;  GNOME 3 Control Center (on which the default Ubuntu configuration experience is based) removed the setting of fonts as a default user option.  The 'gnome-tweak-tool' now provides this functionality, and can be found in the Ubuntu Software Centre:

  http://apt.ubuntu.com/p/gnome-tweak-tool

** Patch added: "ubuntu-artwork_53.9_ubuntu-artwork-54.debdiff"
   https://bugs.launchpad.net/ubuntu/+source/ubuntu-font-family-sources/+bug/865013/+attachment/2507177/+files/ubuntu-artwork_53.9_ubuntu-artwork-54.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to fontconfig in Ubuntu.
https://bugs.launchpad.net/bugs/865013

Title:
  Ship Ubuntu Mono as default monospace font in Ubuntu 11.10

Status in “fontconfig” package in Ubuntu:
  Won't Fix
Status in “ubuntu-artwork” package in Ubuntu:
  Fix Released
Status in “ubuntu-font-family-sources” package in Ubuntu:
  Invalid

Bug description:
  Counterpart to bug #861334 ("Ship Ubuntu Mono .psf as default console
  font in Ubuntu 11.10"), but easier to implement.

  Mark Shuttleworth has requested that Ubuntu Mono Regular be used as
  the default monospace font for terminal use in Ubuntu 11.10.

  Hard Freeze was 72 hours ago.  This would require:

    1. Upstream release of Ubuntu Font Family 0.80.  DONE.
    2. Distro upload of Ubutu Font Family 0.80 minus Medium for oneiric.  DONE.
    3a. Bumping "Ubuntu Mono" to first preference in 'fontconfig-config' package.
  or:
    3b. Setting GNOME 'monospace-font-name' preference via gsettings in 'ubuntu-artwork'.

  This can be done for 'fontconfig-config' in the files:

    /etc/fonts/conf.d/60-latin.conf

  although Droid Sans has another interesting approach in:

       /etc/fonts/conf.d/60-ttf-droid-sans-mono-fonts.conf

  which could be tested.  Or for Ubuntu Artwork via a gsettings schema
  override (providing a default value for a key if no explicit value is
  otherwise set).  For 'ubuntu-artwork' this would be done by setting
  'monospace-font-name=' in the same place that 'font-name=' is set.

  I have run the change of default monospace font past a member of the
  Ubuntu Doc team, who are happy with it, noting that none of the
  documentation screenshots cover monospace fonts.  If there is a case,
  to the untrained eye one monospace is much like another and textual
  descriptions would be unaffected.

  The only potentional outcome that could do with further investigation
  is how to increase the default font size by ~12% to compensate for
  Ubuntu Mono following Inconsolata's metrics, rather than DejaVu Sans
  Mono's metric (the present default) and investigation into potential
  integration side-effects/regressions.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fontconfig/+bug/865013/+subscriptions




More information about the foundations-bugs mailing list