← Back to team overview

documentation-packages team mailing list archive

[Bug 1054204] Re: Libreoffice chooses incorrect font weight

 

** No longer affects: fontconfig (Ubuntu Quantal)

** No longer affects: fontconfig (Ubuntu Raring)

** Changed in: libreoffice (Ubuntu)
    Milestone: quantal-updates => None

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

Title:
  Libreoffice chooses incorrect font weight

Status in Fontconfig - Font Configuration Library:
  Fix Released
Status in Ubuntu Font Family:
  Confirmed
Status in “fontconfig” package in Ubuntu:
  Fix Released
Status in “libreoffice” package in Ubuntu:
  Confirmed
Status in “ubuntu-font-family-sources” package in Ubuntu:
  Fix Released
Status in “ubuntu-font-family-sources” source package in Quantal:
  Fix Released
Status in “ubuntu-font-family-sources” source package in Raring:
  Fix Released

Bug description:
  How to fix the problem:

  See comments on wrong "Ubuntu Light" font family being specified in
  the information of Ubuntu-M.ttf.

  You can fix the problem manually by installing fontforge program,
  going to Open dialog, navigating in it to /usr/share/fonts/truetype
  /ubuntu-font-family/ and opening Ubuntu-M.ttf. In Element -> Font
  Info, you can fix the family on the first page, and then export the
  font with File -> Generate Fonts, selecting the type "TrueType". Save
  to somewhere in your home folder first, accept the warnings, then in a
  terminal window / command line type:

  sudo mv Ubuntu-M.ttf /usr/share/fonts/truetype/ubuntu-font-family
  sudo dpkg-reconfigure fontconfig

  Attached to this bug report is also a branch of the Ubuntu packaging
  that includes this manually modified Ubuntu-M.ttf, since the sources
  seem not to be editable with free tools.

  
  Original description:

  After installing the Ubuntu Font 0.80-0ubuntu3+console from quantal I
  have the added "Medium" font weight:-

  /usr/share/fonts/truetype/ubuntu-font-family/UbuntuMono-B.ttf
  /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-RI.ttf
  /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-MI.ttf
  /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-LI.ttf
  /usr/share/fonts/truetype/ubuntu-font-family/UbuntuMono-RI.ttf
  /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-M.ttf
  /usr/share/fonts/truetype/ubuntu-font-family/UbuntuMono-BI.ttf
  /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-B.ttf
  /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-L.ttf
  /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-C.ttf
  /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-BI.ttf
  /usr/share/fonts/truetype/ubuntu-font-family/UbuntuMono-R.ttf
  /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-R.ttf

  If I install this font and choose "Ubuntu Light" in LibreOffice, it
  actually picks the "Medium" font weight. If I remove the medium font
  weight files and restart LibreOffice it chooses the right weight
  again. It seems related to bug 744812.

  Screenshots show the issue.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: libreoffice-writer 1:3.6.1~rc2-1ubuntu5
  ProcVersionSignature: Ubuntu 3.5.0-15.22-generic 3.5.4
  Uname: Linux 3.5.0-15-generic x86_64
  ApportVersion: 2.5.2-0ubuntu4
  Architecture: amd64
  Date: Fri Sep 21 17:34:30 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120102)
  SourcePackage: libreoffice
  UpgradeStatus: No upgrade log present (probably fresh install)

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