[Fontconfig] Configuration File Format

Sharon Lam sharon_lam_kiki at hotmail.com
Thu Jan 13 09:47:12 EST 2005


Thank you for your quick reply.
I'm trying to test that if I do not have write permission to a 
directory/disk, can I still use some fonts to display some texts when my 
application executes at run time.

By "point the cache file at a non-existant directory, which will (silently) 
fail to work"
do you mean edit the /etc/fonts/fonts.conf file and add the tag?
<cache>/etc/nonexistant</cache>


>From: Keith Packard <keithp at keithp.com>
>To: "Sharon Lam" <sharon_lam_kiki at hotmail.com>
>CC: fontconfig at lists.freedesktop.org, Keith Packard <keithp at keithp.com>
>Subject: Re: [Fontconfig] Configuration File Format Date: Wed, 12 Jan 2005 
>14:17:22 -0800
>
>
>Around 14 o'clock on Jan 12, "Sharon Lam" wrote:
>
> > Is there a way to turn off the default of the cache file so that
> > the .fonts.cache-1 file will not be created for the per-user cache?
>
>No there isn't.  You can, of course, point the cache file at a
>non-existant directory, which will (silently) fail to work.  This will
>have a similar effect, unless somehow the named direction is created at
>some point in the future.
>
>Note that if you have any font directories which are out of sync with
>their cache files, every application in the system will rescan those fonts
>to compute their own version of the font information.  As a correlary, if
>every directory is in sync, the .fonts.cache-1 file will be empty.
>
>Can you explain what problem you're trying to solve?  Perhaps there's a
>different solution than not having a per-user cache file.
>
>-keith
>
>
><< attach3 >>

_________________________________________________________________
Powerful Parental Controls Let your child discover the best the Internet has 
to offer.  
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines 
  Start enjoying all the benefits of MSN® Premium right now and get the 
first two months FREE*.




More information about the Fontconfig mailing list