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

Rupa Kamoji rkamoji at knightsindia.co.in
Tue Apr 11 04:57:26 PDT 2006


Hello,

 

Can anybody please help me in solving this problem? It has become an
urgent issue for me....

 

Thanks and Regards,

Rupa.

  _____  

From: Rupa Kamoji 
Sent: Tuesday, April 04, 2006 6:46 PM
To: fontconfig at lists.freedesktop.org
Subject: Specifying location of fontfiles in fonts.conf file.

 

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.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/fontconfig/attachments/20060411/9103ea74/attachment.html


More information about the Fontconfig mailing list