Sivakumar Shanmugasundaram wrote:
> Sreeram,
> 
> Did you run 'fc-cache -fv' as 'guest'? I see that you had run as 'root'.
> Also, it should not say '0 fonts' found. It should say at least '1 
> fonts' found (since you are using the -f force option)

That's right. Since fc-cache -f doesn't report any usable font in the
~/.fonts directory, I'd suspect the font file is corrupt.

I tried this on Solaris 10 (10/08) x86 and I'm unable to reproduce it.
Taking luxi*ttf from elsewhere and placing them to ~/.fonts, I'm getting
the following:
$ fc-cache -fv
[..]
/export/home/guest/.fonts: caching, new cache contents: 12 fonts, 0 dirs
[..]
$ LC_ALL=C ls -l ~/.fonts
total 1776
-r--r--r--   1 guest    other      74076 Sep  1 03:50 luximb.ttf
-r--r--r--   1 guest    other      69872 Sep  1 03:50 luximbi.ttf
-r--r--r--   1 guest    other      71784 Sep  1 03:50 luximr.ttf
-r--r--r--   1 guest    other      69496 Sep  1 03:50 luximri.ttf
-r--r--r--   1 guest    other      87160 Sep  1 03:50 luxirb.ttf
-r--r--r--   1 guest    other      85756 Sep  1 03:50 luxirbi.ttf
-r--r--r--   1 guest    other      88732 Sep  1 03:50 luxirr.ttf
-r--r--r--   1 guest    other      86396 Sep  1 03:50 luxirri.ttf
-r--r--r--   1 guest    other      69972 Sep  1 03:50 luxisb.ttf
-r--r--r--   1 guest    other      65568 Sep  1 03:50 luxisbi.ttf
-r--r--r--   1 guest    other      67548 Sep  1 03:50 luxisr.ttf
-r--r--r--   1 guest    other      66372 Sep  1 03:50 luxisri.ttf
bash-3.00$ fc-match "LuxiMono"
luximr.ttf: "Luxi Mono" "Regular"

I'm also able to select Luxi in gedit.

Please make sure that the font files are correct. Until fc-cache -fv
will report some usable fonts in the ~/.fonts directory, further steps
won't work. Check the file sizes above or try with some different font
file. 

Regards,
hnhn

> What does the command 'file luximr.ttf' say? It should say Truetype font 
> file.
> 
> -Siva
> 
> 


-- 
Jan Hnatek
jan.hnatek at sun.com

Reply via email to