Bug 460895 - Font sizes are not computed correctly with the Virtual keyword
Summary: Font sizes are not computed correctly with the Virtual keyword
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-drv-nv
Version: 11
Hardware: i686
OS: Linux
medium
high
Target Milestone: ---
Assignee: Ben Skeggs
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: card_GeForce FX 5600XT
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-09-02 13:55 UTC by Keith Roberts
Modified: 2018-04-11 17:40 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-11-09 00:22:19 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Xorg.0.log file (30.07 KB, text/plain)
2008-09-02 13:59 UTC, Keith Roberts
no flags Details

Description Keith Roberts 2008-09-02 13:55:10 UTC
Description of problem:

I like to use a virtual screen size of around 800 x 1800. This gives me plenty of room to layout my screen's real estate, and pan around the virtual screen in vertical directions. Up to and including F8 this works OK. In F9 the font sizes are not being computed correctly, and are *far* to big.

Version-Release number of selected component (if applicable):
This F9 box is fully patched as of this posting.

How reproducible:
Always

Steps to Reproduce:

using this /etc/xorg.conf file gives me the very large fonts:

# Xorg configuration created by pyxf86config

Section "ServerLayout"
        Identifier     "Default Layout"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "gb"
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "nv"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        DefaultDepth     24
  SubSection "Display"
    Viewport   0 0
    Depth     24
    Virtual 800 1800
  EndSubSection
EndSection

This is the default xorg.conf file, apart from the line with 'Virtual 800 1800' in the SubSection "Display", which I have added to give me the required virtual screen size.
 
Actual results:
The virtual screen size is set OK. But the fonts are way to large to make the virtual screen of any use.

Expected results:
I expect the font sizes to be computed correctly, so that the font sizes remain the same as they are when the Virtual 800 1800 line is not used in xorg.conf

Additional info:

Please see the attachment for the Xorg.0.log file generated with this xorg.conf file

Comment 1 Keith Roberts 2008-09-02 13:59:41 UTC
Created attachment 315544 [details]
Xorg.0.log file

This Xorg.0.log file was generated with startx -- -logverbose, using the default xorg.conf file with the Virtual 800 1800 line added to it.

