[Bug 1054204] Re: Libreoffice chooses incorrect font weight
Björn Michaelsen
bjoern.michaelsen at canonical.com
Fri Oct 5 07:36:25 UTC 2012
So this seems from reading the comments to be a bug in fontconfig, which
could be workarounded in the Ubuntu font. While LibreOffice shows the
buggy behaviour, it needs to be fixed in fontconfig or worked around in
the Ubuntu fonts. Is that correct?
--
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/1054204
Title:
Libreoffice chooses incorrect font weight
Status in Ubuntu Font Family:
Confirmed
Status in “fontconfig” package in Ubuntu:
New
Status in “libreoffice” package in Ubuntu:
Confirmed
Status in “ubuntu-font-family-sources” package in Ubuntu:
Confirmed
Status in “fontconfig” source package in Quantal:
New
Status in “libreoffice” source package in Quantal:
Confirmed
Status in “ubuntu-font-family-sources” source package in Quantal:
Confirmed
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/ubuntu-font-family/+bug/1054204/+subscriptions
More information about the foundations-bugs
mailing list