[Fontconfig] Specifying location of fontfiles in fonts.conf file.

Rupa Kamoji rkamoji at knightsindia.co.in
Tue Apr 4 06:16:04 PDT 2006



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:




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




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,



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/fontconfig/attachments/20060404/910a0fd3/attachment.html

More information about the Fontconfig mailing list