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

Re: Fonts query



Renaud (Ron) OLGIATI composed on 2016-02-12 16:05 (UTC-0300):

> On Fri, 12 Feb 2016 21:46:55 +0300 Reco wrote:

>> > Given a collection of .ttf font files I keep in my ~/MyFonts/ directory.
>> > How do I instruct Wheezy to also look in that dir when I run
>> > 	root@ron:/home/ron # fc-cache -fv
>> > to reload the font cache ?

>> Debian-correct upgrade-safe way:
>> su -l <your_user> -c "ln -sf ~/MyFonts ~/.fonts"

~/.fonts has been deprecated to ~/.config/fonts ?or? ~/.share/fonts, IIRC.

>> Hackish you've-been-warned way:
>> Add "<dir>~/MyFonts</dir>" stanza into /etc/fonts/fonts.conf.
>> Second way is hackish *and* wrong because Keith Packard himself tells
>> you that from the comments of /etc/fonts/fonts.conf :)

> Ta, I'll risk the hackish way as I want those fonts to be available to all users.

Make symlink from ~/MyFonts to /usr/local/share/fonts

bind mount them if need be

alternatively, move the content of MyFonts to /usr/local/share/fonts. # what
I usually do
-- 
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/


Reply to: