[AuckLUG] Adding fonts to Xandros

Steve Withers sbwithers at gmail.com
Tue Jun 24 08:43:53 NZST 2008


If the system is definitely single user, the ".fonts" hidden directory in
the home directory isn't optimal, but certainly acceptable.

To see the hidden directories you would enter: "ls -Al" in a terminal
window.

Alternatively, you can usually set GUI file manager to show them to you so
you can use them normally that way, too. On the eeePC, this may be the best
/ only way. I don't know.




On Tue, Jun 24, 2008 at 1:01 AM, Nevyn <nevynh at gmail.com> wrote:

> 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.
>
> _______________________________________________
> AuckLUG mailing list
> AuckLUG at linux.net.nz
> http://www.linux.net.nz/cgi-bin/mailman/listinfo/aucklug
>



-- 
Steve Withers
sbwithers at gmail.com
+64-21-0267-3530


More information about the AuckLUG mailing list