[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: xfs-xtt configuration



On Wed, Mar 01, 2000 at 08:59:09AM -0500, Arcady Genkin wrote:
> Ethan Benson <erbenson@alaska.net> writes:
> 
> > there is mkttfdir in fttools package.  
> Thanks!
> 
> My new question... After I successfully generated the fonts.dir file,
> and added
>    FontPath    "unix/:7101"

as others have said change 7101 to 7100 and everything will be
everything again.

>    FontPath     "/usr/X11R6/lib/X11/fonts/TrueType/"

delete this, X don't speak truetype. (not till 4 anyway)

> to XF86Config, X no longer starts, and I'm seeing error messages that
> X cannot set default font path. 

see above

> Did I have to do some magic in /etc/X11/xfs/config? Here's what mine
> looks like.
> 
> ,----[ config ]
> | # /etc/X11/xfs/config
> | #
> | # X font server configuration file
> | 
> | # allow a maximum of 10 clients to connect to this font server
> | client-limit = 10
> | # when a font server reaches its limit, start up a new one
> | clone-self = on
> | # log errors using syslog
> | use-syslog = on
> | # turn off TCP port listening (Unix domain connections are still permitted)
> | no-listen = tcp
    ^^^^^^^^^^^^^^^
to everyone who sugested using tcp/inet instead of unix/: this line
will prevent that from working, this is for security purposes.

> | # paths to search for fonts
> | catalogue = /usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/cyrillic/,/usr/lib/X11/fonts/Speedo/,/usr/lib/X11/fonts/Type1/,/usr/lib/X11/fonts/100dpi/:unscaled,/usr/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/TrueType/

this one line nonsense is gross, hard to read, and hard to edit i
changed it to this and it worked fine:

# paths to search for fonts

catalogue = /usr/local/share/fonts/truetype/,
        /usr/share/fonts/truetype/,
        /usr/X11R6/lib/X11/fonts/TrueType/,
        /usr/X11R6/lib/X11/fonts/misc:unscaled,
        /usr/X11R6/lib/X11/fonts/cyrillic:unscaled,
        /usr/X11R6/lib/X11/fonts/100dpi:unscaled,
        /usr/X11R6/lib/X11/fonts/75dpi:unscaled,
        /usr/X11R6/lib/X11/fonts/Speedo,
        /usr/X11R6/lib/X11/fonts/Type1,
        /usr/X11R6/lib/X11/fonts/misc,
        /usr/X11R6/lib/X11/fonts/cyrillic,
        /usr/X11R6/lib/X11/fonts/100dpi,
        /usr/X11R6/lib/X11/fonts/75dpi

much better no?

> | # in decipoints
> | default-point-size = 120
> | # x1,y1,x2,y2,...
> | default-resolutions = 75,75,100,100
> | deferglyphs = all
> | 
> | # font cache control, specified in KB
> | cache-hi-mark = 2048
> | cache-low-mark = 1433
> `----
> 
> Thanks for any input!

I did not change anything else in the xfs-xtt config file (yes its
used) and everything works fine it seems, just make sure to deDOSify
the filenames if you raid a BloatNT box.

-- 
Ethan Benson


Reply to: