[jira] [Issue Comment Deleted] (FOP-2335) [PATCH] Content is missing after IPD change
[ https://issues.apache.org/jira/browse/FOP-2335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] simon steiner updated FOP-2335: --- Comment: was deleted (was: basic_link_to_last_page.xml test failing with the patch) > [PATCH] Content is missing after IPD change > --- > > Key: FOP-2335 > URL: https://issues.apache.org/jira/browse/FOP-2335 > Project: FOP > Issue Type: Bug > Components: layout/unqualified >Affects Versions: trunk >Reporter: Matthias Reischenbacher >Assignee: simon steiner >Priority: Critical > Attachments: changeipd.patch, fop-2335-sample-file.fo > > > When rendering the attached fo file, the second page is missing. Changing the > page-master and/or region-body margins makes the second page appear. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (FOP-2335) [PATCH] Content is missing after IPD change
[ https://issues.apache.org/jira/browse/FOP-2335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] simon steiner updated FOP-2335: --- Attachment: (was: changeipd.patch) > [PATCH] Content is missing after IPD change > --- > > Key: FOP-2335 > URL: https://issues.apache.org/jira/browse/FOP-2335 > Project: FOP > Issue Type: Bug > Components: layout/unqualified >Affects Versions: trunk >Reporter: Matthias Reischenbacher >Assignee: simon steiner >Priority: Critical > Attachments: fop-2335-sample-file.fo > > > When rendering the attached fo file, the second page is missing. Changing the > page-master and/or region-body margins makes the second page appear. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (FOP-2335) [PATCH] Content is missing after IPD change
[ https://issues.apache.org/jira/browse/FOP-2335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] simon steiner updated FOP-2335: --- Attachment: changeipd.patch > [PATCH] Content is missing after IPD change > --- > > Key: FOP-2335 > URL: https://issues.apache.org/jira/browse/FOP-2335 > Project: FOP > Issue Type: Bug > Components: layout/unqualified >Affects Versions: trunk >Reporter: Matthias Reischenbacher >Assignee: simon steiner >Priority: Critical > Attachments: changeipd.patch, fop-2335-sample-file.fo > > > When rendering the attached fo file, the second page is missing. Changing the > page-master and/or region-body margins makes the second page appear. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FOP-2058) pages after false IPD change are not rendered
[ https://issues.apache.org/jira/browse/FOP-2058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15080927#comment-15080927 ] simon steiner commented on FOP-2058: Fix is in FOP-2335 > pages after false IPD change are not rendered > - > > Key: FOP-2058 > URL: https://issues.apache.org/jira/browse/FOP-2058 > Project: FOP > Issue Type: Bug > Components: layout/unqualified >Affects Versions: trunk > Environment: Operating System: All > Platform: All >Reporter: Pascal Sancho > Attachments: _test.fo, fop.pdf > > > using metric units, pages that come after an hypothetical i-p-d change are > not rendered -- This message was sent by Atlassian JIRA (v6.3.4#6332)
Changing IPD on last page
Hi, I have added a patch for changing ipd on last page based on work Luis did. I will commit in a few days depending on any feedback: https://issues.apache.org/jira/browse/FOP-2335 Thanks
[jira] [Updated] (FOP-2559) [PATCH] Kerning doesn't work for OTF/CFF font
[ https://issues.apache.org/jira/browse/FOP-2559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] simon steiner updated FOP-2559: --- Summary: [PATCH] Kerning doesn't work for OTF/CFF font (was: Kerning doesn't work for OTF/CFF font) > [PATCH] Kerning doesn't work for OTF/CFF font > - > > Key: FOP-2559 > URL: https://issues.apache.org/jira/browse/FOP-2559 > Project: FOP > Issue Type: Bug > Components: font/opentype >Affects Versions: trunk >Reporter: chunlinyao >Priority: Minor > Attachments: patch.txt > > > According to the spec. "OpenType™ fonts containing CFF outlines are not > supported by the 'kern' table and must use the 'GPOS' OpenType Layout table." > But OFFontLoader hasn't pass the useAdvanced flag to OTFFile, so GPOS table > not read. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FOP-2556) Error while generating TIFF output using FOP 2.0
[ https://issues.apache.org/jira/browse/FOP-2556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15081074#comment-15081074 ] simon steiner commented on FOP-2556: Can you add jai_imageio.jar to your classpath > Error while generating TIFF output using FOP 2.0 > > > Key: FOP-2556 > URL: https://issues.apache.org/jira/browse/FOP-2556 > Project: FOP > Issue Type: Bug >Affects Versions: 2.0 >Reporter: Shishir > Attachments: fop.xconf, sample.fo > > > Hi, > I am getting below error while generating TIFF output. I have attached sample > FOP file. > D:\SoftBak\fop-2.0-bin\fop-2.0>fop c:\temp\sample.fo -tiff c:\temp\sample.tiff > Dec 28, 2015 7:52:34 PM org.apache.fop.events.LoggingEventListener > processEvent > INFO: An fo:block-container (See position 4:262) is wider than the available > ro > om in inline-progression-dimension. Adjusting end-indent based on > overconstraine > d geometry rules (XSL 1.1, ch. 5.3.4) > Dec 28, 2015 7:52:34 PM org.apache.fop.events.LoggingEventListener > processEvent > WARNING: Font "ocraregular,normal,700" not found. Substituting with > "any,normal, > 700". > Dec 28, 2015 7:52:34 PM org.apache.fop.events.LoggingEventListener > processEvent > INFO: Rendered page #1. > Dec 28, 2015 7:52:34 PM org.apache.fop.cli.Main startFOP > SEVERE: Exception > org.apache.fop.apps.FOPException: Int or float buffers require 32-bit data. > java.lang.RuntimeException: Int or float buffers require 32-bit data. > at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:288) > at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115) > at org.apache.fop.cli.Main.startFOP(Main.java:186) > at org.apache.fop.cli.Main.main(Main.java:217) > Caused by: java.lang.RuntimeException: Int or float buffers require 32-bit > data. > at > org.apache.xmlgraphics.image.codec.tiff.TIFFImageEncoder.validateImag > e(TIFFImageEncoder.java:983) > at > org.apache.xmlgraphics.image.codec.tiff.TIFFImageEncoder.encode(TIFFI > mageEncoder.java:198) > at > org.apache.xmlgraphics.image.codec.tiff.TIFFImageEncoder.finishMultip > le(TIFFImageEncoder.java:163) > at > org.apache.xmlgraphics.image.writer.internal.TIFFImageWriter$TIFFMult > iImageWriter.close(TIFFImageWriter.java:141) > at > org.apache.fop.render.bitmap.AbstractBitmapDocumentHandler.endDocumen > t(AbstractBitmapDocumentHandler.java:169) > at > org.apache.fop.render.intermediate.util.IFDocumentHandlerProxy.endDoc > ument(IFDocumentHandlerProxy.java:187) > at > org.apache.fop.render.intermediate.IFRenderer.stopRenderer(IFRenderer > .java:295) > at > org.apache.fop.area.RenderPagesModel.endDocument(RenderPagesModel.jav > a:265) > at > org.apache.fop.area.AreaTreeHandler.endDocument(AreaTreeHandler.java: > 342) > at org.apache.fop.fo.FOTreeBuilder.endDocument(FOTreeBuilder.java:170) > at > org.apache.xalan.transformer.TransformerIdentityImpl.endDocument(Tran > sformerIdentityImpl.java:962) > at org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown > Sourc > e) > at org.apache.xerces.xinclude.XIncludeHandler.endDocument(Unknown > Source > ) > at org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown > Sourc > e) > at org.apache.xerces.impl.XMLEntityManager.endEntity(Unknown Source) > at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source) > at org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown Source) > at > org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher. > dispatch(Unknown Source) > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un > known Source) > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) > at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown > Sour > ce) > at > org.apache.xalan.transformer.TransformerIdentityImpl.transform(Transf > ormerIdentityImpl.java:484) > at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:285) > ... 3 more > - > java.lang.RuntimeException: Int or float buffers require 32-bit data. > at > org.apache.xmlgraphics.image.codec.tiff.TIFFImageEncoder.validateImag > e(TIFFImageEncoder.java:983) > at > org.apache.xmlgraphics.image.codec.tiff.TIFFImageEncoder.encode(TIFFI > mageEncoder.java:198) > at > org.apache.xmlgraphics.image.codec.tiff.TIFFImageEncoder.finishMultip > le(TIFFImageEncoder.ja
[jira] [Commented] (FOP-2556) Error while generating TIFF output using FOP 2.0
[ https://issues.apache.org/jira/browse/FOP-2556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15081077#comment-15081077 ] simon steiner commented on FOP-2556: See FOP-2320 > Error while generating TIFF output using FOP 2.0 > > > Key: FOP-2556 > URL: https://issues.apache.org/jira/browse/FOP-2556 > Project: FOP > Issue Type: Bug >Affects Versions: 2.0 >Reporter: Shishir > Attachments: fop.xconf, sample.fo > > > Hi, > I am getting below error while generating TIFF output. I have attached sample > FOP file. > D:\SoftBak\fop-2.0-bin\fop-2.0>fop c:\temp\sample.fo -tiff c:\temp\sample.tiff > Dec 28, 2015 7:52:34 PM org.apache.fop.events.LoggingEventListener > processEvent > INFO: An fo:block-container (See position 4:262) is wider than the available > ro > om in inline-progression-dimension. Adjusting end-indent based on > overconstraine > d geometry rules (XSL 1.1, ch. 5.3.4) > Dec 28, 2015 7:52:34 PM org.apache.fop.events.LoggingEventListener > processEvent > WARNING: Font "ocraregular,normal,700" not found. Substituting with > "any,normal, > 700". > Dec 28, 2015 7:52:34 PM org.apache.fop.events.LoggingEventListener > processEvent > INFO: Rendered page #1. > Dec 28, 2015 7:52:34 PM org.apache.fop.cli.Main startFOP > SEVERE: Exception > org.apache.fop.apps.FOPException: Int or float buffers require 32-bit data. > java.lang.RuntimeException: Int or float buffers require 32-bit data. > at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:288) > at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115) > at org.apache.fop.cli.Main.startFOP(Main.java:186) > at org.apache.fop.cli.Main.main(Main.java:217) > Caused by: java.lang.RuntimeException: Int or float buffers require 32-bit > data. > at > org.apache.xmlgraphics.image.codec.tiff.TIFFImageEncoder.validateImag > e(TIFFImageEncoder.java:983) > at > org.apache.xmlgraphics.image.codec.tiff.TIFFImageEncoder.encode(TIFFI > mageEncoder.java:198) > at > org.apache.xmlgraphics.image.codec.tiff.TIFFImageEncoder.finishMultip > le(TIFFImageEncoder.java:163) > at > org.apache.xmlgraphics.image.writer.internal.TIFFImageWriter$TIFFMult > iImageWriter.close(TIFFImageWriter.java:141) > at > org.apache.fop.render.bitmap.AbstractBitmapDocumentHandler.endDocumen > t(AbstractBitmapDocumentHandler.java:169) > at > org.apache.fop.render.intermediate.util.IFDocumentHandlerProxy.endDoc > ument(IFDocumentHandlerProxy.java:187) > at > org.apache.fop.render.intermediate.IFRenderer.stopRenderer(IFRenderer > .java:295) > at > org.apache.fop.area.RenderPagesModel.endDocument(RenderPagesModel.jav > a:265) > at > org.apache.fop.area.AreaTreeHandler.endDocument(AreaTreeHandler.java: > 342) > at org.apache.fop.fo.FOTreeBuilder.endDocument(FOTreeBuilder.java:170) > at > org.apache.xalan.transformer.TransformerIdentityImpl.endDocument(Tran > sformerIdentityImpl.java:962) > at org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown > Sourc > e) > at org.apache.xerces.xinclude.XIncludeHandler.endDocument(Unknown > Source > ) > at org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown > Sourc > e) > at org.apache.xerces.impl.XMLEntityManager.endEntity(Unknown Source) > at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source) > at org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown Source) > at > org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher. > dispatch(Unknown Source) > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un > known Source) > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) > at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown > Sour > ce) > at > org.apache.xalan.transformer.TransformerIdentityImpl.transform(Transf > ormerIdentityImpl.java:484) > at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:285) > ... 3 more > - > java.lang.RuntimeException: Int or float buffers require 32-bit data. > at > org.apache.xmlgraphics.image.codec.tiff.TIFFImageEncoder.validateImag > e(TIFFImageEncoder.java:983) > at > org.apache.xmlgraphics.image.codec.tiff.TIFFImageEncoder.encode(TIFFI > mageEncoder.java:198) > at > org.apache.xmlgraphics.image.codec.tiff.TIFFImageEncoder.finishMultip > le(TIFFImageEncoder.java:163) > at > org.apach
[jira] [Commented] (FOP-2555) AFP IOCA Image Data shows the message "Unknown Self Defining Field" in IPD field
[ https://issues.apache.org/jira/browse/FOP-2555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15081094#comment-15081094 ] simon steiner commented on FOP-2555: Those AFP files print on a IBM 1767 printer > AFP IOCA Image Data shows the message "Unknown Self Defining Field" in IPD > field > > > Key: FOP-2555 > URL: https://issues.apache.org/jira/browse/FOP-2555 > Project: FOP > Issue Type: Bug > Components: renderer/afp >Affects Versions: 2.0 >Reporter: Le Duy Nhac > Attachments: Channel_digital_image_CMYK_color.jpg, > Image_CMYK_32bits_LZW.tif, TEST.fo.modif[FOP-2433].xml, arrow_up_small.png, > bgimg72dpi.bmp, bgimg72dpi.gif, bmp_image.afp, fop[FOP-2433].xconf, > gif_image.afp, images_in_AFP.doc, jpg_image.afp, png_image.afp, tif_image.afp > > > Hello, > I run the command below: > >fop -fo TEST.fo.modif[FOP-2433].xml -afp TEST.fo.modif[FOP-2433].xml.afp -c > >fop[FOP-2433].xconf > If I modify the input file "TEST.fo.modif[FOP-2433].xml" to use the bmp, gif, > jpg, tif format images then parse the relevent afp files (attached) to > analyze the afp structure. I found that in the IOCA Image Data section, there > are many messages "Unknown Self Defining Field" in many IPD fields for those > types of images. > But if I use the *.png images then there is no message "Unknown Self Defining > Field" as well as only one IPD field. > For visualization, please see the attachment "images_in_AFP.doc" > I am newbie to FOP + AFP. Please let me know why there are differences above? > and the messages "Unknown Self Defining Field" are errors? > Thank you! > Le Duy Nhac -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FOP-2544) Incorrect pdf rendering from FO with embedded svg via java embedding
[ https://issues.apache.org/jira/browse/FOP-2544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15081099#comment-15081099 ] simon steiner commented on FOP-2544: How are you calling fop programmatically > Incorrect pdf rendering from FO with embedded svg via java embedding > > > Key: FOP-2544 > URL: https://issues.apache.org/jira/browse/FOP-2544 > Project: FOP > Issue Type: Bug > Components: foreign/svg, image/svg, renderer/svg >Affects Versions: 2.0 >Reporter: Piotr Stefańczyk > Attachments: 35ca62e7-238c-44c2-bb54-c83e1fc548c8.pdf, fop.xconf, > helloworld.fo > > > I have problem with rendering pdf with embedded svg. When I render pdf from > command line everything is OK, but if I render fo programmatically then text > within svg is incorrect rendered. Every char have grey rectangle. > I was trying render in version 1.1 programmatically and fo is correct > rendered to pdf. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FOP-2533) PDF generation never stops when you have a missing defined region name
[ https://issues.apache.org/jira/browse/FOP-2533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15081107#comment-15081107 ] simon steiner commented on FOP-2533: Was fixed in trunk > PDF generation never stops when you have a missing defined region name > -- > > Key: FOP-2533 > URL: https://issues.apache.org/jira/browse/FOP-2533 > Project: FOP > Issue Type: Bug > Components: fo/page >Affects Versions: 1.1, 2.0 >Reporter: Radu Coravu > Original Estimate: 3h > Remaining Estimate: 3h > > If you try to publish to PDF this XSL-FO file: > {code}http://www.w3.org/1999/XSL/Format";> > >page-height="29.7cm"> > > > > > > > > > > > > > > > > > > > {code} > the generation keeps creating a very large PDF and eventually throws an out > of memory. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (FOP-2533) PDF generation never stops when you have a missing defined region name
[ https://issues.apache.org/jira/browse/FOP-2533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] simon steiner closed FOP-2533. -- Resolution: Duplicate > PDF generation never stops when you have a missing defined region name > -- > > Key: FOP-2533 > URL: https://issues.apache.org/jira/browse/FOP-2533 > Project: FOP > Issue Type: Bug > Components: fo/page >Affects Versions: 1.1, 2.0 >Reporter: Radu Coravu > Original Estimate: 3h > Remaining Estimate: 3h > > If you try to publish to PDF this XSL-FO file: > {code}http://www.w3.org/1999/XSL/Format";> > >page-height="29.7cm"> > > > > > > > > > > > > > > > > > > > {code} > the generation keeps creating a very large PDF and eventually throws an out > of memory. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FOP-2533) PDF generation never stops when you have a missing defined region name
[ https://issues.apache.org/jira/browse/FOP-2533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15081125#comment-15081125 ] Radu Coravu commented on FOP-2533: -- Thanks for the update Simon. Do you have a clue about when the next Apache FOP (2.1?) will be released? I'm interested in having some NPEs which were introduced in 2.0 fixed: https://issues.apache.org/jira/browse/FOP-2461 > PDF generation never stops when you have a missing defined region name > -- > > Key: FOP-2533 > URL: https://issues.apache.org/jira/browse/FOP-2533 > Project: FOP > Issue Type: Bug > Components: fo/page >Affects Versions: 1.1, 2.0 >Reporter: Radu Coravu > Original Estimate: 3h > Remaining Estimate: 3h > > If you try to publish to PDF this XSL-FO file: > {code}http://www.w3.org/1999/XSL/Format";> > >page-height="29.7cm"> > > > > > > > > > > > > > > > > > > > {code} > the generation keeps creating a very large PDF and eventually throws an out > of memory. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FOP-2533) PDF generation never stops when you have a missing defined region name
[ https://issues.apache.org/jira/browse/FOP-2533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15081138#comment-15081138 ] simon steiner commented on FOP-2533: This question should be asked on the mailing list > PDF generation never stops when you have a missing defined region name > -- > > Key: FOP-2533 > URL: https://issues.apache.org/jira/browse/FOP-2533 > Project: FOP > Issue Type: Bug > Components: fo/page >Affects Versions: 1.1, 2.0 >Reporter: Radu Coravu > Original Estimate: 3h > Remaining Estimate: 3h > > If you try to publish to PDF this XSL-FO file: > {code}http://www.w3.org/1999/XSL/Format";> > >page-height="29.7cm"> > > > > > > > > > > > > > > > > > > > {code} > the generation keeps creating a very large PDF and eventually throws an out > of memory. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FOP-2533) PDF generation never stops when you have a missing defined region name
[ https://issues.apache.org/jira/browse/FOP-2533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15081145#comment-15081145 ] Radu Coravu commented on FOP-2533: -- Thanks, I will > PDF generation never stops when you have a missing defined region name > -- > > Key: FOP-2533 > URL: https://issues.apache.org/jira/browse/FOP-2533 > Project: FOP > Issue Type: Bug > Components: fo/page >Affects Versions: 1.1, 2.0 >Reporter: Radu Coravu > Original Estimate: 3h > Remaining Estimate: 3h > > If you try to publish to PDF this XSL-FO file: > {code}http://www.w3.org/1999/XSL/Format";> > >page-height="29.7cm"> > > > > > > > > > > > > > > > > > > > {code} > the generation keeps creating a very large PDF and eventually throws an out > of memory. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FOP-2556) Error while generating TIFF output using FOP 2.0
[ https://issues.apache.org/jira/browse/FOP-2556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15081212#comment-15081212 ] Shishir commented on FOP-2556: -- Hi Simon, There is no issue in generating PDF that contains the TIFF. The problem is that I am not able generate output in TIFF format using below command:- D:\SoftBak\fop-2.0-bin\fop-2.0>fop c:\temp\sample.fo -tiff c:\temp\sample.tiff I tried after giving path of jai_imageio.jar but still getting the same error. fo and xconf I have attached with JIRA request. Thanks Shishir. > Error while generating TIFF output using FOP 2.0 > > > Key: FOP-2556 > URL: https://issues.apache.org/jira/browse/FOP-2556 > Project: FOP > Issue Type: Bug >Affects Versions: 2.0 >Reporter: Shishir > Attachments: fop.xconf, sample.fo > > > Hi, > I am getting below error while generating TIFF output. I have attached sample > FOP file. > D:\SoftBak\fop-2.0-bin\fop-2.0>fop c:\temp\sample.fo -tiff c:\temp\sample.tiff > Dec 28, 2015 7:52:34 PM org.apache.fop.events.LoggingEventListener > processEvent > INFO: An fo:block-container (See position 4:262) is wider than the available > ro > om in inline-progression-dimension. Adjusting end-indent based on > overconstraine > d geometry rules (XSL 1.1, ch. 5.3.4) > Dec 28, 2015 7:52:34 PM org.apache.fop.events.LoggingEventListener > processEvent > WARNING: Font "ocraregular,normal,700" not found. Substituting with > "any,normal, > 700". > Dec 28, 2015 7:52:34 PM org.apache.fop.events.LoggingEventListener > processEvent > INFO: Rendered page #1. > Dec 28, 2015 7:52:34 PM org.apache.fop.cli.Main startFOP > SEVERE: Exception > org.apache.fop.apps.FOPException: Int or float buffers require 32-bit data. > java.lang.RuntimeException: Int or float buffers require 32-bit data. > at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:288) > at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115) > at org.apache.fop.cli.Main.startFOP(Main.java:186) > at org.apache.fop.cli.Main.main(Main.java:217) > Caused by: java.lang.RuntimeException: Int or float buffers require 32-bit > data. > at > org.apache.xmlgraphics.image.codec.tiff.TIFFImageEncoder.validateImag > e(TIFFImageEncoder.java:983) > at > org.apache.xmlgraphics.image.codec.tiff.TIFFImageEncoder.encode(TIFFI > mageEncoder.java:198) > at > org.apache.xmlgraphics.image.codec.tiff.TIFFImageEncoder.finishMultip > le(TIFFImageEncoder.java:163) > at > org.apache.xmlgraphics.image.writer.internal.TIFFImageWriter$TIFFMult > iImageWriter.close(TIFFImageWriter.java:141) > at > org.apache.fop.render.bitmap.AbstractBitmapDocumentHandler.endDocumen > t(AbstractBitmapDocumentHandler.java:169) > at > org.apache.fop.render.intermediate.util.IFDocumentHandlerProxy.endDoc > ument(IFDocumentHandlerProxy.java:187) > at > org.apache.fop.render.intermediate.IFRenderer.stopRenderer(IFRenderer > .java:295) > at > org.apache.fop.area.RenderPagesModel.endDocument(RenderPagesModel.jav > a:265) > at > org.apache.fop.area.AreaTreeHandler.endDocument(AreaTreeHandler.java: > 342) > at org.apache.fop.fo.FOTreeBuilder.endDocument(FOTreeBuilder.java:170) > at > org.apache.xalan.transformer.TransformerIdentityImpl.endDocument(Tran > sformerIdentityImpl.java:962) > at org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown > Sourc > e) > at org.apache.xerces.xinclude.XIncludeHandler.endDocument(Unknown > Source > ) > at org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown > Sourc > e) > at org.apache.xerces.impl.XMLEntityManager.endEntity(Unknown Source) > at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source) > at org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown Source) > at > org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher. > dispatch(Unknown Source) > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un > known Source) > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) > at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown > Sour > ce) > at > org.apache.xalan.transformer.TransformerIdentityImpl.transform(Transf > ormerIdentityImpl.java:484) > at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:285) > ... 3 more > - > java.lang.RuntimeException: Int or float buffers require 32-bit data. >
[jira] [Commented] (FOP-2556) Error while generating TIFF output using FOP 2.0
[ https://issues.apache.org/jira/browse/FOP-2556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15081218#comment-15081218 ] simon steiner commented on FOP-2556: Works for me when i add jai_imageio.jar to fop lib directory > Error while generating TIFF output using FOP 2.0 > > > Key: FOP-2556 > URL: https://issues.apache.org/jira/browse/FOP-2556 > Project: FOP > Issue Type: Bug >Affects Versions: 2.0 >Reporter: Shishir > Attachments: fop.xconf, sample.fo > > > Hi, > I am getting below error while generating TIFF output. I have attached sample > FOP file. > D:\SoftBak\fop-2.0-bin\fop-2.0>fop c:\temp\sample.fo -tiff c:\temp\sample.tiff > Dec 28, 2015 7:52:34 PM org.apache.fop.events.LoggingEventListener > processEvent > INFO: An fo:block-container (See position 4:262) is wider than the available > ro > om in inline-progression-dimension. Adjusting end-indent based on > overconstraine > d geometry rules (XSL 1.1, ch. 5.3.4) > Dec 28, 2015 7:52:34 PM org.apache.fop.events.LoggingEventListener > processEvent > WARNING: Font "ocraregular,normal,700" not found. Substituting with > "any,normal, > 700". > Dec 28, 2015 7:52:34 PM org.apache.fop.events.LoggingEventListener > processEvent > INFO: Rendered page #1. > Dec 28, 2015 7:52:34 PM org.apache.fop.cli.Main startFOP > SEVERE: Exception > org.apache.fop.apps.FOPException: Int or float buffers require 32-bit data. > java.lang.RuntimeException: Int or float buffers require 32-bit data. > at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:288) > at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115) > at org.apache.fop.cli.Main.startFOP(Main.java:186) > at org.apache.fop.cli.Main.main(Main.java:217) > Caused by: java.lang.RuntimeException: Int or float buffers require 32-bit > data. > at > org.apache.xmlgraphics.image.codec.tiff.TIFFImageEncoder.validateImag > e(TIFFImageEncoder.java:983) > at > org.apache.xmlgraphics.image.codec.tiff.TIFFImageEncoder.encode(TIFFI > mageEncoder.java:198) > at > org.apache.xmlgraphics.image.codec.tiff.TIFFImageEncoder.finishMultip > le(TIFFImageEncoder.java:163) > at > org.apache.xmlgraphics.image.writer.internal.TIFFImageWriter$TIFFMult > iImageWriter.close(TIFFImageWriter.java:141) > at > org.apache.fop.render.bitmap.AbstractBitmapDocumentHandler.endDocumen > t(AbstractBitmapDocumentHandler.java:169) > at > org.apache.fop.render.intermediate.util.IFDocumentHandlerProxy.endDoc > ument(IFDocumentHandlerProxy.java:187) > at > org.apache.fop.render.intermediate.IFRenderer.stopRenderer(IFRenderer > .java:295) > at > org.apache.fop.area.RenderPagesModel.endDocument(RenderPagesModel.jav > a:265) > at > org.apache.fop.area.AreaTreeHandler.endDocument(AreaTreeHandler.java: > 342) > at org.apache.fop.fo.FOTreeBuilder.endDocument(FOTreeBuilder.java:170) > at > org.apache.xalan.transformer.TransformerIdentityImpl.endDocument(Tran > sformerIdentityImpl.java:962) > at org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown > Sourc > e) > at org.apache.xerces.xinclude.XIncludeHandler.endDocument(Unknown > Source > ) > at org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown > Sourc > e) > at org.apache.xerces.impl.XMLEntityManager.endEntity(Unknown Source) > at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source) > at org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown Source) > at > org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher. > dispatch(Unknown Source) > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un > known Source) > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) > at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown > Sour > ce) > at > org.apache.xalan.transformer.TransformerIdentityImpl.transform(Transf > ormerIdentityImpl.java:484) > at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:285) > ... 3 more > - > java.lang.RuntimeException: Int or float buffers require 32-bit data. > at > org.apache.xmlgraphics.image.codec.tiff.TIFFImageEncoder.validateImag > e(TIFFImageEncoder.java:983) > at > org.apache.xmlgraphics.image.codec.tiff.TIFFImageEncoder.encode(TIFFI > mageEncoder.java:198) > at > org.apache.xmlgraphics.image.codec.tiff.TIFFImageEncoder.finishMultip > le(TIFF
[jira] [Issue Comment Deleted] (FOP-2320) jai_imageio dependency regression from 1.1 to trunk
[ https://issues.apache.org/jira/browse/FOP-2320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] simon steiner updated FOP-2320: --- Comment: was deleted (was: I get the same error under 1.1) > jai_imageio dependency regression from 1.1 to trunk > --- > > Key: FOP-2320 > URL: https://issues.apache.org/jira/browse/FOP-2320 > Project: FOP > Issue Type: Bug >Reporter: Luis Bernardo >Priority: Minor > Attachments: image-1.1.pdf, image-trunk.pdf, image.fo, image.tiff > > > some tiff images that could be embedded in PDF with 1.1 without using > jai_imageio.jar now (in trunk) require it -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FOP-2320) jai_imageio dependency regression from 1.1 to trunk
[ https://issues.apache.org/jira/browse/FOP-2320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15081219#comment-15081219 ] simon steiner commented on FOP-2320: I get the same error under 1.1 > jai_imageio dependency regression from 1.1 to trunk > --- > > Key: FOP-2320 > URL: https://issues.apache.org/jira/browse/FOP-2320 > Project: FOP > Issue Type: Bug >Reporter: Luis Bernardo >Priority: Minor > Attachments: image-1.1.pdf, image-trunk.pdf, image.fo, image.tiff > > > some tiff images that could be embedded in PDF with 1.1 without using > jai_imageio.jar now (in trunk) require it -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FOP-2320) jai_imageio dependency regression from 1.1 to trunk
[ https://issues.apache.org/jira/browse/FOP-2320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15081224#comment-15081224 ] simon steiner commented on FOP-2320: PDF output is working for me, TIFF output fails in 1.1 and 2.0 > jai_imageio dependency regression from 1.1 to trunk > --- > > Key: FOP-2320 > URL: https://issues.apache.org/jira/browse/FOP-2320 > Project: FOP > Issue Type: Bug >Reporter: Luis Bernardo >Priority: Minor > Attachments: image-1.1.pdf, image-trunk.pdf, image.fo, image.tiff > > > some tiff images that could be embedded in PDF with 1.1 without using > jai_imageio.jar now (in trunk) require it -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Issue Comment Deleted] (FOP-2320) jai_imageio dependency regression from 1.1 to trunk
[ https://issues.apache.org/jira/browse/FOP-2320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] simon steiner updated FOP-2320: --- Comment: was deleted (was: PDF output is working for me, TIFF output fails in 1.1 and 2.0) > jai_imageio dependency regression from 1.1 to trunk > --- > > Key: FOP-2320 > URL: https://issues.apache.org/jira/browse/FOP-2320 > Project: FOP > Issue Type: Bug >Reporter: Luis Bernardo >Priority: Minor > Attachments: image-1.1.pdf, image-trunk.pdf, image.fo, image.tiff > > > some tiff images that could be embedded in PDF with 1.1 without using > jai_imageio.jar now (in trunk) require it -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (FOP-2320) "insufficient data for an image" error: jai_imageio dependency regression from 1.1 to trunk
[ https://issues.apache.org/jira/browse/FOP-2320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] simon steiner updated FOP-2320: --- Summary: "insufficient data for an image" error: jai_imageio dependency regression from 1.1 to trunk (was: jai_imageio dependency regression from 1.1 to trunk) > "insufficient data for an image" error: jai_imageio dependency regression > from 1.1 to trunk > > > Key: FOP-2320 > URL: https://issues.apache.org/jira/browse/FOP-2320 > Project: FOP > Issue Type: Bug >Reporter: Luis Bernardo >Priority: Minor > Attachments: image-1.1.pdf, image-trunk.pdf, image.fo, image.tiff > > > some tiff images that could be embedded in PDF with 1.1 without using > jai_imageio.jar now (in trunk) require it -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (FOP-2320) "insufficient data for an image" error: jai_imageio dependency regression from 1.1 to trunk
[ https://issues.apache.org/jira/browse/FOP-2320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] simon steiner updated FOP-2320: --- Description: some tiff images that could be embedded in PDF with 1.1 without using jai_imageio.jar now (in trunk) require it Adobe Reader reports "insufficient data for an image" was:some tiff images that could be embedded in PDF with 1.1 without using jai_imageio.jar now (in trunk) require it > "insufficient data for an image" error: jai_imageio dependency regression > from 1.1 to trunk > > > Key: FOP-2320 > URL: https://issues.apache.org/jira/browse/FOP-2320 > Project: FOP > Issue Type: Bug >Reporter: Luis Bernardo >Priority: Minor > Attachments: image-1.1.pdf, image-trunk.pdf, image.fo, image.tiff > > > some tiff images that could be embedded in PDF with 1.1 without using > jai_imageio.jar now (in trunk) require it > Adobe Reader reports "insufficient data for an image" -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Assigned] (FOP-2320) "insufficient data for an image" error: jai_imageio dependency regression from 1.1 to trunk
[ https://issues.apache.org/jira/browse/FOP-2320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] simon steiner reassigned FOP-2320: -- Assignee: simon steiner > "insufficient data for an image" error: jai_imageio dependency regression > from 1.1 to trunk > > > Key: FOP-2320 > URL: https://issues.apache.org/jira/browse/FOP-2320 > Project: FOP > Issue Type: Bug >Reporter: Luis Bernardo >Assignee: simon steiner >Priority: Minor > Attachments: image-1.1.pdf, image-trunk.pdf, image.fo, image.tiff > > > some tiff images that could be embedded in PDF with 1.1 without using > jai_imageio.jar now (in trunk) require it > Adobe Reader reports "insufficient data for an image" -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FOP-2320) "insufficient data for an image" error: jai_imageio dependency regression from 1.1 to trunk
[ https://issues.apache.org/jira/browse/FOP-2320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15081271#comment-15081271 ] simon steiner commented on FOP-2320: Added http://svn.apache.org/viewvc?view=revision&revision=1722889 > "insufficient data for an image" error: jai_imageio dependency regression > from 1.1 to trunk > > > Key: FOP-2320 > URL: https://issues.apache.org/jira/browse/FOP-2320 > Project: FOP > Issue Type: Bug >Reporter: Luis Bernardo >Assignee: simon steiner >Priority: Minor > Attachments: image-1.1.pdf, image-trunk.pdf, image.fo, image.tiff > > > some tiff images that could be embedded in PDF with 1.1 without using > jai_imageio.jar now (in trunk) require it > Adobe Reader reports "insufficient data for an image" -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (FOP-2320) "insufficient data for an image" error: jai_imageio dependency regression from 1.1 to trunk
[ https://issues.apache.org/jira/browse/FOP-2320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] simon steiner closed FOP-2320. -- Resolution: Fixed > "insufficient data for an image" error: jai_imageio dependency regression > from 1.1 to trunk > > > Key: FOP-2320 > URL: https://issues.apache.org/jira/browse/FOP-2320 > Project: FOP > Issue Type: Bug >Reporter: Luis Bernardo >Assignee: simon steiner >Priority: Minor > Attachments: image-1.1.pdf, image-trunk.pdf, image.fo, image.tiff > > > some tiff images that could be embedded in PDF with 1.1 without using > jai_imageio.jar now (in trunk) require it > Adobe Reader reports "insufficient data for an image" -- This message was sent by Atlassian JIRA (v6.3.4#6332)