qt-interest@trolltech.com
[Top] [All Lists]

Re: Change all usings of one font to other in Qt4.2 application

Subject: Re: Change all usings of one font to other in Qt4.2 application
From: Dimitri
Date: Thu, 01 Mar 2007 17:16:02 +0100
Hi,

I found that Qt4.2.2 by default uses font "Luxi Sans" for many internal roles: in tooltips, in file dialogs and more. In my target system I have'nt this font for every used sizes (or not for russian encodings, I don't now exactly). And i have empty labels instead of russian text. Some of this troubles i can evade by using other GUI-style. But not all.

Then Qt shouldn't be using that font in the first place. If it does, it could be a bug in Qt, or maybe your graphics system is misconfigured and tells Qt font "Luxi Sans" is available in sizes or for characters that are actually not supported.

Which exact Linux distribution is this? Have you somehow modified the graphics subsystem (you do seem to have modified it since you have modified the X setup)? Could you try on another system, where the graphics subsystem has not been modified?

Finally, what did you try to set application default font? QApplication::setFont()?

--
Dimitri

--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with 
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/

<Prev in Thread] Current Thread [Next in Thread>