DO NOT REPLY [Bug 46980] New: [PATCH]internal named destinations

2009-04-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46980

   Summary: [PATCH]internal named destinations
   Product: Fop
   Version: all
  Platform: All
OS/Version: All
Status: NEW
  Keywords: PatchAvailable
  Severity: enhancement
  Priority: P2
 Component: pdf
AssignedTo: fop-dev@xmlgraphics.apache.org
ReportedBy: michaelrichardso...@gmail.com
CC: michaelrichardso...@gmail.com


Created an attachment (id=23450)
 -- (https://issues.apache.org/bugzilla/attachment.cgi?id=23450)
patch file

[PATCH]
I was experiencing an issue where svg graphics would enterpret links of the
format:
a xlink:href=#named_destination

as external web-links opening up a web browser.

I have now fixed this issue (given in the attached patch) so that links in the
above format now properly go to an internal named destinations.

The named destination must be specified with the tag:
fox:destination internal-destination=named_destination /

I hope this is helpfull.
-Michael

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


DO NOT REPLY [Bug 46048] Wrong images used (how to clear image cache?)

2009-04-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46048





--- Comment #29 from Jeremias Maerki jerem...@apache.org  2009-04-07 13:58:24 
PST ---
(In reply to comment #28)
Hi Alex,
attaching the image cache to the FOUserAgent doesn't make much sense IMO as you
cannot profit from cached images over multiple document runs. Usually, the
renderer itself already caches the image once per document. I don't think
there's a problem with cleanup, as you mention. We're using soft references: if
not enough memory is there, the images get automatically discarded. This is
well tested. Your suggestion about patterns to exclude certain URIs from
caching is an idea that could be investigated but I'm not sure it helps here. I
think it's better that we try this pre-resolution approach. I just have to find
some time and motivation to finish that.

Incidentally, the problem of the missing image that was replaced but then not
picked up by FOP has been solved a few days ago by:
http://svn.apache.org/viewvc?rev=759144view=rev
http://svn.apache.org/viewvc?rev=759150view=rev

Please check out XML Graphics Commons Trunk to see if your situation improves.
http://svn.apache.org/repos/asf/xmlgraphics/commons/trunk

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