xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J.Pietschmann" <j3322...@yahoo.de>
Subject Re: Images in FOP 0.92beta
Date Thu, 13 Jul 2006 21:21:09 GMT
Jeremias Maerki wrote:
> remember this thread on fop-users? I've just found out what's wrong.

Great!

> There's absolutely nothing wrong with the PDFRenderer or the PDF library
> concerning reference freeing. It does it so as soon as each image is
> written to the PDF which always happens immediately.

Hm. I'm pretty sure in 0.20.5 a PDF object held a pointer, and the
object was using some data while writing a dictionary structure into
the PDF stream after all the real content was written.
[...]
> I ended up in the image cache and in the Javadocs for WeakHashMap where
> I found that little detail that the weak reference is on the key, not
> the value.

Oops, my fault.

J.Pietschmann

Mime
View raw message