https://issues.apache.org/bugzilla/show_bug.cgi?id=45759





--- Comment #4 from Jeremias Maerki <[EMAIL PROTECTED]>  2008-09-15 10:23:36 
PST ---
Created an attachment (id=22576)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=22576)
Counter-proposal (incomplete)

As Adrian noticed, PDFGraphics2D must not have a dependency on PDFRenderer
since this class is also used in the PDFTranscoder (for SVG to PDF rendering)
where there is no PDFRenderer instance. That's indirectly what I meant by
subclassing the PDFAElementBridge and PDFANode. I've create a counter-proposal
for this which moves the link generation into the PDFSVGHandler which is used
by the PDFRenderer to create in-page SVGs. Parts of the patch are still from
your original patch. What's still missing here is a clean way to track the
locations of all FOs with an ID as discussed already. This should really be
possible without creating a destination object for each such ID. I hope this
helps to bring this further.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to