Hi, I recently installed Xvnc on an SGI with IRIX 6.5.  it was unable 
to find the "fixed" font it needs at startup.  So I added the font 
directory with 'fixed' to the fp flag in the vncserver script and 
this made it a little happier.  However, it then complained that it 
couldn't find the 'cursor' font.  This was trickier, as it did not 
exist on my system.  I don't have root on the system, so I had to 
make a new font directory and placed 'cursor' in this directory and 
run mkfontdir on it.
Here's the weird part.  Even though I added this new directory, it 
didn't recognize the new font unless I put 'fixed' in the same 
directory then ran 'mkfontdir'.  After doing this, Xvnc is happy.
Why is this?  You may ask, if it works, what do I care, but now I am 
running an application that quits at startup looking for Helvetica:

Warning: Cannot convert string 
"-*-screen-medium-r-normal--13-*-*-*-*-*-iso8859-1" to type FontStruct
Warning: Cannot convert string 
"-*-helvetica-bold-o-normal-*-12-*-*-*-*-*-iso8859-1" to type 
FontStruct
X Error of failed request:  BadName (named color or font does not exist)
   Major opcode of failed request:  45 (X_OpenFont)

  and I'm wondering if I have to put every font in the world in the 
same font directory to make them accessible to Xvnc clients.  Why 
can't I have multiple font paths?  The font in question does seem to 
be in

$cmd .= " -fp 
/u1/rcook/lib/fonts/:/usr/lib/X11/fonts/100dpi/:/usr/lib/X11/fonts/75dpi/:/usr/lib/X11
/fonts/misc/:/usr/lib/X11/fonts/Type1/:/usr/lib/X11/fonts/Speedo/:/usr/lib/X11/fonts/CID/";

jackal 74% grep helvetica /usr/lib/X11/fonts/75*/*
...
/usr/lib/X11/fonts/75dpi/fonts.dir:helvBO12.pcf.Z 
-adobe-helvetica-bold-o-normal--12-120-75-75-p-69-iso8859-1
...

Comments are much appreciated.  I'm pretty sure I'm missing some 
important detail...

-- 
Richard Cook
Lawrence Livermore National Laboratory
Bldg-551W Rm-1300, #5, Mail Stop L-661
7000 East Avenue,  Livermore, CA, 94550, USA
phone (925) 423-9605 (work)    fax (925) 424-2477
(opinions expressed herein are mine and not those of LLNL)
---------------------------------------------------------------------
To unsubscribe, mail [EMAIL PROTECTED] with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------

Reply via email to