Bug 398902

Summary: KDE4 / Qt4 font settings not propagated to Qt3 applications
Product: [openSUSE] openSUSE 11.0 Reporter: macias - <bluedzins>
Component: YaST2Assignee: E-mail List <bnc-team-screening>
Status: RESOLVED DUPLICATE QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None    
Version: RC 1   
Target Milestone: ---   
Hardware: i586   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description macias - 2008-06-10 14:46:07 UTC
This is not a major technical issue, but major from user point of view. Yast uses terribly small font, I have problems reading it, and I just wear a glasses. What about people with more serious vision impairment?

I had set font size in KDE for special purpose -- easier reading. I see no reason why yast should violate those settings.
Comment 1 Stefan Hundhammer 2008-06-10 15:52:06 UTC
I assume the main complaint is about the YaST2 Qt control center's font, right?
This is a known issue (and yes, it's most unfortunate).

Short version: That control center is still a Qt3 application, and KDE4 / Qt4 don't seem to propagate their font settings to Qt3 applications.

As a workaround, you can use the Qt3 "qtconfig" program to set a larger font: Invoke /usr/lib/qt3/bin/qtconfig (not /usr/bin/qtconfig - that one is for Qt4).

Downgrading severity since there is a workaround.
Comment 2 Stefan Hundhammer 2008-06-10 15:55:10 UTC

*** This bug has been marked as a duplicate of bug 382475 ***
Comment 3 macias - 2008-06-10 19:16:31 UTC
Stefan, thank you for your explanation!
Comment 4 Stefan Hundhammer 2008-06-11 09:37:10 UTC
BTW most trouble with fonts being too small in X11 come from the display size not properly set in /etc/X11/xorg.conf. This can happen if your monitor wasn't properly recognized, so there is no information about its physical dimensions. In that case, X11 will assume a default value for the monitor DPI (dots per inch) which may or may not be correct. More often than not, fonts become much too small, in particular with high screen resolutions: A default font size on a screen with much more DPI than expected _will_ be too small.

You might want to check your /etc/X11/xorg.conf for a section like this:

Section "Monitor"
    Identifier  "Monitor[0]"
    VendorName  "MAX"
    ModelName   "BELINEA 101905"
    UseModes    "Modes[0]"
    DisplaySize 380 300
    HorizSync   30.0 - 80.0
    VertRefresh 43.0 - 75.0
    Option      "CalcAlgorithm" "XServerPool"
    Option      "DPMS"
EndSection


"DisplaySize" is the visible size of the monitor in millimeters (width and height). If the value is not there, simply use a ruler to measure the sizes and add that line.
Comment 5 macias - 2008-06-11 18:30:36 UTC
Stefan, thanks a lot! 

It works, but, strange thing it has various effects -- after correcting the screen size yast font changed, but not in SM. But now I can live with it, so I'll wait for tighter integration with KDE4.