Public bug reported:

In my Karmic, although I set all font sizes as 10, qt apps always display a 
smaller font that gtk apps.
After some investigation, I found that the DPI setting in gnome is 96, but 

$ xdpyinfo | grep reso
  resolution:    94x94 dots per inch

$ xrdb -q
 Xft.dpi:       96

After setting DPI to 94 in gnome, I got a same font size in both qt and gtk 
apps.
But I think 96 is a more accurate value for my monitor. So I tried to set DPI 
in ~/.fonts.conf
<match target="pattern">
  <edit name="dpi" mode="assign">
    <double>96</double>
  </edit>
</match>

But Qt doesn't respect that setting. It always considers DPI as 94.

** Affects: qt4-x11 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Qt does not respect DPI setting
https://bugs.launchpad.net/bugs/490006
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

Reply via email to