Xvnc/Emacs Font Size issue

Paul Michael Reilly paul.m.reilly at verizon.com
Tue Mar 14 12:39:38 UTC 2006


I've run into a problem on FC5T3 that does not occur on FC4.  It first 
appeared for me using Emacs.  When I execute Emacs on the :0 display (a 
1600x1200 monitor/screen), all is well.  When I execute Emacs on :1, 
configured in /etc/sysconfig/vncserver as:

VNCSERVERS="1:pmr"
VNCSERVERARGS[1]="-geometry 1600x1200 -depth 24 -nohttpd -localhost"

the font sizes are way out of whack.  The Menu titles are twice the size 
of those on :0 and the 12 point Courier font is HUGE.  But of the tools 
I run (Thunderbird, Firefox, xterm, Eclipse and a few others) only Emacs 
exhibits this behavior.  And only on the Xvnc server.

Any insight or suggestions towards resolving this issue are much 
appreciated.  The xdpyinfo output for the two displays follow.

-pmr


[pmr at pareve Elisp]$ xdpyinfo -d :1.0
name of display:    :1.0
version number:    11.0
vendor string:    The X.Org Foundation
vendor release number:    70000000
X.Org version: 7.0.0
maximum request size:  16777212 bytes
motion buffer size:  256
bitmap unit, bit order, padding:    32, LSBFirst, 32
image byte order:    LSBFirst
number of supported pixmap formats:    2
supported pixmap formats:
     depth 1, bits_per_pixel 1, scanline_pad 32
     depth 24, bits_per_pixel 32, scanline_pad 32
keycode range:    minimum 8, maximum 255
focus:  window 0x1600025, revert to PointerRoot
number of extensions:    21
     BIG-REQUESTS
     DAMAGE
     DEC-XTRAP
     DOUBLE-BUFFER
     Extended-Visual-Information
     MIT-SCREEN-SAVER
     MIT-SHM
     MIT-SUNDRY-NONSTANDARD
     RECORD
     SECURITY
     SHAPE
     SYNC
     TOG-CUP
     VNC-EXTENSION
     X-Resource
     XC-APPGROUP
     XC-MISC
     XFIXES
     XFree86-Bigfont
     XTEST
     XVideo
default screen number:    0
number of screens:    1

screen #0:
   print screen:    no
   dimensions:    1600x1200 pixels (406x305 millimeters)
   resolution:    100x100 dots per inch
   depths (2):    1, 24
   root window id:    0x25
   depth of root window:    24 planes
   number of colormaps:    minimum 1, maximum 1
   default colormap:    0x20
   default number of colormap cells:    256
   preallocated pixels:    black 0, white 16777215
   options:    backing-store YES, save-unders YES
   largest cursor:    1600x1200
   current input event mask:    0x7a002c
     ButtonPressMask          ButtonReleaseMask        LeaveWindowMask 

     StructureNotifyMask      SubstructureNotifyMask 
SubstructureRedirectMask
     FocusChangeMask          PropertyChangeMask
   number of visuals:    2
   default visual id:  0x21
   visual:
     visual id:    0x21
     class:    TrueColor
     depth:    24 planes
     available colormap entries:    256 per subfield
     red, green, blue masks:    0xff, 0xff00, 0xff0000
     significant bits in color specification:    8 bits
   visual:
     visual id:    0x22
     class:    DirectColor
     depth:    24 planes
     available colormap entries:    256 per subfield
     red, green, blue masks:    0xff, 0xff00, 0xff0000
     significant bits in color specification:    8 bits

[pmr at pareve Elisp]$ xdpyinfo -d :0.0
name of display:    :0.0
version number:    11.0
vendor string:    The X.Org Foundation
vendor release number:    70000000
X.Org version: 7.0.0
maximum request size:  16777212 bytes
motion buffer size:  256
bitmap unit, bit order, padding:    32, LSBFirst, 32
image byte order:    LSBFirst
number of supported pixmap formats:    7
supported pixmap formats:
     depth 1, bits_per_pixel 1, scanline_pad 32
     depth 4, bits_per_pixel 8, scanline_pad 32
     depth 8, bits_per_pixel 8, scanline_pad 32
     depth 15, bits_per_pixel 16, scanline_pad 32
     depth 16, bits_per_pixel 16, scanline_pad 32
     depth 24, bits_per_pixel 32, scanline_pad 32
     depth 32, bits_per_pixel 32, scanline_pad 32
