Specifying location of fontfiles in fonts.conf file.

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

 



Hello,

 

When I install fontconfig on any Soalris or Linux machine, a directory called “fonts” is created in /usr/local. This directory has a file “fonts.conf”. In this file on line number 26, there is a listing of directories in which fontconfig will look for font files.

 

Now, I want to add a directory of mine in which I have installed all the fonts. For example as below:

 

<dir>$MYFONTFILES/fontfiles</dir>

 

Where $MYFONTFILES is an environment variable which has some directory path assigned to it.

 

Specifying the path using an environment variable is not working. Fontconfig is not able to get the value of this environment variable. If I specify a full path, it is able to get the fontfiles, for example as below..

 

<dir>/mydisk/usr/home/mysettings/fontfiles</dir>

 

Can you please help me in specifying the path using an environment variable? How will I use environment variable to specify the path? This is required for me so that I don’t want my customers to set this path in fonts.conf file.

 

Thanks and Regards,

Rupa.

 

_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux