Mario Di Giacomo
Mario Di Giacomo

Reputation: 21

Corrupted SVG images in PDF build

I am embedding external svg images in my PDF build process (which uses DITA-OT & Apache Ant) but some of the images are coming out corrupted. The images are MathMl equations generated by MathJax:

Good Equation opened in browser

Corrupted Equation in PDF

Note the distortion on the right paren.

Has anyone ever seen similar? Is there a fix?

I investigated the internal settings of Ant & RenderX, but neither had an impact.

EDIT:

I've added the clipped image in higher resolution to better display the issues:

Original example Original example

Another example (see the K) https://i.sstatic.net/YrPYE.png

EDIT #2

Here's the original SVG file:

I hope filetransfer.io is OK

Upvotes: 1

Views: 76

Answers (1)

Mario Di Giacomo
Mario Di Giacomo

Reputation: 21

I was able to determine, with the aid of RenderX themselves, that this is due to an internal bug in XEP. They have a patch that works with the latest version.

Upvotes: 1

Related Questions