Comment 2 Ben Boeckel 2008-09-03 18:54:51 UTC
If this is with the xorg-x11-drv-nv 2.1.10-1.fc9 driver, I see the same problem with larger fonts. Backing the version to 2.1.8-1.fc9 (http://koji.fedoraproject.org/koji/buildinfo?buildID=42028) worked for me. I am not using a virtual screen (at least I haven't specified one) and the res is 1650x1080.

Comment 3 Keith Roberts 2008-09-03 20:20:11 UTC
The screen font sizes are fine without the Virtual 800 1800 line. It's only when I use the Virtual keyword the font sizes are really large and out of proportion.

Comment 4 Jos Vos 2008-10-28 16:43:36 UTC
Similar to comment #2 on ThinkPad T61p with nVidia and 15.4" 1920x1200 display, *no* virtual display size etc., just the default setup.

xorg-x11-drv-nv-2.1.8-1.fc9 (base F9 package) works ok, everything looks fine, upgrading to xorg-x11-drv-nv-2.1.10-2.fc9 gives big fonts.  Everything looks bad (IMHO), graphical boot, gdm login window, and the desktop itself of course.  Downgrading to xorg-x11-drv-nv-2.1.8-1.fc9 makes everything look fine again.

What I see with System -> Preferences -> Hardware -> Screen Resolution is that the old driver displays "Laptop" in the middle and a -maxint refresh rate and the new driver displays "15" Laptop" and a 60 Hz refresh rate.  The laptop is 15.4" so in principle this is OK, but I don't want big fonts...

Now wondering if the behavior is a bug or a feature.  If it is the latter: how do I disable that feature?

Comment 5 Ben Boeckel 2008-11-24 20:27:41 UTC
This is still here in the 2.1.12 for F10.

Comment 6 Keith Roberts 2008-11-27 14:45:42 UTC
Moved it to rawhide.

Comment 7 Keith Roberts 2008-11-28 19:05:13 UTC
(In reply to comment #2)
> If this is with the xorg-x11-drv-nv 2.1.10-1.fc9 driver, I see the same problem
> with larger fonts. Backing the version to 2.1.8-1.fc9
> (http://koji.fedoraproject.org/koji/buildinfo?buildID=42028) worked for me. I
> am not using a virtual screen (at least I haven't specified one) and the res is
> 1650x1080.

This is a blocker to upgrading for me. I can't do much at all without a tall virtual screen.

How do I downgrade the xorg-x11-drv-nv to a previous version that works without breaking my distro?

Can I do this on F10 easily?


Any help is much appreciated.

Comment 8 Keith Roberts 2008-11-28 19:07:37 UTC
Would it be easier for the Fedora team to downgrade the xorg-x11-drv-nv driver to get rid of this problem with the font sizes? At least we would have a working Nvidia driver with the correct font sizes then, even if it's not the latest version :)

Comment 9 Matěj Cepl 2008-11-28 20:28:01 UTC
(In reply to comment #7)
> How do I downgrade the xorg-x11-drv-nv to a previous version that works without
> breaking my distro?

http://koji.fedoraproject.org/koji/buildinfo?buildID=42028

Go to that page and download appropriate RPMs for your architecture.

Comment 10 Keith Roberts 2008-11-29 20:31:12 UTC
(In reply to comment #9)
> (In reply to comment #7)
> > How do I downgrade the xorg-x11-drv-nv to a previous version that works without
> > breaking my distro?
> 
> http://koji.fedoraproject.org/koji/buildinfo?buildID=42028
> 
> Go to that page and download appropriate RPMs for your architecture.

Thanks for that info Matej. Will do ASAP.

BTW has anyone found a version for FC10 that works OK?

Comment 11 Keith Roberts 2008-12-02 23:03:42 UTC
I've tried what you suggested Matej, and still get the same large font sizes.

The xorg-x11-drv-nv-2.1.6-1.fc8 version works OK on F8

Would it be possible for the F8 source for xorg-x11-drv-nv-2.1.6-1.fc8

http://koji.fedoraproject.org/koji/buildinfo?buildID=31049

to be compiled for F9 so I can test this out please?

I can't do anything without a large virtual screen :(

Comment 12 Matěj Cepl 2008-12-03 18:41:24 UTC
I am afraid F8 drivers won't work with F10 Xserver.

Comment 13 Ben Boeckel 2009-02-16 06:44:37 UTC
This still exists in Rawhide and it also affects the nouveau driver. Maybe there is something wrong with mode setting or something (not really familiar with X myself too much though)?

Comment 14 Ben Boeckel 2009-04-10 18:43:27 UTC
I still see this with the nouveau driver in Rawhide as of today.

% rpm -q xorg-x11-{server-Xorg,drv-nouveau}
xorg-x11-server-Xorg-1.6.0-19.fc11.x86_64
xorg-x11-drv-nouveau-0.0.12-25.20090408gitd8545e6.fc11.x86_64

Comment 15 Bug Zapper 2009-06-09 09:41:58 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 16 Matěj Cepl 2009-11-05 18:19:52 UTC
Since this bugzilla report was filed, there have been several major updates in various components of the Xorg system, which may have resolved this issue. Users who have experienced this problem are encouraged to upgrade their system to the latest version of their packages. For packages from updates-testing repository you can use command

yum upgrade --enablerepo='*-updates-testing'

Alternatively, you can also try to test whether this bug is reproducible with the upcoming Fedora 12 distribution by downloading LiveMedia of F12 Beta available at http://alt.fedoraproject.org/pub/alt/nightly-composes/ . By using that you get all the latest packages without need to install anything on your computer. For more information on using LiveMedia take a look at https://fedoraproject.org/wiki/FedoraLiveCD .

Please, if you experience this problem on the up-to-date system, let us now in the comment for this bug, or whether the upgraded system works for you.

If you won't be able to reply in one month, I will have to close this bug as INSUFFICIENT_DATA. Thank you.

[This is a bulk message for all open Fedora Rawhide Xorg-related bugs. I'm adding myself to the CC list for each bug, so I'll see any comments you make after this and do my best to make sure every issue gets proper attention.]

Comment 17 Keith Roberts 2009-11-05 22:01:07 UTC
I think this has been fixed now, at least in the following desktops:

KDE
Gnome
XFCE4

It appears the above desktops offer the option of manually configuring the computed font size.

------------------------------------------------------------------------
** KDE DESKTOP

If the fonts are too big under a Virtual screen resolution, they can
be adjusted to look OK.

To set font sizes for Virtual screens in KDE:

* Under the new look KDE desktop kickstart application launcher, go to

Computer > System Settings > Look & Feel > Appearance > Fonts.

Set Force fonts DPI to 96 DPI.

* Under the KDE classic menu style this is found
  under System > System Settings.

For more help on KDE fonts see KDE Help Centre:

help:/kcontrol/fonts/index.html

After setting the Force fonts DPI option, font properties including
sizes, may be fine tuned in the above mentioned

Computer > System Settings > Look & Feel > Appearance > Fonts.

------------------------------------------------------------------------
** GNOME DESKTOP

If the fonts are too big under a Virtual screen resolution, they can
be adjusted to look OK.

In Gnome go to System > Preferences > Look and Feel >
Appearance > Fonts > Details.

Set Resolution to 92 dpi (or bigger if you prefer).

The font sizes are updated immediately.

------------------------------------------------------------------------
** XFCE DESKTOP

If the font sizes are too big under a Virtual screen resolution, they can
be adjusted.

Go to:

Xfce Menu > Settings > Settings Manager > User interface > Font DPI.

From the drop down list choose 96, or select 'Other'.

Choosing 'Other' allows you to enter a custom value for the DPI
setting. Changes made to DPI settings take effect immediately when
opening new GUI applications.

Alternatively, first adjust DPI settings in KDE, then use
switchdesk to run xfce with startx, instead of startxfce4.

xfce4 should then run with the correct font sizes.

------------------------------------------------------------------------

Sorry for the delay in posting. So it seems like this issue of incorrect font sizes has been fixed now in Fedora >= 10.

Comment 18 Matěj Cepl 2009-11-09 00:22:19 UTC
Thank you for letting us know.

Have you tried noveau driver?

Comment 19 Keith Roberts 2014-06-15 19:20:04 UTC
(In reply to Matěj Cepl from comment #18)
> Thank you for letting us know.
> 
> Have you tried noveau driver?

I'm running Centos 5.10 now on the said box, so this is a non-issue for me.

I'm sure this has been fixed by now?

Regards,

Keith


Note You need to log in before you can comment on or make changes to this bug.