Around 8 o'clock on Nov 30, Brian Stell wrote:
> How could Xft update a system wide resource unless the
> files/dirs were unprotected (world writable) or the
> user was root?
It can't; that's why it falls back to a per-user cache file to cover font
files not listed in the per-directory caches. The library contains the
code to write the per-directory caches so that a privledged task can
create them easily.
> If a user tells an application to download a font what
> API would the app use to add it to the font cache?
There's no call necessary to update the cache for future applications;
those will automatically discover the new file. The existing Xft library
doesn't have a mechanism to update the cache in a running application.
> When new fonts become available how do apps get informed
> of this?
There is no current mechanism for this, and there are a couple of questions
to be answered before we can design one:
+ What basic signalling mechanism should be used
+ Who has permission to signal apps
Suggestions are welcome, as this would be a useful addition to the
architecture.
Keith Packard XFree86 Core Team SuSE, Inc.
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert