Page 1 of 1

SVGZ image breaks PDF transformation with fix external refs

Posted: Wed Aug 20, 2014 12:03 pm
by Frank Ralf
Hi,

There have been some reported problems with fix.external.refs.com.oxygenxml. I've stumbled across another one: A SVGZ image (exported from Visio 2010) breaks our (customized) PDF transformation with the following error message:

Code: Select all


[fop] [ERROR] Anttask - Error rendering fo file: topic.fo <org.apache.fop.apps.FOPException  
I suspect it has something to do with our customization but wanted to report it anyway, just in case.

Frank

Re: SVGZ image breaks PDF transformation with fix external r

Posted: Wed Aug 20, 2014 3:18 pm
by Radu
Hi Frank,

You are right, we managed to reproduce and investigate the issue on our side.
There is a bug in the library the PDF processor uses to load the SVG, bug which is activated by our fix external refs parameter.
I added a bug to that specific library's bugs list:

https://issues.apache.org/jira/browse/XGC-92

I think I could try to create a patch JAR library for this. So if you want a fix please contact us directly to "support@oxygenxml.com" and we'll try to provide a patch.

Regards,
Radu

Re: SVGZ image breaks PDF transformation with fix external r

Posted: Mon Aug 25, 2014 10:28 am
by Frank Ralf
Hi Radu,

Thanks for your kind offer, but it's not that urgent. We just changed the file to a normal SVG one. There was no real need to use the SVGZ format in our case.

Kind regards,
Frank

Re: SVGZ image breaks PDF transformation with fix external r

Posted: Wed Apr 01, 2015 9:48 am
by Radu
Hi,

Just to update this thread, the issue reported above (SVGZ referenced in DITA content + the fix.external.refs.com.oxygenxml set) should work when publishing from inside Oxygen.

Regards,
Radu

Re: SVGZ image breaks PDF transformation with fix external r

Posted: Wed Apr 01, 2015 11:35 am
by Frank Ralf
Thanks for the update, Radu.

Frank