CGM Support and FOP

Here should go questions about transforming XML with XSLT and FOP.
david-gopois69
Posts: 17

CGM Support and FOP

Mon Dec 18, 2017 11:32 am

Hi,
I have installed the CGM Image Support Add-on.
In Oxygen Author, The CGM images are displayed but when I try to print the XML document (With FOP), the CGM images are not displayed in the PDF output.
Is there a way to display the CGM images in the PDF output.
Kind regards,
David GOPOIS
Radu
Posts: 5859

Re: CGM Support and FOP

Mon Dec 18, 2017 11:46 am

Hi David,

Oxygen has no support to display CGM images in the PDF, you probably need some kind of convertor from CGM to some vectorial SVG format supported in a PDF.
We do have users using Oxygen with DITA and CGM images but I'm not sure how they handle the publishing, they probably had the publishing pipelines separately configured.
Maybe you could register on the DITA Users List and ask around, it's a large community of DITA users and they may be able to name specific tools they use to port the CGM to PDF:

https://groups.yahoo.com/neo/groups/dita-users/info

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
david-gopois69
Posts: 17

Re: CGM Support and FOP

Fri Aug 10, 2018 10:22 am

Hi Radu,

Does the Oxygen Version 20.1 has support to display CGM images in the PDF (with FOP)?

Kind regards.

David
Radu
Posts: 5859

Re: CGM Support and FOP

Fri Aug 10, 2018 10:46 am

Hi David,

There are two JAR libraries called "jcgm-image-0.1.1.jar" and "jcgm-core-0.2.0.jar" which can be downloaded from: "https://sourceforge.net/projects/jcgm/"
After this, edit your DITA OT transformation scenario and in the Advanced tab, click the Libraries button and add there references to the two JAR libraries.

I do not guarantee that this open source project renders CGM's 100% accurate so you should probably check every image in the PDF before delivering it to the customers.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
david-gopois69
Posts: 17

Re: CGM Support and FOP

Fri Aug 10, 2018 12:02 pm

Radu,

Thank you for your response.
I go to test.

Kind regards
David G

Return to “XSLT and FOP”

Who is online

Users browsing this forum: No registered users and 1 guest