Keith wrote:
>> ../fc-cache/fc-cache: failed
>> *** Error code 1

>Hmm.  fc-cache "can't" fail like that without printing an error message 
>to stderr; either you didn't capture the message, or fc-cache is getting 
>the stack messed up somehow and having an internal variable get trashed.

Strange, I'm pretty sure I copied everything on the screen. But that must have
been it.

>I'm (obviously) hoping for the former.  Try running it manually and see if 
>it doesn't produce some error message.  For instance, does the directory 
>/usr/share/fonts exist?  If not, it should print:
>
>    Can't save cache in "/usr/share/fonts"
>
>    I can fix that problem; let me know if that's the case.

It is. I now see this:

lizzy:/usr/share/fonts# fc-cache -v           
fc-cache: "/usr/X11R6/lib/X11/fonts": skipping, 0 fonts, 14 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/100dpi": skipping, 0 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/75dpi": skipping, 0 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/CID": skipping, 0 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/PEX": skipping, 0 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/Speedo": skipping, 0 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/Type1": skipping, 29 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/cyrillic": skipping, 0 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/encodings": skipping, 0 fonts, 1 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/encodings/large": skipping, 0 fonts, 0
dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/latin2": skipping, 0 fonts, 2 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/latin2/100dpi": skipping, 0 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/latin2/75dpi": skipping, 0 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/local": skipping, 0 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/misc": skipping, 0 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/util": skipping, 0 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/TrueType": skipping, 67 fonts, 0 dirs
fc-cache: "/usr/X11R6/lib/X11/fonts/TTF": skipping, 12 fonts, 0 dirs
fc-cache: "/usr/share/fonts": skipping, 0 fonts, 0 dirs
fc-cache: succeeded
lizzy:/usr/share/fonts# ls -l
total 0
-rw-r--r--  1 root  wheel  0 Jun  5 17:42 fonts.cache

lizzy:/usr/X11R6/lib/X11/fonts# ls -l
total 157
drwxr-xr-x  2 root  wheel  65536 Jun  2 17:32 100dpi
drwxr-xr-x  2 root  wheel  65536 Jun  2 17:32 75dpi
drwxr-xr-x  2 root  wheel    512 Jun  2 17:32 CID
drwxr-xr-x  2 root  wheel    512 Jun  2 17:32 PEX
drwxr-xr-x  2 root  wheel    512 Jun  2 17:32 Speedo
drwxr-xr-x  2 root  wheel    512 Jun  2 17:32 TTF
drwxr-xr-x  2 root  wheel   2048 Jun  2 17:32 TrueType
drwxr-xr-x  2 root  wheel   1536 Jun  2 17:32 Type1
-rw-r--r--  1 root  wheel   2166 Nov  1  2001 XftConfig
drwxr-xr-x  2 root  wheel   2048 Jun  2 17:32 cyrillic
drwxr-xr-x  3 root  wheel   1024 Jun  2 17:32 encodings
-rw-r--r--  1 root  wheel    243 Jun  5 17:49 fonts.cache
drwxr-xr-x  4 root  wheel    512 Jun  2 17:32 latin2
drwxr-xr-x  2 root  wheel    512 Jun  2 17:32 local
drwxr-xr-x  2 root  wheel  10752 Jun  2 17:32 misc
drwxr-xr-x  2 root  wheel    512 Jun  2 17:32 util
lizzy:/usr/X11R6/lib/X11/fonts# cat fonts.cache 
"100dpi" 0 ".dir"
"75dpi" 0 ".dir"
"CID" 0 ".dir"
"PEX" 0 ".dir"
"Speedo" 0 ".dir"
"Type1" 0 ".dir"
"cyrillic" 0 ".dir"
"encodings" 0 ".dir"
"latin2" 0 ".dir"
"local" 0 ".dir"
"misc" 0 ".dir"
"util" 0 ".dir"
"TrueType" 0 ".dir"
"TTF" 0 ".dir"

-- 
Jos Backus                 _/  _/_/_/        Santa Clara, CA
                          _/  _/   _/
                         _/  _/_/_/             
                    _/  _/  _/    _/
[EMAIL PROTECTED]     _/_/   _/_/_/            use Std::Disclaimer;
_______________________________________________
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts

Reply via email to