Hi.  This appears to have become relevant again with recent updates to
the X11 packages in Debian unstable.  I'm writing to suggest a
workaround for the benefit of other users who read this page.

Currently, xvncviewer defaults to using a font from the helvetica
family:

 > strings strings /usr/bin/xrealvncviewer | grep font
 *popup*font: -*-helvetica-bold-r-*-*-16-*-*-*-*-*-*-*

which may not be available on all systems.  In my case, I have what I
think is the standard collection of fonts:

 > dpkg -l | grep xfont
 ii  libxfont-dev                   1.0.0-4  X11 font rasterisation library 
(development 
 ii  libxfont1                      1.0.0-4  X11 font rasterisation library
 ii  xfonts-100dpi                  1.0.0-2  100 dpi fonts for X
 ii  xfonts-75dpi                   1.0.0-2  100 dpi fonts for X
 ii  xfonts-base                    1.0.0-3  standard fonts for X
 ii  xfonts-encodings               1.0.0-2  Encodings for X.Org fonts
 ii  xfonts-scalable                1.0.0-4  scalable fonts for X
 ii  xfonts-utils                   1.0.0-3  X Window System font utility 
programs

None of these provide the required 16 point helvetica font:

 > xvncviewer some.remote.machine:2
 VNC viewer version 3.3.7 - built Apr 27 2006 07:09:29
 Copyright (C) 2002-2003 RealVNC Ltd.
 Copyright (C) 1994-2000 AT&T Laboratories Cambridge.
 [...]
 Password: 
 [...]
 Warning: Cannot convert string
 "-*-helvetica-bold-r-*-*-16-*-*-*-*-*-*-*" to type FontStruct
 Warning: Unable to load any usable ISO8859 font
 Warning: Unable to load any usable ISO8859 font
 Error: Aborting: no font found

One way to sidestep the problem is to set an X11 resource which
overrides the default font:

 > echo "xvncviewer*popup*font: 9x15" >> myXResourceFile
 > xrdb -merge myXResourceFile
 > xvncviewer some.remote.machine:2
 > [...]

Thanks,
David


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to