Niki Kovacs wrote:
> How do I (re)define the list of directories scanned by fc-cache -f?
man fc-cache, man fonts.conf (especially the latter).
on my slackintosh install, the relevant config file is /etc/fonts/fonts.conf.
> I have the following problem: I want to add Bitstream Vera Fonts, so
> Google Earth can find and use them.
one of the things the man pages above will tell you, is that fc-cache only
works for programs that make use of the fontconfig library. i don't know if
google earth does or not, but if not, you can fiddle about with fc-cache as
long as you like, you're not gonna get google earth to find your
fonts. instead, you probably need to use the old mkfontdir/mkfontscale
approach.
> When I simply copy over the fonts (Vera*.ttf files) in /usr/share/fonts/
> TTF/ and run fc-cache -f, fonts are added OK to the system. I can check
> that by opening Openoffice.org, and there they are. Except Google Earth
> doesn't find them! Must be looking for a bitstream-something directory
> in /usr/share/fonts.
my guess is that if google earth uses fontconfig, it doesn't care where the
fonts are. it just asks fontconfig.
> I checked this on a working CentOS 5.0 install,
> where the bitstream fonts are all in /usr/share/fonts/bitstream-vera/,
> and Google Earth starts without complaining and uses them correctly.
which, however, doesn't mean that they *must* be in that directory for
google earth to find them. perhaps the CentOS/RedHat people just preferred
them there.
HTH
--
Joost Kremers
joostkremers@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)