FS#6342 - firefox font too small on xfce4
Attached to Project:
Arch Linux
Opened by Eugenia Loli-Queru (Eugenia) - Monday, 05 February 2007, 01:31 GMT
Last edited by Roman Kyrylych (Romashka) - Tuesday, 06 February 2007, 11:30 GMT
Opened by Eugenia Loli-Queru (Eugenia) - Monday, 05 February 2007, 01:31 GMT
Last edited by Roman Kyrylych (Romashka) - Tuesday, 06 February 2007, 11:30 GMT
|
Details
the default font is extremely small on firefox when used
under xfce4. This is a bug.Epiphany does not have the bug
when loaded under xfce4.
|
This task depends upon
Closed by Jan de Groot (JGC)
Sunday, 25 February 2007, 17:46 GMT
Reason for closing: Fixed
Additional comments about closing: xorg-server 1.2.0-2 is patched to default to 96 DPI when nothing is specified and autodetection failed.
Sunday, 25 February 2007, 17:46 GMT
Reason for closing: Fixed
Additional comments about closing: xorg-server 1.2.0-2 is patched to default to 96 DPI when nothing is specified and autodetection failed.
resolution: 75x75 dots per inch
ButtonPressMask ButtonReleaseMask LeaveWindowMask
I use the Xorg driver for my ATi 9000 Mobility, open source driver. Any way to fix the problem?
Any other ideas? My screen is 15" and the resolution is 1400x1050.I can't use XFce because of the font issue...
Xft.dpi: 96
to this file: ~/.config/xfce4/Xft.xrdb
Maybe you could fix this for all XFce installations somehow?
http://primates.ximian.com/~federico/news-2007-01.html#font-sizes
Xft.dpi: 96
Xft.hinting: 1
Xft.hintstyle: hintmedium
startxfce4 sets DPI to 96, and this is what mainstream does. Arch Linux usually doesn't change mainstream's behaviour.
startxfce4 was designed as easy script to start Xfce for users that don't wan't to bother with .xinitrc and settings.
You should start Xfce with xfce4-session from .xinitrc if you wan't it to respect all your X settings.
Why it's not the thing people want? Different people want different things. There's no way in universe to satisfy all.
Why resolution should be set to 96 DPI when launching with GDM?
"My screen is 15" and the resolution is 1400x1050" - but the physical DPI for this is much closer to 120, than to 96DPI.
I used http://lcdtech.no-ip.info/data/pixel.size.htm for calculation (sorry, it's in Russian) and got 116 DPI.
IMO DPI should be as close to physical values as possible. I hate windoze for always defaulting to 96 DPI.
Eugenia, you start Xfce from GDM, what DPI you get when starting it as xfce4-session and as startxfce4?
Do you have any manual DPI setting in Xorg, if not then try to set DPI there and see if it works.
Jan, what do you think about this patch: http://bugzilla.gnome.org/show_bug.cgi?id=378338 ?
And because Arch tries to keep packages as much close to vanilla as possible - it wasn't changed.
Eugenia, you still haven't said what method of running Xfce do you use, I don't know which command your GDM calls - xfce4-session or startxfce4. And please tell if manual DPI setting in xorg.conf helps.
As for xorg.conf, where exactly do I add what?
But by searching on my local mirror I found Exec=startxfce4 in xfce.desktop in xfce-utils package - which means GDM starts startxfce4. And startxfce4 should set DPI to 96 when it cannot find Xft.xrdb. The only file that can override DPI after Xfce set it to 96 using fallback is ~/.Xresources.
Eugenia Loli-Queru (Eugenia):
> I found a tutorial online. You have to add this line
> Xft.dpi: 96
> to this file: ~/.config/xfce4/Xft.xrdb
Have you tried this?
It is the point. Without this file starting Xfce with startxfce4 should behave exactly in the same way.
> I don't know why Xresources set the dpi to 75 (if it's the Xresources the culprit).
In your case it's not .Xresources, becaue it it was it then Xft.xrdb wouldn't matter at all.
Xfce checks fot Xft.xrdb, then fallbacks to 96DPI, then it may be overridden by .Xresources.
In your case something is weird.
> BTW, I have this Arch Linux installation for over 2 years now, maybe upgrades over upgrades had something to do with it.
Maybe.
Check if you have ~/.config/xfce4/xinitrc or ~/.xfce4/xinitrc.
Is there any arch user except Eugenia with the same issue?
if (!monitorResolution)
monitorResolution = 75;
In the normal X server, this is set to DEFAULT_DPI for X and Y resolution, which is defined as 75. DPI sizes are set like this:
- commandline -dpi option
- display dimensions specified in xorg.conf
- DDC information from your monitor
- The default resolution, which is 75dpi
I still have to fix some issues in xorg-server 1.2.0 (mainly fontpath and dependency issues, for the rest it's fine), I will patch xorg-server to set default resultion to 96 DPI, which is a sane size unless you specify something else. IMHO this should be fixed serverside, not clientside with hacks that gnome and startxfce4 do. (yes! finally a standard fontsize that is equal in every environment!)
Does Xorg 7.2 really does more autodetection as they promised?
Though I'm still curious why ~/.config/xfce4/Xft.xrdb worked while fallback (few lines below in startxfce4) wasn't. :-/