Newbie Setting up Fonts Server in X Windows

1998-04-09 Thread Gnoh, Chee Seng
Hi, 

   I recently installed Debian 1.3 and X Window on my machine. I tried
running AfterStep but it complained about some fonts (Adobe-Helvetica
...) not found. I encountered the same font problem with other apps as
well. I used xinit to start.
   Please correct me if I am wrong, but I understand that I need to
setup xfs in order for these apps to be able to get hold of their fonts.
I have installed xserver_s3, xbasefnt, xbase and couple of other font
packages 100dpi, cyrillic and scalable. 

BIG QUESTION: How do I configure xfs? 

Thanks in advance. I am impressed with the speedy and accurate responses
I get to my questions. You guys have been really helpful.


Best Regards,

Chee Seng
([EMAIL PROTECTED])


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


Re: Newbie Setting up Fonts Server in X Windows

1998-04-09 Thread Daniel Martin at cush
Gnoh, Chee Seng [EMAIL PROTECTED] writes:

 Hi, 
 
I recently installed Debian 1.3 and X Window on my machine. I tried
 running AfterStep but it complained about some fonts (Adobe-Helvetica
 ...) not found. I encountered the same font problem with other apps as
 well. I used xinit to start.
Please correct me if I am wrong, but I understand that I need to
 setup xfs in order for these apps to be able to get hold of their fonts.
 I have installed xserver_s3, xbasefnt, xbase and couple of other font
 packages 100dpi, cyrillic and scalable. 

No; you don't need to configure xfs, and in fact I've found it much
easier to do without it.  All you need to do is add some directories
to the X server's font path.
There are two ways to do this, at least; I'm only certain about the
second method.
Method 1) re-run XF86Setup; this requires the xserver-vga16 to be
installed.

Method 2) As root, edit the file /etc/X11/XF86Config.  Add new
FontPath lines to the section Files; for example, my
/etc/X11/XF86Config has the following:
Section Files
   RgbPath/usr/X11R6/lib/X11/rgb
   FontPath   /usr/X11R6/lib/X11/fonts/misc:unscaled
   FontPath   /usr/X11R6/lib/X11/fonts/75dpi:unscaled
   FontPath   /usr/X11R6/lib/X11/fonts/100dpi:unscaled
   FontPath   /usr/X11R6/lib/X11/fonts/Type1
   FontPath   /usr/X11R6/lib/X11/fonts/Speedo
   FontPath   /usr/X11R6/lib/X11/fonts/misc
   FontPath   /usr/X11R6/lib/X11/fonts/75dpi
   FontPath   /usr/X11R6/lib/X11/fonts/100dpi
   FontPath   /usr/X11R6/lib/X11/fonts/chinese:unscaled
   FontPath   /usr/X11R6/lib/X11/fonts/100dpi-il2
   FontPath   /usr/X11R6/lib/X11/fonts/75dpi-il2
   FontPath   /usr/X11R6/lib/X11/fonts/ETL
   FontPath   /usr/X11R6/lib/X11/fonts/PEX
   FontPath   /usr/X11R6/lib/X11/fonts/cyrillic
   FontPath   /usr/X11R6/lib/X11/fonts/maru
   FontPath   /usr/X11R6/lib/X11/fonts/misc-il2
EndSection

This is much more than most people will need; I happen to have lots of 
fonts installed.  To find out which lines you should add, do:
ls /usr/X11R6/lib/X11/fonts


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