Around 20 o'clock on Sep 6, Brian Stell wrote:

>  An app acquires a font (eg: automatic font download to the 
>  browser) and wants to add it to the general font pool (which
>  often requires root level privilege for write). The font
>  catalogs may also need to be updated which again may require
>  root privilege.

Well, the app better have some way of getting root access.  I'm leary of 
writing any system that lets users install arbitrary files into a shared 
area where root might touch them.  Font worms anyone?

>  Send a message (basically the file name) to a listener process 
>  which then handles installing the font and informing interested 
>  clients that a new font is available.

I like this idea though; applications could automatically update their 
list of fonts.  Right now, only new applications learn about new fonts.

> One way to do the messaging would be via property messages on the 
> root window.

As applications may be displayed on many X servers, I think we should 
instead focus on notifying all applications using the affected 
configuration file.  This also permits non-interactive applications to 
receive notification to update any internal state.

Can anyone think of a mechanism we could use that wouldn't require a 
separate notifier daemon?  Is there something clever we could do with 
named pipes?

[EMAIL PROTECTED]        XFree86 Core Team              SuSE, Inc.


_______________________________________________
Render mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/render

Reply via email to