← Back to team overview

touch-packages team mailing list archive

[Bug 746383] Re: fontconfig confuses bold and medium weights

 

Launchpad has imported 2 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=81453.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2014-07-17T05:57:22+00:00 Kanru-d wrote:

Recently Adobe & Google released a open-source pan-CJK font, Source Han
Sans from Adobe or Noto Sans CJK from Google.

This font family features 7 font weights: ExtraLight, Light, Normal,
Regular, Meidum, Bold, Heavy and their os2 weight are: 100, 300, 350,
400, 500, 700, 900 respectively.

However, in fontconfig, os2 weight class 350 and 400 both maps to weight
80 and I think this makes fontconfig or pango confuse about how to
choose the default font.

In particular in the GktFontChooser user can't choose one of these
fonts. To fix this we probably also have to fix Pango.

This issue is also reported to the source-han-sans project:
https://github.com/adobe-fonts/source-han-sans/issues/5

Reply at:
https://bugs.launchpad.net/ubuntu/+source/fontconfig/+bug/746383/comments/3

------------------------------------------------------------------------
On 2014-07-19T20:54:16+00:00 Freedesktop wrote:

I believe this is a Pango limitation, not fontconfig.  I'll take a look.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/fontconfig/+bug/746383/comments/4


** Changed in: fontconfig
       Status: Unknown => Confirmed

** Changed in: fontconfig
   Importance: Unknown => Medium

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

Title:
  fontconfig confuses bold and medium weights

Status in Fontconfig - Font Configuration Library:
  Confirmed
Status in “fontconfig” package in Ubuntu:
  Triaged

Bug description:
  Attempts to set "Ubuntu Bold" in the Appearance settings fall back to
  "Ubuntu Medium". In fact, in the font selection screen there seems to
  be no difference between bold and medium.

  Curiously enough, Bug #746382 sort of proves that Ubuntu Bold *is*
  installed and accessible.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: ttf-ubuntu-font-family 0.71.2-0ubuntu1
  ProcVersionSignature: Ubuntu 2.6.38-7.39-generic 2.6.38
  Uname: Linux 2.6.38-7-generic i686
  Architecture: i386
  Date: Thu Mar 31 08:33:44 2011
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20110325)
  ProcEnviron:
   LANGUAGE=en_US:en
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: ubuntu-font-family-sources
  UpgradeStatus: No upgrade log present (probably fresh install)

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