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?
Thanks for investigating this!
> The problem is that Qt only supports 5 weights: qt.gitorious. org/qt/ qt/blobs/ 4.8/src/ gui/text/ qfont.h# line103
> http://
> 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?