keycode range:    minimum 8, maximum 255
focus:  window 0x1601e70, revert to PointerRoot
number of extensions:    30
     BIG-REQUESTS
     DAMAGE
     DOUBLE-BUFFER
     DPMS
     Extended-Visual-Information
     GLX
     LBX
     MIT-SCREEN-SAVER
     MIT-SHM
     MIT-SUNDRY-NONSTANDARD
     RANDR
     RECORD
     RENDER
     SECURITY
     SGI-GLX
     SHAPE
     SYNC
     TOG-CUP
     X-Resource
     XC-APPGROUP
     XC-MISC
     XFIXES
     XFree86-Bigfont
     XFree86-DGA
     XFree86-Misc
     XFree86-VidModeExtension
     XInputExtension
     XKEYBOARD
     XTEST
     XVideo
default screen number:    0
number of screens:    1

screen #0:
   print screen:    no
   dimensions:    1600x1200 pixels (402x302 millimeters)
   resolution:    101x101 dots per inch
   depths (7):    24, 1, 4, 8, 15, 16, 32
   root window id:    0x63
   depth of root window:    24 planes
   number of colormaps:    minimum 1, maximum 1
   default colormap:    0x20
   default number of colormap cells:    256
   preallocated pixels:    black 0, white 16777215
   options:    backing-store NO, save-unders NO
   largest cursor:    64x64
   current input event mask:    0x7a002c
     ButtonPressMask          ButtonReleaseMask        LeaveWindowMask 

     StructureNotifyMask      SubstructureNotifyMask 
SubstructureRedirectMask
     FocusChangeMask          PropertyChangeMask
   number of visuals:    8
   default visual id:  0x23
   visual:
     visual id:    0x23
     class:    TrueColor
     depth:    24 planes
     available colormap entries:    256 per subfield
     red, green, blue masks:    0xff0000, 0xff00, 0xff
     significant bits in color specification:    8 bits
   visual:
     visual id:    0x24
     class:    TrueColor
     depth:    24 planes
     available colormap entries:    256 per subfield
     red, green, blue masks:    0xff0000, 0xff00, 0xff
     significant bits in color specification:    8 bits
   visual:
     visual id:    0x25
     class:    TrueColor
     depth:    24 planes
     available colormap entries:    256 per subfield
     red, green, blue masks:    0xff0000, 0xff00, 0xff
     significant bits in color specification:    8 bits
   visual:
     visual id:    0x26
     class:    TrueColor
     depth:    24 planes
     available colormap entries:    256 per subfield
     red, green, blue masks:    0xff0000, 0xff00, 0xff
     significant bits in color specification:    8 bits
   visual:
     visual id:    0x27
     class:    DirectColor
     depth:    24 planes
     available colormap entries:    256 per subfield
     red, green, blue masks:    0xff0000, 0xff00, 0xff
     significant bits in color specification:    8 bits
   visual:
     visual id:    0x28
     class:    DirectColor
     depth:    24 planes
     available colormap entries:    256 per subfield
     red, green, blue masks:    0xff0000, 0xff00, 0xff
     significant bits in color specification:    8 bits
   visual:
     visual id:    0x29
     class:    DirectColor
     depth:    24 planes
     available colormap entries:    256 per subfield
     red, green, blue masks:    0xff0000, 0xff00, 0xff
     significant bits in color specification:    8 bits
   visual:
     visual id:    0x2a
     class:    DirectColor
     depth:    24 planes
     available colormap entries:    256 per subfield
     red, green, blue masks:    0xff0000, 0xff00, 0xff
     significant bits in color specification:    8 bits




More information about the fedora-test-list mailing list