Technical: Light and medium are confused by LibreOffice and GNOME in 0.71.2

Bug #741813 reported by Erdal Ronahi
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Ubuntu Font Family
Confirmed
High
Unassigned
fontconfig (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

The new "Ubuntu Light" appears heavier than "Ubuntu regular" in LibreOffice. The same goes for the bold variant of both. I am using a fully updated version of Natty.

Attached is a PDF file showing the problem.

It appears that "medium" is used instead of "light". At least that's what gets embedded in the PDF.

I installed the TTFs under Debian Squeeze and LibreOffice showed the same behaviour there. Scribus-ng on the other hand hand distinguish between all four variants of ttf-ubuntu-font-family.

Gnome-appearance-properties also cannot handle the fonts from 0.71.2 at all.

Revision history for this message
Erdal Ronahi (erdalronahi) wrote :
Revision history for this message
Erdal Ronahi (erdalronahi) wrote :

Here the ODT file from which the PDF was created.

description: updated
summary: - Light is heavier than regular in 0.71.2
+ Light and medium are confused by LibreOffice and GNOME in 0.71.2
Revision history for this message
Paul Sladen (sladen) wrote : Re: Light and medium are confused by LibreOffice and GNOME in 0.71.2

To add to that, Inkscape is only seeing the Light, Regular and Medium; but not the bold.

Paul Sladen (sladen)
Changed in ubuntu-font-family:
status: New → Confirmed
importance: Undecided → High
summary: - Light and medium are confused by LibreOffice and GNOME in 0.71.2
+ Technical: Light and medium are confused by LibreOffice and GNOME in
+ 0.71.2
Changed in ubuntu-font-family:
milestone: none → 0.72
Revision history for this message
Paul Sladen (sladen) wrote :

The theory here was that the two groups would be used independently:

  * The old, simple naming. (A base name, and effectively two flags, one for Bold, one for Italic)
  * The new, detailed naming. (Base Family, weights, obliqueness angles, full-text subnames ... the full works)

I think the situation we're getting into with (something in) the stack that Inkscape and/or GNOME are using is that data from both sets is being used. So probably the Bold "flag" is being seen on both of the fonts and therefore the second being discarded. The actual raw FontConfig data:

  $ fc-list | grep Ubuntu | grep -v Mono
  Ubuntu,Ubuntu Light:style=Light,Regular
  Ubuntu:style=Bold Italic
  Ubuntu:style=Bold
  Ubuntu:style=Italic
  UbuntuHebrewBeta:style=Regular
  Ubuntu,Ubuntu Light:style=Medium Italic,Bold Italic
  UbuntuArabicBeta:style=Regular
  Ubuntu,Ubuntu Light:style=Light Italic,Italic
  Ubuntu:style=Regular
  Ubuntu,Ubuntu Light:style=Medium,Bold

Changed in fontconfig (Ubuntu):
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.