[cairo] font lifetime
Keith Packard
keithp at keithp.com
Fri Jan 28 10:49:37 PST 2005
Around 12 o'clock on Jan 28, Jost Boekemeier wrote:
> The ps/pdf "file" could also be designed this way: Just give the file
> resource to cairo and let cairo call the "close" function. Of course
> this doesn't work anymore if a FileProxy exists which tries to "close"
> the font itself.
Output files mutated by the library and application are different from
resources read by the library like fonts; applications need to have
synchronous knowledge about when the file is 'done' and, in fact, must be
able to force completion through the API. Otherwise, you'll find it quite
a challenge to print the resulting output; you'd end up doing most of that
work in a destroy notify function which seems extremely awkward.
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050128/a9b0f79c/attachment.pgp
More information about the cairo
mailing list