Font size is too large in EL6 virtual desktops with large display resolution

Latest response

There seems to be an issue in EL6 virtual desktops where the font size becomes large when there is a large display resolution.  For example, the font size in the GNOME panel and the icon names are too large. 

 

If I start an EL6 virtual desktop and then open the console in full screen mode with a display resolution of 1920x1200, the fonts are too large.

 

If I then restart the virtual desktop in Windowed mode, it will default to a display resolution of 1024x768.  The fonts now appear to be the correct size.  If I then press Shift-F11 to put the virtual desktop into Fullscreen Mode, the display resolution changes to 1920x1200 and the fonts are still correctly sized.

 

You can see the Dots Per Inch for the display by running the xdpyinfo command.  When an EL6 virtual desktop boots up in windowed mode, the resolution defaults to 1024x768 and the DPI is 96x96.  This seems to indicate a display size of 10.67" x 8.0".  If the display resolution is adjusted to 1920x1200, the DPI is 180x150.  This indicates that Xorg still is using a display size is 10.67" x 8.00", even though the display resolution is much higher. 

 

It seems to me that the Spice client should be able to pass the display size to spice-vdagent along with the display resolution.  Then, Xorg should allow the display size to be dynamically adjusted.

 

I have found a public Bugzilla report which seems to be similar to this issue.

Responses

Hi Aram, I'd suggest that you open a support case for this issue.

Hi David,

Thanks for the tip.  I have opened a support case for this issue.

I have found significant improvements about the system font size in RHEL 6.4:

- For Full screen mode, the EL6 virtual desktop seems to detect the client display size (instead of assuming 271 mm x 203 mm).

- The pixel density is set to 96 DPI at login time and the system font is sized accordingly.

However, the system font size is still too large when starting the console in Full screen mode from the User Portal.  Note that xdpyinfo indicates the correct display size and 96 DPI.

Also, the resizing of the virtual desktop in windowed mode to any resolution is nice.

Great. Thanks for following up on this post Aram. I'm glad to see you've found some improvements in 6.4

It seems that if I attach to an EL6 virtual desktop in Full screen mode, I can make the system font appear correctly sized if I kill Xorg once.  (This can be done with the Ctrl-Alt-Backspace key combination.)

This problem was fixed in RHBA-2014:0320-1.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.