Came across this bug today because I cannot use Ubuntu Medium/Bold correctly in neither Libreoffice (5.1.4-0ubuntu1) nor Inkscape (0.91 r13725) under Kubuntu 16.04. The System was installed from scratch and updates are recent.
I have tried the ttf-ubuntu-font-family/xenial package (0.83-0ubuntu2) as well as downloaded Versions from both font.ubuntu.com (0.83 too) and fontsquirrel.com. In LOO I get all weights under the "Ubuntu" Family entry, except "Medium" -- interestingly Light Italic/Italic/Medium Italic/Bold Italic are there and working! Non-Italic only Light, Regular and Bold show up as Styles. There is no separate Light/Medium Family, only Condensed and Mono. In Inkscape, otoh, I have Medium/Medium Italic, but no Bold styles. All available Styles are rendered correctly, i. e. "Regular" is normal, not Medium, etc. In Inkscape I can get a text set to correct Bold style if I enter "Bold" in the Style Dropdown manually. I am sure this is supposedly not the correct place to put this report - maybe someone can point me somewhere better. Maybe it is a regression, though. A quick look into Ubuntu-M.ttf showed the "Ubuntu Light" thing, and I have also read Bug 744812, but found it it also quite dated and complex. -- 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: Fix Released Status in Ubuntu Font Family: Invalid Status in fontconfig package in Ubuntu: Fix Released 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 -- Mailing list: https://launchpad.net/~documentation-packages Post to : documentation-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~documentation-packages More help : https://help.launchpad.net/ListHelp