[AuckLUG] Adding fonts to Xandros
Nevyn
nevynh at gmail.com
Tue Jun 24 01:01:56 NZST 2008
On Tue, Jun 24, 2008 at 12:33 AM, <kiirani at gmail.com> wrote:
>> ... I then looked for "fonts.cache-1" in the
>> "/usr/share/fonts/truetype" directory and couldn't find it. I tried
>> entering "whereis fonts.cache-1" and got
>>
>> fonts: /etc/fonts /usr/share/fonts
>>
>> I looked in those directories and couldn't find it.
>
> Hi, I've always installed my fonts to ~/.fonts, but have you tried running the
> 'mkfontdir' command in the /usr/share/fonts/truetype directory in order to
> generate the file, then following the guide as usual?
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