Where fonts can go?

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

 



Does anyone know where the documentation
is that tells what directories fonts can
be stored for use with X?

When I put the fonts in:
"/usr/share/fonts/local/TrueType"
I get an error when I start up X.

If I put the fonts in:
"/usr/share/fonts/local"
I do not get an error when I start up X.

The error message is:

  No fonts found; this probably means that
  the fontconfig library is not correctly
  configured. You may need to edit the
  fonts.conf configuration file. More
  information about fontconfig can be found
  in the fontconfig(3) manual page and on
  http://fontconfig.org


The sequence I use to add fonts to my
system is:

FONTDIR="/usr/share/fonts/local"

mkdir -p ${FONTDIR}
cp /tmp/fonts/*.ttf ${FONTDIR}
ttmkfdir -d ${FONTDIR} -o ${FONTDIR}/fonts.scale
/usr/X11R6/bin/mkfontdir ${FONTDIR}
mkfontdir ${FONTDIR}
fc-cache ${FONTDIR}
chkfontpath -a ${FONTDIR}
                                                      
                         
service xfs reload


Thanks

Dan Barnes

__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com





[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux