RE: RE: Specifying location of fontfiles in fonts.conf file.

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

 



Hello,

Thanks for your reply. I need to ship the fontconfig library, fonts.conf
file and font files with my application. I want to avoid the requirement
of modification to any of the files by the recipient of my application.
He sets an environment variable and uses this env variable to run my
application. So I want to mention the location of font files in
fonts.conf file using this env variable. So this way he will not have to
do anything but at that same time he will be able to use fontcong for
all text display in my application.

Please help me in using this env variable in fonts.conf file to specify
the location of font files.

Thanks and Regards,
Rupa.


-----Original Message-----
From: Patrick Lam [mailto:plam@xxxxxxx] 
Sent: Tuesday, April 11, 2006 7:20 PM
To: Rupa Kamoji
Cc: fontconfig@xxxxxxxxxxxxxxxxxxxxx
Subject: Re:  RE: Specifying location of fontfiles in
fonts.conf file.

Why don't you edit ~/.fonts.conf and add the full path?

pat

Rupa Kamoji wrote:
> 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@xxxxxxxxxxxxxxxxxxxxx
> 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.
> 
>  
> 
> 
> 
> 
>
------------------------------------------------------------------------
> 
> _______________________________________________
> Fontconfig mailing list
> Fontconfig@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/fontconfig


_______________________________________________
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