Click to See Complete Forum and Search --> : artwiz fonts


roamingnomad
12-13-2003, 05:44 PM
Let's start this off by saying that I've never installed a font in Linux before.

I went to the fluxbox docs and installed the Artwiz fonts for my user only, and rebooted. Then I ran xlsfonts and can't find them!

The output in xlsfonts was too big to attach, but I searched for "snap" in the text, and it wasn't there.

Also, my .xsession file reads like this:

xset +fp $HOME/.fonts

I followed the documentation exactly. My ~/.fonts/fonts.dir is:

14
glisp.pcf.gz glisp
gelly.pcf.gz gelly
edges.pcf.gz edges
glisp-bold.pcf.gz glisp-bold
nu.pcf.gz nu
drift.pcf.gz drift
mints-strong.pcf.gz mints-strong
cursor.pcf.gz cursor
cure.pcf.gz cure
aqui.pcf.gz aqui
lime.pcf.gz lime
snap.pcf.gz snap
anorexia.pcf.gz anorexia
mints-mild.pcf.gz mints-mild

and that matches the directory.

Why doesn't it work? I've searched without finding much of anything that seems pertinent.

Any and all help is appreciated. (I always type it like that... I might as well put it in my sig. :D)

MMYoung
12-13-2003, 09:02 PM
Don't know if you have seen this howto (http://opensource.cph.dk/xfree86/htdocs/4.3.0/fonts2.html) but it has some really good information about installing fonts globally. I know that you are wanting to do this for just a user, but the information could be helpful anyway.

Later,
MMYoung

roamingnomad
01-17-2004, 09:00 PM
Well, I went back and tried to install the fonts globally (using thee instructions from the Fluxbox website) but when I tried to run chkfontpath, I didn't have the program installed (I ran locate and whereis to search for it). When I run "emerge -p chkfontpath", I get:

# emerge -p chkfontpath

These are the packages that I would merge, in order:

Calculating dependencies
!!! all ebuilds that could satisfy "chkfontpath" have been masked.

!!! Error calculation dependencies. Please correct.

I tried this hack (http://forums.gentoo.org/viewtopic.php?t=33534) (the one shown in the second code example) but it didn't work, giving me the same results.

What can I do?!? Is there any way to install this?!?!?!

mdwatts
01-18-2004, 08:08 AM
Anything on the Gentoo site/forums on manually installing fonts?

My own notes for installing TrueType fonts.


mkdir /usr/X11R6/X11/fonts/TrueType

Copy the Windows TT fonts to /usr/X11R6/lib/X11/fonts/TrueType/ and then go to that directory

cd /usr/X11R6/lib/X11/fonts/TrueType/

/usr/sbin/ttmkfdir > fonts.scale

/usr/X11R6/bin/mkfontdir

Add the new font directory to /etc/X11/XF86Config or XF86Config-4 depending on which one your distro uses.

Restart X

X_console
01-18-2004, 03:01 PM
After you install the fonts, you need to edit a couple of files. First, add the font directory to /etc/X11/XF86Config-4:


FontPath "/location/of/font/directory/"


Then edit /etc/X11/XftConfig and add the font there as well:


dir "/location/of/font/directory/"


Then add it to /etc/X11/fs/config under the catalogue option. This is a comma delimited list, so make sure that if you add it as the last element, to add a comma in the previous element.

Finally, you need to edit /etc/fonts/local.conf and add an entry for your font directory:


<dir>/location/of/font/directory</dir>


That's it. Restart your X server and the fonts should show up now.