Click to See Complete Forum and Search --> : XFree 4.03 and XFS-XTT


Unruly
05-29-2001, 05:09 PM
I'm having a strange problem with XFS-XTT ... for gnome, it serves up my TTF's no problem, but in enlightenment, and KDE2, they don't get any of the new fonts, and it's bugging me... :\ what is going on here? I thought I had everything setup right...

EyesWideOpen
05-31-2001, 09:56 AM
I had a problem with xfs a while back but I forget how I resolved it. You may want to try searching for xfs (if the forum search is working that is :rolleyes: ).

n0thing
05-31-2001, 04:33 PM
You don't need to use a font server for Xfree 4.0.x. It supports truetype fonts using the
"freetype" module. Stick it in your XF86Config (of XF86Config-4) like so:

Section "Module"
Load "type1"
> Load "freetype"
Load "GLcore"
Load "glx"
Load "dri"
Load "drm"
Load "extmod"
EndSection


Do a search on freshmeat.net for ttmkfdir. Then run "ttmkfdir > fonts.dir inside the ttfonts directory. Add "/path/to/ttfonts" to your XF86Config (of XF86Config-4) and you should be all set.

debiandude
05-31-2001, 05:32 PM
You don't need to, but its great for networked systems. For example I have a respoitory of a lot (huge bunch) of fonts one computer. Since xfs-xtt is a dameon I only have it on that computer and have my other computers connect to the port to get their fonts. Pretty neat. Now to see you fonts with other stuff make sure you have a line in your XF86Config file that says to look to the local font server first.

czgu
06-01-2001, 10:30 AM
Setting up truetype fonts in RedHat 7.1

1. mkdir /usr/share/fonts/default/TrueType
2. cp your-windows-fonts-dir/*.ttf /usr/share/fonts/default/TrueType
(your-windows-font-dir in my PC is /mnt/win98_c/windows/fonts. Replace this with yours)
3.cd /usr/share/fonts/default/TrueType
ttmkfdir > fonts.dir
cp fonts.dir fonts.scale
4. edit /etc/X11/XF86Config-4. In

Section "Files"
# FontPath "unix/:7100"
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
FontPath "/usr/share/fonts/default/Type1"
FontPath "/usr/share/fonts/default/TrueType" # ADD THIS FONT PATH
EndSection

also add xtt into following:

Section "Module"
Load "GLcore"
Load "dbe"
# Load "dri"
Load "extmod"
Load "glx"
Load "pex5"
Load "record"
Load "xie"
Load "v4l"
# Load "freetype" # TURN THIS OFF
Load "xtt" # ADD xtt
Load "type1"
Load "speedo"
EndSection

5. turn off xfs by running /etc/rc.d/init.d/xfs stop
Run /usr/sbin/setup to disable xfs in startup
(turn off xfs may cause xmms display problem and realplayer problem)

czgu
06-01-2001, 10:30 AM
Setting up truetype fonts in RedHat 7.1

1. mkdir /usr/share/fonts/default/TrueType
2. cp your-windows-fonts-dir/*.ttf /usr/share/fonts/default/TrueType
(your-windows-font-dir in my PC is /mnt/win98_c/windows/fonts. Replace this with yours)
3.cd /usr/share/fonts/default/TrueType
ttmkfdir > fonts.dir
cp fonts.dir fonts.scale
4. edit /etc/X11/XF86Config-4. In

Section "Files"
# FontPath "unix/:7100"
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
FontPath "/usr/share/fonts/default/Type1"
FontPath "/usr/share/fonts/default/TrueType" # ADD THIS FONT PATH
EndSection

also add xtt into following:

Section "Module"
Load "GLcore"
Load "dbe"
# Load "dri"
Load "extmod"
Load "glx"
Load "pex5"
Load "record"
Load "xie"
Load "v4l"
# Load "freetype" # TURN THIS OFF
Load "xtt" # ADD xtt
Load "type1"
Load "speedo"
EndSection

5. turn off xfs by running /etc/rc.d/init.d/xfs stop
Run /usr/sbin/setup to disable xfs in startup
(turn off xfs may cause xmms display problem and realplayer problem)