[AuckLUG] Adding fonts to Xandros

don at inventory.co.nz don at inventory.co.nz
Tue Jun 24 21:59:19 NZST 2008


Thanks for the suggestions for adding fonts to Xandros. I tried 
Nevyn's suggestion (below) and it worked without any problems.

> Hi Don,
> 
> I've never been a fan of installing fonts in my home directory as it
> doesn't make the fonts avaliable to everyone. The way to do it system
> wide would be to:
> 
> Create a directory somewhere - usually somewhere in /usr/share/fonts
> Eg. /usr/share/fonts/windows or whatever.... you could just ignore the
> windows part and call it ttf or whatever.
> sudo mkdir /usr/share/fonts/ttf
> 
> Copy the fonts to the directory.
> sudo cp *.ttf /usr/share/fonts/ttf
> (Or move 'em)
> sudo mv *.ttf /usr/share/fonts/ttf
> 
> If you want to keep everything consistant (not really needed)
> sudo chmod 644 /usr/share/fonts/ttf/*
> 
> Update the font cache (this might be necessary - I've just tried it
> and everytime I added a new font, it was there for me immediately)
> sudo fc-cache -fv
> 
> >From what you've described above, you can just get rid of fonts.dir
> and enter in:
> cd /usr/share/fonts/truetype/windowsfonts
> sudo fc-cache -fv
> 
> And it should all be sweet as a sweet thing (mmm.... honey....)
> 
> Regards,
> Nevyn.




More information about the AuckLUG mailing list