Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 200019 - media-sound/sonic-visualiser-1.0 fonts doesn't follow qtconfig settings
Summary: media-sound/sonic-visualiser-1.0 fonts doesn't follow qtconfig settings
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-22 20:02 UTC by Jouni Rinne
Modified: 2007-11-22 21:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jouni Rinne 2007-11-22 20:02:02 UTC
Although sonic-visualiser is qt4-based, its fonts doesn't respond to the font settings in qtconfig (qt4 version). Please see the screenshot in http://personal.inet.fi/cool/l33tmmx/sv-qt4.jpg . In the screenshot there are: qjackctl-0.3.1a (qt4 based), qtconfig and sonic-visualiser. As you can see, the fonts in sonic-visualiser are much larger than the fonts in other applications. (Of course, it's possible that the fonts *may* be hard-coded, but then we must call this 'idiocy' instead of 'bug'...)
Comment 1 Alexis Ballier gentoo-dev 2007-11-22 20:07:40 UTC
do you have any suggestions on how to fix it ?
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-11-22 20:15:17 UTC
They do seem to be hardcoded, or at least some increment in size is:

#ifdef Q_WS_X11
    QFont fn = qApp->font();
    fn.setPointSize(fn.pointSize() + 2);
    qApp->setFont(fn);
#endif
Comment 3 Jouni Rinne 2007-11-22 20:36:52 UTC
Ooo-kay, how / what to change, then? I'm no programmer so I'm depending on you, guys :)
Comment 4 Alexis Ballier gentoo-dev 2007-11-22 21:20:18 UTC
(In reply to comment #3)
> Ooo-kay, how / what to change, then? I'm no programmer so I'm depending on you,
> guys :)


Please send this upstream, it seems it's just using scaled sizes from qtconfig settings, so better ask them if you want to change this; I don't think it is a good thing for distributions to change a package behavior like that.