Re: Cairo Font Cache

Chris Wilson <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
On Wed, Oct 23, 2013 at 05:35:22PM +0200, Edward Zimmermann wrote:
> I realize it’s a case that Cairo does not like. Its side-effects are real.
> 
> I'm asking WHY?

It is kept in a holdover cache because a lot of applications do reuse
such fonts. And before that in your example, it is still being
referenced by the context anyway.

> Its NOT a live font. Its at most a dangling one.. I don't use it. Yes the pointer is still around in Cairo's
> tables but nobody will ask for it to do any drawing..  If I don't draw with a font why should it matter if
> its insides are wholesome or gutted? 

It is a live font until all references to it are dropped.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.