[jira] [Created] (FOP-2550) Paths in svg images to urls gets duplicated

2015-12-11 Thread Olof Wolgast (JIRA)
Olof Wolgast created FOP-2550:
-

 Summary: Paths in svg images to urls gets duplicated
 Key: FOP-2550
 URL: https://issues.apache.org/jira/browse/FOP-2550
 Project: FOP
  Issue Type: Bug
Affects Versions: 2.0
 Environment: Windows 7
Reporter: Olof Wolgast
 Fix For: 1.1


Consider the following





It results in an error 

org.apache.batik.bridge.BridgeException: SwComponents\ShDet\gd_GearDet\SL\SwComp
onents\ShDet\gd_GearDet\SL\gd_GearDet_gd_GearDet_Schedule_Predicted_Gear_If_Acti
on_Subsystem1.svg (The system cannot find the path specified)

The directory part of the path is repeated!

If I replace the svg with a png it works fine. Both svg and png works in FOP-1.1



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FOP-1572) [PATCH] Internal PDF links from included SVG graphics

2015-08-12 Thread Olof Wolgast (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-1572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14693101#comment-14693101
 ] 

Olof Wolgast commented on FOP-1572:
---

Anything that can be done to have this feature implemented? It would be of 
great value to me. I'm willing to help but I'm not familiar with internal pdf 
design nor the source code for FOP so it would probably be very inefficient and 
yield with a bad solution if I tried to implement it. Perhaps I could help with 
testing?

> [PATCH] Internal PDF links from included SVG graphics
> -
>
> Key: FOP-1572
> URL: https://issues.apache.org/jira/browse/FOP-1572
> Project: FOP
>  Issue Type: Improvement
>  Components: renderer/pdf
>Affects Versions: trunk
> Environment: Operating System: All
> Platform: All
>Reporter: Stefan Bund
> Attachments: bugzilla45759-svg-linkback-counterproposal.patch, 
> fop-pdf-internal-link_r693020.patch.gz, svg-linking-back.fo, 
> svg_textexport__test_01.svg
>
>
> This patch adds support for internal PDF links to included SVG graphics. A 
> link with a target '#' will be resolved to point to the object with the 
> given target id in the PDF.
> Limitations/shortcomings at the moment are:
> * Implemented at the renderer stage not the area stage and such only supported
> for PDF output
> * Resolving the links could certainly be optimized
> * The active area will always be rectangular (object bounding box)
> * I have only a few days of experience with Apahche-FOP and such there will 
> probably some other shortcomings or missunderstandings.
> See the mailing list thread  'Re: Links in SVGs included into PDFs' started 
> at   Tue, 02 Sep 2008 11:02:48 +0200 on fop-users and continued later on 
> fop-dev.
> (Thread at gmane: http://thread.gmane.org/gmane.text.xml.fop.user/26778)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)