Re: FOP 1.0 -- some CGM graphics are not printing
Hi, This question is definitively off topic in FOP-users list. You should ask such question to jcgm team. Perhaps you can open a ticket at [1]. [1] https://sourceforge.net/tracker/?group_id=283070&atid=1200470 2012/9/11 froglander : > I have looked through the features list on the jcgm website here: > http://jcgm.sourceforge.net/features.html > > but I do not understand if there is a way to take a random CGM image and be > able to tell if it uses any unsupported features. Is there some way to tell > this information by just looking at the file? > > http://apache-fop.1065347.n5.nabble.com/file/n36828/-916488396883076.cgm > -916488396883076.cgm > > For example, this file can be viewed just fine in VizEx reader, but when I > render the pdf using Apache FOP 1.0 (and jcgm) the holes in the middle of > the gears are gray instead of open and there are a number of warnings > displayed at the cmd prompt like: > > WARNING: -916488396883076 DELIMITER_ELEMENTS(0) BEGIN_FIGURE(8) > UNIMPLEMENTE > D unsupported > Sep 11, 2012 10:05:11 AM net.sf.jcgm.image.loader.cgm.ImageLoaderCGM > loadImage > WARNING: -916488396883076 CONTROL_ELEMENTS(3) NEW_REGION(10) > UNIMPLEMENTED u > nsupported > Sep 11, 2012 10:05:11 AM net.sf.jcgm.image.loader.cgm.ImageLoaderCGM > loadImage > WARNING: -916488396883076 DELIMITER_ELEMENTS(0) END_FIGURE(9) > UNIMPLEMENTED > unsupported > Sep 11, 2012 10:05:11 AM net.sf.jcgm.image.loader.cgm.ImageLoaderCGM > loadImage > WARNING: -916488396883076 DELIMITER_ELEMENTS(0) BEGIN_FIGURE(8) > UNIMPLEMENTE > D unsupported > > > These are listed as being unsported on the jcgm site, but is there any way > to tell just by looking at the file? > > http://jcgm.sourceforge.net/features.html -- pascal - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: FOP 1.0 -- some CGM graphics are not printing
I have looked through the features list on the jcgm website here: http://jcgm.sourceforge.net/features.html but I do not understand if there is a way to take a random CGM image and be able to tell if it uses any unsupported features. Is there some way to tell this information by just looking at the file? http://apache-fop.1065347.n5.nabble.com/file/n36828/-916488396883076.cgm -916488396883076.cgm For example, this file can be viewed just fine in VizEx reader, but when I render the pdf using Apache FOP 1.0 (and jcgm) the holes in the middle of the gears are gray instead of open and there are a number of warnings displayed at the cmd prompt like: WARNING: -916488396883076 DELIMITER_ELEMENTS(0) BEGIN_FIGURE(8) UNIMPLEMENTE D unsupported Sep 11, 2012 10:05:11 AM net.sf.jcgm.image.loader.cgm.ImageLoaderCGM loadImage WARNING: -916488396883076 CONTROL_ELEMENTS(3) NEW_REGION(10) UNIMPLEMENTED u nsupported Sep 11, 2012 10:05:11 AM net.sf.jcgm.image.loader.cgm.ImageLoaderCGM loadImage WARNING: -916488396883076 DELIMITER_ELEMENTS(0) END_FIGURE(9) UNIMPLEMENTED unsupported Sep 11, 2012 10:05:11 AM net.sf.jcgm.image.loader.cgm.ImageLoaderCGM loadImage WARNING: -916488396883076 DELIMITER_ELEMENTS(0) BEGIN_FIGURE(8) UNIMPLEMENTE D unsupported These are listed as being unsported on the jcgm site, but is there any way to tell just by looking at the file? http://jcgm.sourceforge.net/features.html -- View this message in context: http://apache-fop.1065347.n5.nabble.com/FOP-1-0-some-CGM-graphics-are-not-printing-tp36191p36828.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: FOP 1.0 -- some CGM graphics are not printing
Hi, Hmm, IIUC, JCGM is an imageIO plugin that allows to use CGM with FOP. So, you are probably facing to JCGM limitations. See [1]. [1] http://jcgm.sourceforge.net/features.html 2012/7/2 froglander : > Thank you for your reply! > > This is something that someone else set up and now I get to figure out how > it works because I am running into that problem of some cgm graphics not > printing. > > I've found that we use > http://jcgm.sourceforge.net/index.html > and > http://xmlgraphics.apache.org/commons/ > > in relation to printing graphics. But I don't quite yet completely > understand how they work (or work together). > > Any advice is greatly appreciated, thank you! -- pascal - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: FOP 1.0 -- some CGM graphics are not printing
Thank you for your reply! This is something that someone else set up and now I get to figure out how it works because I am running into that problem of some cgm graphics not printing. I've found that we use http://jcgm.sourceforge.net/index.html and http://xmlgraphics.apache.org/commons/ in relation to printing graphics. But I don't quite yet completely understand how they work (or work together). Any advice is greatly appreciated, thank you! -- View this message in context: http://apache-fop.1065347.n5.nabble.com/FOP-1-0-some-CGM-graphics-are-not-printing-tp36191p36214.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: FOP 1.0 -- some CGM graphics are not printing
I meant to write "FOP does NOT natively support CGM" On 6/30/12 7:45 AM, Luis Bernardo wrote: I am surprised that the images show up at all. Since, AFAIK, FOP does natively support CGM you must be using some Image IO library (see http://xmlgraphics.apache.org/fop/1.0/graphics.html#imageio). So the restrictions will come from that library. What are you using? On 6/29/12 9:11 PM, froglander wrote: We have been using Apache FOP to create pdf files from xml generated from our database, customized xsl stylesheets, and they often include graphics. These graphics will usually be jpg, tif, or cgm. Some, but not all CGM files will show up in the print. We have a workaround of converting them to .tif to be able to print them, but would like to not have to do that conversion. What restrictions are there regarding printing cgm graphic files? Please let me know if more info is needed, thanks! -- View this message in context: http://apache-fop.1065347.n5.nabble.com/FOP-1-0-some-CGM-graphics-are-not-printing-tp36191.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: FOP 1.0 -- some CGM graphics are not printing
I am surprised that the images show up at all. Since, AFAIK, FOP does natively support CGM you must be using some Image IO library (see http://xmlgraphics.apache.org/fop/1.0/graphics.html#imageio). So the restrictions will come from that library. What are you using? On 6/29/12 9:11 PM, froglander wrote: We have been using Apache FOP to create pdf files from xml generated from our database, customized xsl stylesheets, and they often include graphics. These graphics will usually be jpg, tif, or cgm. Some, but not all CGM files will show up in the print. We have a workaround of converting them to .tif to be able to print them, but would like to not have to do that conversion. What restrictions are there regarding printing cgm graphic files? Please let me know if more info is needed, thanks! -- View this message in context: http://apache-fop.1065347.n5.nabble.com/FOP-1-0-some-CGM-graphics-are-not-printing-tp36191.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
FOP 1.0 -- some CGM graphics are not printing
We have been using Apache FOP to create pdf files from xml generated from our database, customized xsl stylesheets, and they often include graphics. These graphics will usually be jpg, tif, or cgm. Some, but not all CGM files will show up in the print. We have a workaround of converting them to .tif to be able to print them, but would like to not have to do that conversion. What restrictions are there regarding printing cgm graphic files? Please let me know if more info is needed, thanks! -- View this message in context: http://apache-fop.1065347.n5.nabble.com/FOP-1-0-some-CGM-graphics-are-not-printing-tp36191.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org