Bug 199676

Summary: GTK font settings produce different results in Gimp and Firefox
Product: [openSUSE] SUSE Linux 10.1 Reporter: Hans Meier <ma2412ma>
Component: FirefoxAssignee: E-mail List <bnc-team-mozilla>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: suse-beta
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Hans Meier 2006-08-16 11:02:36 UTC
I've selected to use KDE fonts and styles for GTK apps in the KDE control center. However, this does not seem to work for Firefox - here, the font size is always too small. It works in Gimp though. For example, I've set my font size to 9. Then, Gimp also uses this font size, but Firefox seems to use something like 8 or 7.
Comment 1 Dirk Mueller 2006-08-16 11:10:45 UTC
are you talking about gtk-qt-engine or about krdb ?

the problem is that firefox likes to interpret the configured font size relative to its own hardcoded dpi setting (96dpi afaik). 

what is your screen dpy setting?

Comment 2 Hans Meier 2006-08-16 15:08:09 UTC
$ xdpyinfo
resolution:    114x115 dots per inch

You are correct, I've set the screen resolution to system settings within Firefox's preferences, then it works. I would suggest to make this setting a default instead of 96 dpi, then this bug can be closed as resolved.
Comment 3 JP Rosevear 2006-08-21 14:40:08 UTC
If anything this seems like an FF issue.
Comment 4 Wolfgang Rosenauer 2006-08-21 16:28:40 UTC
IIRC "system settings" _is_ the default for the dpi setting in Firefox.
Comment 5 Wolfgang Rosenauer 2006-08-21 16:56:39 UTC
No, it's not. We will change the default for future releases.
Comment 6 Forgotten User CRPsQFwJ3b 2007-05-14 16:48:04 UTC

*** This bug has been marked as a duplicate of bug 274361 ***