Thanks for investigating this!

> The problem is that Qt only supports 5 weights:
> http://qt.gitorious.org/qt/qt/blobs/4.8/src/gui/text/qfont.h#line103
>  Light         = 25,
>  Normal       = 50,
>  DemiBold     = 63,
>  Bold  = 75,
>  Black         = 87

Apparently these are just integers. Maybe it's possible to map
FC_WEIGHT_MEDIUM to an integer like 60 or 65, without using the
QFont::Weight enum?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/744812

Title:
  FontConfig/Qt stack choke on Ubuntu Medium font meta-data (No medium
  in Inkscape and too bold in Qt apps)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to