[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: defoma and registering ttf fonts system wide



Hello


Excerpt from staticsafe:


-- <snip> --
>>> I used to use defoma to register ttf fonts. Now that it's gone,
>>> how to register ttf fonts system wide now?
>>
>> Drop the fonts in one of the paths defined in
>> /etc/fonts/fonts.conf. Currently this is:
>>
>> <dir>/usr/share/fonts</dir> <dir>/usr/X11R6/lib/X11/fonts</dir>
>> <dir>/usr/local/share/fonts</dir> <dir>~/.fonts</dir>
>>
>>
>> For locally installed, system wide fonts, /usr/local/share/fonts
>> looks like the most suitable place.
>>
> Then `fc-cache -fv` to regenerate the font information cache files.

All of the said is right. I will make just a little adddition. IMO it is better
to use 'fc-cache -rv' instead. As '-r' will also remove no longer available
fonts from the cache which '-f' does not.

-- 
Regards,
Thilo

4096R/0xC70B1A8F
721B 1BA0 095C 1ABA 3FC6  7C18 89A4 A2A0 C70B 1A8F



Reply to: