Fail to insert png image into pdf
Hi all, As describe in this ticket, I try to transform docbook - fo - pdf : https://sourceforge.net/apps/mantisbt/ant4docbook/view.php?id=5 fo file seems to be good, because I succeed in to execute the command line : $ fop myfile.fo myfile.pdf but when I use, fo ant task, I fail to do this : impossible to include image. I always get an error : [fop] déc. 04, 2011 12:26:52 PM org.apache.fop.events.LoggingEventListener processEvent [fop] Grave: Image not available. URI: img/forum-inscription1.png. Reason: org.apache.xmlgraphics.image.loader.ImageException: The file format is not supported. No ImagePreloader found for img/forum-inscription1.png (See position 6:264) [fop] déc. 04, 2011 12:26:52 PM org.apache.fop.events.LoggingEventListener processEvent [fop] Avertissement: Font Symbol,normal,700 not found. Substituting with Symbol,normal,400. [fop] déc. 04, 2011 12:26:52 PM org.apache.fop.events.LoggingEventListener processEvent [fop] Avertissement: Font ZapfDingbats,normal,700 not found. Substituting with ZapfDingbats,normal,400. [fop] déc. 04, 2011 12:26:52 PM org.apache.fop.events.LoggingEventListener processEvent [fop] Grave: Image not found. URI: img/forum-inscription1.png. (No context info available) [fop] myfile.fo - myfile.pdf Do you have any idea about this problem ? Regard, Benjamin
Re: Fail to insert png image into pdf
Probably a jar that is missing or not being found in the classpath. If you search the archives you will find that this error has been discussed in the past. There is no single solution but reading past discussions may help you fix the issue. On Sun, Dec 4, 2011 at 11:56 AM, Benjamin de Dardel benjamin.dedar...@gmail.com wrote: Hi all, As describe in this ticket, I try to transform docbook - fo - pdf : https://sourceforge.net/apps/mantisbt/ant4docbook/view.php?id=5 fo file seems to be good, because I succeed in to execute the command line : $ fop myfile.fo myfile.pdf but when I use, fo ant task, I fail to do this : impossible to include image. I always get an error : [fop] déc. 04, 2011 12:26:52 PM org.apache.fop.events.LoggingEventListener processEvent [fop] Grave: Image not available. URI: img/forum-inscription1.png. Reason: org.apache.xmlgraphics.image.loader.ImageException: The file format is not supported. No ImagePreloader found for img/forum-inscription1.png (See position 6:264) [fop] déc. 04, 2011 12:26:52 PM org.apache.fop.events.LoggingEventListener processEvent [fop] Avertissement: Font Symbol,normal,700 not found. Substituting with Symbol,normal,400. [fop] déc. 04, 2011 12:26:52 PM org.apache.fop.events.LoggingEventListener processEvent [fop] Avertissement: Font ZapfDingbats,normal,700 not found. Substituting with ZapfDingbats,normal,400. [fop] déc. 04, 2011 12:26:52 PM org.apache.fop.events.LoggingEventListener processEvent [fop] Grave: Image not found. URI: img/forum-inscription1.png. (No context info available) [fop] myfile.fo - myfile.pdf Do you have any idea about this problem ? Regard, Benjamin - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Fail to insert png image into pdf
On 05/12/2011 10:30, Luis Bernardo wrote: Hi Luis, Benjamin, Probably a jar that is missing or not being found in the classpath. If you search the archives you will find that this error has been discussed in the past. There is no single solution but reading past discussions may help you fix the issue. You are on the right lines. Normally this means jai_imageio.jar is not available in the Classpath. FOP uses JAI ImageIO Tools for processing a lot of image formats. On Sun, Dec 4, 2011 at 11:56 AM, Benjamin de Dardel benjamin.dedar...@gmail.com wrote: Hi all, As describe in this ticket, I try to transform docbook - fo - pdf : https://sourceforge.net/apps/mantisbt/ant4docbook/view.php?id=5 fo file seems to be good, because I succeed in to execute the command line : $ fop myfile.fo myfile.pdf but when I use, fo ant task, I fail to do this : impossible to include image. I always get an error : [fop] déc. 04, 2011 12:26:52 PM org.apache.fop.events.LoggingEventListener processEvent [fop] Grave: Image not available. URI: img/forum-inscription1.png. Reason: org.apache.xmlgraphics.image.loader.ImageException: The file format is not supported. No ImagePreloader found for img/forum-inscription1.png (See position 6:264) Thanks, Chris - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
SVG to AFP conversion
Hi, I was thinking of using Apache FOP 1.0 or trunk to convert SVG files to AFP. Each page will contain a single SVG, declared as fo:external-graphic src=url('page1.svg') content-height=100% content-width=100% / This works good when converting to PDF but I have some issues with AFP fonts. Before going further, I would like some advise. Do you see any problems converting a series of SVG files to AFP ? For example, the SVG contains text. Batik uses the java AWT font system while FOP has it's own. Obviously, in the output AFP, I need FOP to use and embed AFP outline fonts. Thanks, Alexios Giotis - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Condensed fonts
Hi all As part of some work I'm doing with fop (1.0) at the moment I need to select a condensed face for a font. This is proving harder than expected and I thought I'd seek some advice here. This is /not/ a question about the creation of fake condensed faces to support the font-stretch property. That's not what I'm after. I have a full set of condensed and regular faces and don't need to fake a condensed face. The problem is that fop appears to be misclassifying the font faces I have, and that there's no apparent way to tell fop I want a condensed face even if they were classified correctly. I'm loading the fonts by having fop scan the directory they're in using the fontsdirectory config param and it's finding them fine. However, Fop doesn't seem to be able to tell the difference between the condensed and non-condensed faces of these fonts. It also seems to think they all have the same weight (400) as per the log excerpts below. So: - Any idea why fop might think all the fonts its examining have the same weight and slant? - If I have both condensed and non-condensed variants of a font, how can I select which face to use? The font-stretch property is what I'd expect to be able to use, but fop doesn't seem to be aware of font stretch. Is there any way I can do this? Here's an excerpt of the log output from fop where it detects the fonts. The full log is at http://pastebin.com/91u9bW10 . You can see that it seems unable to distinguish the weights or how condensed they are: Registering: HelveticaNeueLT Std Cn,normal,400 under F17 HelveticaNeueLT Std Cn,normal,400: Replacing HelveticaNeueLTStd-BdCn (priority=23) by HelveticaNeueLTStd-Cn (priority=21) Registering: HelveticaNeueLTStd-BlkCn,normal,400 under F18 Registering: Helvetica Neue LT Std,normal,400 under F18 Helvetica Neue LT Std,normal,400: Not replacing HelveticaNeueLTStd-Cn (priority=21) by HelveticaNeueLTStd-BlkCn (priority=24) Registering: HelveticaNeueLT Std Blk Cn,normal,400 under F18 By contrast, fontconfig identifies them as I'd expect: $ fc-list | grep Neue Helvetica Neue LT Std:style=55 Roman,Regular Helvetica Neue LT Std,HelveticaNeueLT Std Cn:style=57 Condensed,Regular Helvetica Neue LT Std,HelveticaNeueLT Std Blk Cn:style=97 Black Condensed,Regular Helvetica Neue LT Std,HelveticaNeueLT Std Cn:style=77 Bold Condensed,Bold These were originally OpenType fonts with CFF outlines; they were converted to TrueType using FontForge. They behave as expected with other tools including FontConfig and can be used normally in apps. Ideas? Will I have to manually register these fonts via the Java API one-by-one, coming up with a fake family name for the condensed variants so I can select them by family name? -- Craig Ringer POST Newspapers 276 Onslow Rd, Shenton Park Ph: 08 9381 3088 Fax: 08 9388 2258 ABN: 50 008 917 717 http://www.postnewspapers.com.au/
RE: MICR font problem in 1.0
There is a hyphenation-character property; perhaps all you need to do is use it to specify the character to use? Eric Amick Systems Engineer II Legislative Computer Systems From: Anil Pinto [mailto:api...@lobotec.com] Sent: Friday, December 2, 2011 17:20 To: FOP Mailing List Subject: MICR font problem in 1.0 Hello, We have been using FOP 1.0 for quite a while now and are very happy with it. Thanks to all the developers for their time, hard work and efforts. Recently we had a need to incorporate MICR into one of the PDFs we were generating for our customer but are having issues getting it to work and would greatly appreciate some insights on what may be going wrong. The font is not rendered with 1.0 but renders correctly in 0.95 (although both version show the same warning as below) Dec 2, 2011 1:54:10 PM org.apache.fop.fo.properties.CommonHyphenation getHyphChar WARNING: Substituted specified hyphenation character (0x2d) with 0x20 because the font doesn't have the specified hyphenation character: MICR,normal,400 I am attaching the sample, xml, xsl and PDFs for both versions. Note for obvious reasons I cannot include the MICR font (micr.ttf) as it was purchased by the customer. I can send it individually to the developer who can help resolve this problem in a separate email. Appreciate any help to resolve this behavior. Thanks, Anil Pinto. Lobo Technologies, Inc. www.lobotec.comhttp://www.lobotec.com
Why the difference in speed?
Hi All, Just wondering , we used to run 0.20.5 as a fop.exe and saving the input files and then execing fop.exe This was mind blowingly fast at generating the pdf. Now I am trying to use Fop 1.0 and doing it all programmatically, it is significantly slower specifically for the creation of the FOP from the fopFactory and then the transform. What could be slowing it down like this, with 0.20.5 we were using fonts declared with the fopconfig.xml and kerning files The new one we are using autodetect - could this be the issue should I generate the font config as before rather than use the autodetect? Kindest regards Theresa Forster Senior Software Developer
Re: Condensed fonts
On 12/05/2011 08:37 PM, Craig Ringer wrote: Hi all As part of some work I'm doing with fop (1.0) at the moment I need to select a condensed face for a font. This is proving harder than expected and I thought I'd seek some advice here. Just by way of a follow-up, it appears that the issue can be worked around - albeit clumsily - by registering each font manually in the config file, specifying a different family name for condensed and non-condensed variants. I can then select the condensed face by asking for Helvetica Neue LT Condensed as the family. It's clunky and clumsy to set up, but it does work. See the generated config file snippet below for an example. I recently stopped using Fop's Java API to configure my embedded fop instance; now I generate a temporary config file and have fop read that in. It's verbose and roundabout, but gives access to features like the fontsdirectory directive and now the fontsfont directive that aren't exposed via the Java API. Given that, it's not too hard to generate these font-info directives and clone them for both renderers, it's just going to be a real hassle to maintain the font list. Any idea how big a job it'd be to get fop to recognise condensed and expanded fonts, track that info alongside the weight and slant, and use font-stretch to select fonts based on it? I'm not asking someone to do the work for me, I'm just looking for an idea of what sort of scale the job would be. Major restructure throughout fop? Changes flowing throughout fop but not particularly complex ones except for the font classifier enhancements? Relatively trivial? Here's the config file snippet I'm using to get my fonts to work in the mean time. In reality there are plenty more fonts, but here's how it works: fonts font embed-url=file:/opt/jboss/classads/fonts/HelveticaNeueLTStd-Roman.ttf font-triplet name=Helvetica Neue LT style=normal weight=400/ /font font embed-url=file:/opt/jboss/classads/fonts/HelveticaNeueLTStd-Cn.ttf font-triplet name=Helvetica Neue LT Condensed style=normal weight=400/ /font font embed-url=file:/opt/jboss/classads/fonts/HelveticaNeueLTStd-BdCn.ttf font-triplet name=Helvetica Neue LT Condensed style=normal weight=700/ /font font embed-url=file:/opt/jboss/classads/fonts/HelveticaNeueLTStd-BlkCn.ttf font-triplet name=Helvetica Neue LT Condensed style=normal weight=900/ /font /fonts -- Craig Ringer POST Newspapers 276 Onslow Rd, Shenton Park Ph: 08 9381 3088 Fax: 08 9388 2258 ABN: 50 008 917 717 http://www.postnewspapers.com.au/
PDF to AFP conversion
Hi, I am investigating the possibility of using Apache FOP 1.0 or trunk to convert existing PDF files to AFP. I was thinking of using a Java PDF renderer (e.g. org.apache.pdfbox.pdfviewer.PageDrawer) to paint the input PDF file against a Graphics2D object provided by Apache FOP (e.g. org.apache.fop.afp.AFPGraphics2D). Anyone has done this before ? Do you see any obstacles ? Issues with fonts ? Thanks, Alexios Giotis - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
RE: Why the difference in speed?
Ok, I tried setting up a font definition but I am getting an error no matter what font I try to get going, and the error is non descriptive Any idea why I am having this problem? Font file renderer mime=application/pdf fonts font embed-url=file:///InBrand/fonts/FRUTL__.TTF font-triplet name=Frutiger style=normal weight=200/ /font auto-detect/ /fonts /renderer The error Creating New Fop org.apache.fop.apps.FOPException: Failed to resolve font with embed-url 'file:///InBrand/fonts/FRUTL__.TTF' at org.apache.fop.util.LogUtil.handleError(LogUtil.java:38) at org.apache.fop.fonts.FontInfoConfigurator.getFontInfo(FontInfoConfigurator.j ava:212) at org.apache.fop.fonts.FontInfoConfigurator.addFonts(FontInfoConfigurator.java :168) at org.apache.fop.fonts.FontInfoConfigurator.configure(FontInfoConfigurator.jav a:100) at org.apache.fop.render.PrintRendererConfigurator.buildFontList(PrintRendererC onfigurator.java:106) at org.apache.fop.render.PrintRendererConfigurator.setupFontInfo(PrintRendererC onfigurator.java:129) at org.apache.fop.render.intermediate.IFUtil.setupFonts(IFUtil.java:165) at org.apache.fop.render.intermediate.IFRenderer.setupFontInfo(IFRenderer.java: 181) at org.apache.fop.area.RenderPagesModel.init(RenderPagesModel.java:73) at org.apache.fop.area.AreaTreeHandler.setupModel(AreaTreeHandler.java:130) at org.apache.fop.area.AreaTreeHandler.init(AreaTreeHandler.java:102) at org.apache.fop.render.RendererFactory.createFOEventHandler(RendererFactory.j ava:359) at org.apache.fop.fo.FOTreeBuilder.init(FOTreeBuilder.java:105) at org.apache.fop.apps.Fop.createDefaultHandler(Fop.java:101)* at org.apache.fop.apps.Fop.init(Fop.java:79) at org.apache.fop.apps.FopFactory.newFop(FopFactory.java:271) at uk.co.inbrand.fopengine.FopEngine.generatePDFFromXml(FopEngine.java:166) at uk.co.inbrand.fopengine.FopProcessor.run(FopProcessor.java:43) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.ja va:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:9 08) at java.lang.Thread.run(Thread.java:619) Kindest regards Theresa Forster Senior Software Developer From: Theresa Jayne Forster [mailto:ther...@inbrand.co.uk] Sent: 05 December 2011 13:22 To: fop-users@xmlgraphics.apache.org Subject: Why the difference in speed? Hi All, Just wondering , we used to run 0.20.5 as a fop.exe and saving the input files and then execing fop.exe This was mind blowingly fast at generating the pdf. Now I am trying to use Fop 1.0 and doing it all programmatically, it is significantly slower specifically for the creation of the FOP from the fopFactory and then the transform. What could be slowing it down like this, with 0.20.5 we were using fonts declared with the fopconfig.xml and kerning files The new one we are using autodetect - could this be the issue should I generate the font config as before rather than use the autodetect? Kindest regards Theresa Forster Senior Software Developer
Re: Why the difference in speed?
Hi Theresa, unless you want to play with whole system fonts, you should configure only a limited set, either registring each font namely, or grouping them in a directory that you can register with a single command. See [1] for further details Note that there are many other reasons that can explain slow down: - disabled fontcache (option cache-file) - strict mode (should not be disabled, IMHO) (option strict-configuration) - etc. [1] http://xmlgraphics.apache.org/fop/1.0/fonts.html#register Le 05/12/2011 14:22, Theresa Jayne Forster a écrit : Hi All, Just wondering , we used to run 0.20.5 as a fop.exe and saving the input files and then execing fop.exe This was mind blowingly fast at generating the pdf. Now I am trying to use Fop 1.0 and doing it all programmatically, it is significantly slower specifically for the creation of the FOP from the fopFactory and then the transform. What could be slowing it down like this, with 0.20.5 we were using fonts declared with the fopconfig.xml and kerning files The new one we are using autodetect – could this be the issue should I generate the font config as before rather than use the autodetect? Kindest regards Theresa Forster Senior Software Developer -- Pascal - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Why the difference in speed?
Theresa, file:/// means the root of your local system. You should check if the file is in the right place, and if FOP has read permission on it. Le 05/12/2011 16:10, Theresa Jayne Forster a écrit : Ok, I tried setting up a font definition but I am getting an error no matter what font I try to get going, and the error is non descriptive Any idea why I am having this problem? Font file renderer mime=application/pdf fonts font embed-url=file:///InBrand/fonts/FRUTL__.TTF font-triplet name=Frutiger style=normal weight=200/ /font auto-detect/ /fonts /renderer The error Creating New Fop org.apache.fop.apps.FOPException: Failed to resolve font with embed-url 'file:///InBrand/fonts/FRUTL__.TTF' at org.apache.fop.util.LogUtil.handleError(LogUtil.java:38) at org.apache.fop.fonts.FontInfoConfigurator.getFontInfo(FontInfoConfigurator.java:212) at org.apache.fop.fonts.FontInfoConfigurator.addFonts(FontInfoConfigurator.java:168) at org.apache.fop.fonts.FontInfoConfigurator.configure(FontInfoConfigurator.java:100) at org.apache.fop.render.PrintRendererConfigurator.buildFontList(PrintRendererConfigurator.java:106) at org.apache.fop.render.PrintRendererConfigurator.setupFontInfo(PrintRendererConfigurator.java:129) at org.apache.fop.render.intermediate.IFUtil.setupFonts(IFUtil.java:165) at org.apache.fop.render.intermediate.IFRenderer.setupFontInfo(IFRenderer.java:181) at org.apache.fop.area.RenderPagesModel.init(RenderPagesModel.java:73) at org.apache.fop.area.AreaTreeHandler.setupModel(AreaTreeHandler.java:130) at org.apache.fop.area.AreaTreeHandler.init(AreaTreeHandler.java:102) at org.apache.fop.render.RendererFactory.createFOEventHandler(RendererFactory.java:359) at org.apache.fop.fo.FOTreeBuilder.init(FOTreeBuilder.java:105) at org.apache.fop.apps.Fop.createDefaultHandler(Fop.java:101)* at org.apache.fop.apps.Fop.init(Fop.java:79) at org.apache.fop.apps.FopFactory.newFop(FopFactory.java:271) at uk.co.inbrand.fopengine.FopEngine.generatePDFFromXml(FopEngine.java:166) at uk.co.inbrand.fopengine.FopProcessor.run(FopProcessor.java:43) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Kindest regards Theresa Forster Senior Software Developer *From:*Theresa Jayne Forster [mailto:ther...@inbrand.co.uk] *Sent:* 05 December 2011 13:22 *To:* fop-users@xmlgraphics.apache.org *Subject:* Why the difference in speed? Hi All, Just wondering , we used to run 0.20.5 as a fop.exe and saving the input files and then execing fop.exe This was mind blowingly fast at generating the pdf. Now I am trying to use Fop 1.0 and doing it all programmatically, it is significantly slower specifically for the creation of the FOP from the fopFactory and then the transform. What could be slowing it down like this, with 0.20.5 we were using fonts declared with the fopconfig.xml and kerning files The new one we are using autodetect – could this be the issue should I generate the font config as before rather than use the autodetect? Kindest regards Theresa Forster Senior Software Developer -- Pascal - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Why do you use .cmd rather than .bat?
To avoid code duplication, is it possible to have fop.cmd say something like 'call fop.bat'? Can you test that? I have no computer with Windows available. Or vice versa. Which is the canonical name, bat or cmd? Simon On Sun, Dec 04, 2011 at 04:17:37PM -0500, Jonathan Levinson wrote: A copy named fop.bat would be very useful to us. We currently have most sites deployed on fop 1.0, which names the command script on Windows as fop.bat. For Skynav fop, for our Middle Eastern sites, we are contemplating (after suitable QA) replacing fop 1.0 with Skynav fop. However, some of these sites will be on versions of our product which do assume the name of the script on Windows is fop.bat. While, we can tell users to rename fop.cmd to fop.bat, it will simplify configuration if fop ships with a fop.bat. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
RE: Why do you use .cmd rather than .bat?
I will test. .bat is used more often that .cmd and unless one changes one's settings the default is that if you have two files in a directory foobar.bat and foobar.cmd, and you execute foobar in that directory then foobar.bat will be executed not foobar.cmd. Best Regards, Jonathan Levinson Senior Software Developer Object Group InterSystems +1 617-621-0600 jonathan.levin...@intersystems.com -Original Message- From: Simon Pepping [mailto:spepp...@leverkruid.eu] Sent: Monday, December 05, 2011 1:53 PM To: fop-users@xmlgraphics.apache.org Subject: Re: Why do you use .cmd rather than .bat? To avoid code duplication, is it possible to have fop.cmd say something like 'call fop.bat'? Can you test that? I have no computer with Windows available. Or vice versa. Which is the canonical name, bat or cmd? Simon On Sun, Dec 04, 2011 at 04:17:37PM -0500, Jonathan Levinson wrote: A copy named fop.bat would be very useful to us. We currently have most sites deployed on fop 1.0, which names the command script on Windows as fop.bat. For Skynav fop, for our Middle Eastern sites, we are contemplating (after suitable QA) replacing fop 1.0 with Skynav fop. However, some of these sites will be on versions of our product which do assume the name of the script on Windows is fop.bat. While, we can tell users to rename fop.cmd to fop.bat, it will simplify configuration if fop ships with a fop.bat. - 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: Why do you use .cmd rather than .bat?
Hi Simon, I tested the following fop.cmd file on Windows 7 and it works. It may lack support for some earlier Windows versions, such as Windows 98. I copy fop-dev so my little command file can be subjected to contributor review: Here are the contents of fop.cmd. The Apache script had tests for %OS%=Windows_NT, which is true on Windows 7. I don't have a non-NT Windows system on which to test the script, so I removed those tests, such as if %OS%==Windows_NT set LOCAL_FOP_HOME=%~dp0. I won't put in code I can't test. - beginning of script fop.cmd - @ECHO OFF set LOCAL_FOP_HOME=%~dp0 set FOP_CMD_LINE_ARGS=%1 if %1== goto doneStart shift :setupArgs if %1== goto doneStart set FOP_CMD_LINE_ARGS=%FOP_CMD_LINE_ARGS% %1 shift goto setupArgs rem This label provides a place for the argument list loop to break out :doneStart call %LOCAL_FOP_HOME%\fop.bat %FOP_CMD_LINE_ARGS% - end of script Best Regards, Jonathan Levinson Senior Software Developer Object Group InterSystems +1 617-621-0600 jonathan.levin...@intersystems.com -Original Message- From: Simon Pepping [mailto:spepp...@leverkruid.eu] Sent: Monday, December 05, 2011 1:53 PM To: fop-users@xmlgraphics.apache.org Subject: Re: Why do you use .cmd rather than .bat? To avoid code duplication, is it possible to have fop.cmd say something like 'call fop.bat'? Can you test that? I have no computer with Windows available. Or vice versa. Which is the canonical name, bat or cmd? Simon On Sun, Dec 04, 2011 at 04:17:37PM -0500, Jonathan Levinson wrote: A copy named fop.bat would be very useful to us. We currently have most sites deployed on fop 1.0, which names the command script on Windows as fop.bat. For Skynav fop, for our Middle Eastern sites, we are contemplating (after suitable QA) replacing fop 1.0 with Skynav fop. However, some of these sites will be on versions of our product which do assume the name of the script on Windows is fop.bat. While, we can tell users to rename fop.cmd to fop.bat, it will simplify configuration if fop ships with a fop.bat. - 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