Keith Packard writes:

 > It's easy enough to fix, but I'm not quite sure which way to head -- I can 
 > actually make it so that all fonts are automatically closed when the 
 > display is closed (in which case, the list of available fonts is 
 > per-display).

I don't think this will do it for me. My current program draws two
windows, one to each display, so I will not have closed the first
display by the time I am trying to open the font on the second
display.

 > Or, I can make it so the fonts hang around and must be 
 > destroyed by the user (in which case, the list is global with a display 
 > tag on each font).

This sounds better. No API change though, I assume?

Oh, and while we are talking about reworking some of Xft:

I would like to be able to write a function that accepts a variable
argument list to wrap XftFontOpen, but I can't do that since
XftFontOpen wants a variable argument list itself, (don't you hate
variable arguments in C?). Anyway, if you could make a new
XftFontOpenVa or XftFontVaOpen or whatever, I would appreciate it.

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

Reply via email to