[jira] [Commented] (FOP-2491) [PATCH] Adobe Reader error with OTF subset PDF

2015-08-12 Thread simon steiner (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14693540#comment-14693540
 ] 

simon steiner commented on FOP-2491:


Added http://svn.apache.org/viewvc?view=revision&revision=1695526

> [PATCH] Adobe Reader error with OTF subset PDF
> --
>
> Key: FOP-2491
> URL: https://issues.apache.org/jira/browse/FOP-2491
> Project: FOP
>  Issue Type: Bug
>Affects Versions: 2.0
> Environment: FOP: 2.0
> Open Font: Noto-Sans Cjk 
> (https://noto-website.storage.googleapis.com/pkgs/NotoSansCJKTC-hinted.zip)
>Reporter: Leo Yang
> Attachments: after.pdf, before.pdf, fop.xconf, svnSubset.patch, 
> test.fo
>
>
> Symptom: Based on FOP 2.0 release, the open-type font can be embedded into 
> PDF document, however, based on the testing with FOP 2.0, the 
> google-noto-sans-Cjk font cannot be embedded into PDF document.
> How to repeat:
>  1. Get FOP 2.0 library.
>  2. Get Google-Noto-Sans from 
> https://noto-website.storage.googleapis.com/pkgs/NotoSansCJKTC-hinted.zip.
>  3. Set the fop.xconf as following:
>  
>   weight="normal"/>
>  
>  4. Set the FOP as following:
>  
>  http://www.w3.org/1999/XSL/Format";>
>  
>   master-name="A4-portrait">
>  
>  
>  
>  
>  
>  Hello Noto-OTF!
>  
>  
>  
>  5. Generate the PDF, there is no error reported.
>  6. Open the PDF file in Acro-Reader, it will report the "cannot extract the 
> embedded font" error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (FOP-2491) [PATCH] Adobe Reader error with OTF subset PDF

2015-08-12 Thread simon steiner (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

simon steiner closed FOP-2491.
--
Resolution: Fixed

> [PATCH] Adobe Reader error with OTF subset PDF
> --
>
> Key: FOP-2491
> URL: https://issues.apache.org/jira/browse/FOP-2491
> Project: FOP
>  Issue Type: Bug
>Affects Versions: 2.0
> Environment: FOP: 2.0
> Open Font: Noto-Sans Cjk 
> (https://noto-website.storage.googleapis.com/pkgs/NotoSansCJKTC-hinted.zip)
>Reporter: Leo Yang
> Attachments: after.pdf, before.pdf, fop.xconf, svnSubset.patch, 
> test.fo
>
>
> Symptom: Based on FOP 2.0 release, the open-type font can be embedded into 
> PDF document, however, based on the testing with FOP 2.0, the 
> google-noto-sans-Cjk font cannot be embedded into PDF document.
> How to repeat:
>  1. Get FOP 2.0 library.
>  2. Get Google-Noto-Sans from 
> https://noto-website.storage.googleapis.com/pkgs/NotoSansCJKTC-hinted.zip.
>  3. Set the fop.xconf as following:
>  
>   weight="normal"/>
>  
>  4. Set the FOP as following:
>  
>  http://www.w3.org/1999/XSL/Format";>
>  
>   master-name="A4-portrait">
>  
>  
>  
>  
>  
>  Hello Noto-OTF!
>  
>  
>  
>  5. Generate the PDF, there is no error reported.
>  6. Open the PDF file in Acro-Reader, it will report the "cannot extract the 
> embedded font" error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FOP-2511) Null pointer exception when transforming to PDF with FOP 2.0

2015-08-13 Thread simon steiner (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14694853#comment-14694853
 ] 

simon steiner commented on FOP-2511:


Server has 
https://ci.apache.org/projects/xmlgraphics/fop/snapshots/fop-20150812-bin.zip

> Null pointer exception when transforming to PDF with FOP 2.0
> 
>
> Key: FOP-2511
> URL: https://issues.apache.org/jira/browse/FOP-2511
> Project: FOP
>  Issue Type: Bug
>Affects Versions: 2.0
> Environment: OS X 10.9.5 . Tested both with JDK 1.7.0_45 and JDK 1.6.0
>Reporter: Johan Persson
>Priority: Critical
>  Labels: fop, nullpointer
>
> When trying to transform to PDF I'm experiencing a NULL pointer exception. 
> See below. The same fo-file used as source works without problem with FOP 1.1
> The source for the fo-file is a set of DocBook 5 sources transformed using 
> XSLTproc. The fo-file that produces the crash can be found at my Google-Drive 
> at:
> https://drive.google.com/folderview?id=0BypRwfn2A3s6fnN6NW1PU1BEd3JiTzdyYlg0NjZxRTNFbFhUM21UMmw1ZUNjRGlYb1c2T28&usp=sharing
> {{java.lang.NullPointerException
>   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.NullPointerException
>   at 
> org.apache.fop.layoutmgr.list.ListItemLayoutManager.getCombinedKnuthElementsForListItem(ListItemLayoutManager.java:405)
>   at 
> org.apache.fop.layoutmgr.list.ListItemLayoutManager.getNextKnuthElements(ListItemLayoutManager.java:326)
>   at 
> org.apache.fop.layoutmgr.BlockStackingLayoutManager.getNextKnuthElements(BlockStackingLayoutManager.java:239)
>   at 
> org.apache.fop.layoutmgr.BlockStackingLayoutManager.getNextChildElements(BlockStackingLayoutManager.java:498)
>   at 
> org.apache.fop.layoutmgr.BlockStackingLayoutManager.getNextKnuthElements(BlockStackingLayoutManager.java:289)
>   at 
> org.apache.fop.layoutmgr.list.ListBlockLayoutManager.getNextKnuthElements(ListBlockLayoutManager.java:103)
>   at 
> org.apache.fop.layoutmgr.BlockStackingLayoutManager.getNextKnuthElements(BlockStackingLayoutManager.java:239)
>   at 
> org.apache.fop.layoutmgr.BlockLayoutManager.getNextChildElements(BlockLayoutManager.java:141)
>   at 
> org.apache.fop.layoutmgr.BlockStackingLayoutManager.getNextKnuthElements(BlockStackingLayoutManager.java:289)
>   at 
> org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(BlockLayoutManager.java:113)
>   at 
> org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(BlockLayoutManager.java:105)
>   at 
> org.apache.fop.layoutmgr.BlockLayoutManager.getNextChildElements(BlockLayoutManager.java:141)
>   at 
> org.apache.fop.layoutmgr.BlockStackingLayoutManager.getNextKnuthElements(BlockStackingLayoutManager.java:289)
>   at 
> org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(BlockLayoutManager.java:113)
>   at 
> org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(BlockLayoutManager.java:105)
>   at 
> org.apache.fop.layoutmgr.BlockLayoutManager.getNextChildElements(BlockLayoutManager.java:141)
>   at 
> org.apache.fop.layoutmgr.BlockStackingLayoutManager.getNextKnuthElements(BlockStackingLayoutManager.java:289)
>   at 
> org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(BlockLayoutManager.java:113)
>   at 
> org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(BlockLayoutManager.java:105)
>   at 
> org.apache.fop.layoutmgr.FlowLayoutManager.getNextChildElements(FlowLayoutManager.java:223)
>   at 
> org.apache.fop.layoutmgr.FlowLayoutManager.addChildElements(FlowLayoutManager.java:147)
>   at 
> org.apache.fop.layoutmgr.FlowLayoutManager.getNextKnuthElements(FlowLayoutManager.java:116)
>   at 
> org.apache.fop.layoutmgr.FlowLayoutManager.getNextKnuthElements(FlowLayoutManager.java:69)
>   at 
> org.apache.fop.layoutmgr.PageBreaker.getNextKnuthElements(PageBreaker.java:252)
>   at 
> org.apache.fop.layoutmgr.AbstractBreaker.getNextBlockList(AbstractBreaker.java:643)
>   at 
> org.apache.fop.layoutmgr.PageBreaker.getNextBlockList(PageBreaker.java:178)
>   at 
> org.apache.fop.layoutmgr.PageBreaker.getNextBlockList(PageBreaker.java:158)
>   at 
> org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:384)
>

[jira] [Created] (FOP-2537) Support CMYK JPEG in AFP

2015-11-10 Thread simon steiner (JIRA)
simon steiner created FOP-2537:
--

 Summary: Support CMYK JPEG in AFP
 Key: FOP-2537
 URL: https://issues.apache.org/jira/browse/FOP-2537
 Project: FOP
  Issue Type: Bug
Reporter: simon steiner
Assignee: simon steiner


CMYK JPEG to AFP was using RGB

fop test.fo -afp out.afp -c fop.xconf

Add twelvemonkey jars to fop:
common-lang-3.2.jar   imageio-jpeg-3.2.jar
imageio-core-3.2.jar  imageio-metadata-3.2.jar



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (FOP-2537) Support CMYK JPEG in AFP

2015-11-10 Thread simon steiner (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

simon steiner updated FOP-2537:
---
Attachment: test.fo
fop.xconf
Channel_digital_image_CMYK_color.jpg

> Support CMYK JPEG in AFP
> 
>
> Key: FOP-2537
> URL: https://issues.apache.org/jira/browse/FOP-2537
> Project: FOP
>  Issue Type: Bug
>        Reporter: simon steiner
>    Assignee: simon steiner
> Attachments: Channel_digital_image_CMYK_color.jpg, fop.xconf, test.fo
>
>
> CMYK JPEG to AFP was using RGB
> fop test.fo -afp out.afp -c fop.xconf
> Add twelvemonkey jars to fop:
> common-lang-3.2.jar   imageio-jpeg-3.2.jar
> imageio-core-3.2.jar  imageio-metadata-3.2.jar



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (FOP-2537) Support CMYK JPEG in AFP

2015-11-10 Thread simon steiner (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

simon steiner closed FOP-2537.
--
Resolution: Fixed

> Support CMYK JPEG in AFP
> 
>
> Key: FOP-2537
> URL: https://issues.apache.org/jira/browse/FOP-2537
> Project: FOP
>  Issue Type: Bug
>        Reporter: simon steiner
>    Assignee: simon steiner
> Attachments: Channel_digital_image_CMYK_color.jpg, fop.xconf, test.fo
>
>
> CMYK JPEG to AFP was using RGB
> fop test.fo -afp out.afp -c fop.xconf
> Add twelvemonkey jars to fop:
> common-lang-3.2.jar   imageio-jpeg-3.2.jar
> imageio-core-3.2.jar  imageio-metadata-3.2.jar



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FOP-2537) Support CMYK JPEG in AFP

2015-11-10 Thread simon steiner (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14998459#comment-14998459
 ] 

simon steiner commented on FOP-2537:


Added
http://svn.apache.org/viewvc?view=revision&revision=1713619
http://svn.apache.org/viewvc?view=revision&revision=1713620

> Support CMYK JPEG in AFP
> 
>
> Key: FOP-2537
> URL: https://issues.apache.org/jira/browse/FOP-2537
> Project: FOP
>  Issue Type: Bug
>Reporter: simon steiner
>Assignee: simon steiner
> Attachments: Channel_digital_image_CMYK_color.jpg, fop.xconf, test.fo
>
>
> CMYK JPEG to AFP was using RGB
> fop test.fo -afp out.afp -c fop.xconf
> Add twelvemonkey jars to fop:
> common-lang-3.2.jar   imageio-jpeg-3.2.jar
> imageio-core-3.2.jar  imageio-metadata-3.2.jar



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (FOP-2538) PDF to PDF OOM

2015-11-10 Thread simon steiner (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

simon steiner updated FOP-2538:
---
Attachment: PDFToPDF.java

> PDF to PDF OOM
> --
>
> Key: FOP-2538
> URL: https://issues.apache.org/jira/browse/FOP-2538
> Project: FOP
>  Issue Type: Bug
>        Reporter: simon steiner
>    Assignee: simon steiner
> Attachments: PDFToPDF.java
>
>
> If I use JVM arg -Xmx300m and PDF to PDF for over 300 PDFs I will get OOM.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (FOP-2538) PDF to PDF OOM

2015-11-10 Thread simon steiner (JIRA)
simon steiner created FOP-2538:
--

 Summary: PDF to PDF OOM
 Key: FOP-2538
 URL: https://issues.apache.org/jira/browse/FOP-2538
 Project: FOP
  Issue Type: Bug
Reporter: simon steiner
Assignee: simon steiner


If I use JVM arg -Xmx300m and PDF to PDF for over 300 PDFs I will get OOM.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FOP-2538) PDF to PDF OOM

2015-11-10 Thread simon steiner (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14998631#comment-14998631
 ] 

simon steiner commented on FOP-2538:


Added:
http://svn.apache.org/viewvc?view=revision&revision=1713640
http://svn.apache.org/viewvc?view=revision&revision=1713641

> PDF to PDF OOM
> --
>
> Key: FOP-2538
> URL: https://issues.apache.org/jira/browse/FOP-2538
> Project: FOP
>  Issue Type: Bug
>Reporter: simon steiner
>Assignee: simon steiner
> Attachments: PDFToPDF.java
>
>
> If I use JVM arg -Xmx300m and PDF to PDF for over 300 PDFs I will get OOM.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (FOP-2538) PDF to PDF OOM

2015-11-10 Thread simon steiner (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

simon steiner closed FOP-2538.
--
Resolution: Fixed

> PDF to PDF OOM
> --
>
> Key: FOP-2538
> URL: https://issues.apache.org/jira/browse/FOP-2538
> Project: FOP
>  Issue Type: Bug
>        Reporter: simon steiner
>    Assignee: simon steiner
> Attachments: PDFToPDF.java
>
>
> If I use JVM arg -Xmx300m and PDF to PDF for over 300 PDFs I will get OOM.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FOP-2534) Image disappears if its AFP file uses True Type fonts

2015-11-11 Thread simon steiner (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15000157#comment-15000157
 ] 

simon steiner commented on FOP-2534:


try using:














> Image disappears if its AFP file uses True Type fonts
> -
>
> Key: FOP-2534
> URL: https://issues.apache.org/jira/browse/FOP-2534
> Project: FOP
>  Issue Type: Bug
>  Components: renderer/afp
>Affects Versions: trunk
> Environment: Operating System: Windows XP Service Pack 3
> Platform: PC
>Reporter: Le Duy Nhac
> Attachments: bgimg72dpi.gif, fop.xconf, fop_with_TrueTypeFonts.xconf, 
> test.out.afp, test.out.fo, trebuc.ttf, trebucbd.ttf, trebucbi.ttf, 
> trebucit.ttf
>
>
> Hello,
> In the latest FOP 2.0 Release, it does not support True Type fonts (ex: 
> Trebuchet MS) in AFP and could not display special characters (ex: Euro sign 
> ) or barcodes. Then we tried with FOP Trunk - a version more recent than the 
> latest release - and it supports well True Type fonts and can display Euro 
> sign character in AFP output. But this Trunk version throws the other issue: 
> "Gif images cannot display if its AFP file uses True Type fonts".
> Could you please have a look? and How can I work around this?
> Thank you!
> An example to reproduce the issue:
> Run test: >fop -fo test.out.fo -afp test.out.afp -c 
> fop_with_TrueTypeFonts.xconf
> ---Start: test.out.fo---
> 
> http://www.w3.org/1999/XSL/Format"; 
> xmlns:ext="http://exslt.org/common";>
>   
>  page-height="301.98mm" margin-top="4.59mm" 
> margin-left="5mm"
>   margin-right="10mm" master-name="0">
>   
>   
>   
>   
>   
>  left="10mm" top="19.91mm">
>   
>src="file:./bgimg72dpi.gif" />
>   
>   
>  font-family="Trebuchet MS">
>  left="15.17mm" top="29.18mm">
>   
>   Euro Sign: 
> €
>   
>   
>
>   
>   
> 
> ---End: test.out.fo---
> ---Start: fop_with_TrueTypeFonts.xconf---
> 
> ...
> 
> 
>name="Trebuchet MS">
>weight="normal"/>
>   
>name="Trebuchet MS Bold">
>weight="bold"/>
>   
>name="Trebuchet MS Italic">
>weight="normal"/>
>   
>name="Trebuchet MS Bold Italic">
>weight="bold"/>
>   
> 
> 
> ---End: fop_with_TrueTypeFonts.xconf---



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Comment Edited] (FOP-2534) Image disappears if its AFP file uses True Type fonts

2015-11-11 Thread simon steiner (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15000157#comment-15000157
 ] 

simon steiner edited comment on FOP-2534 at 11/11/15 9:31 AM:
--

works if i use:















was (Author: ssteiner1):
try using:














> Image disappears if its AFP file uses True Type fonts
> -
>
> Key: FOP-2534
> URL: https://issues.apache.org/jira/browse/FOP-2534
> Project: FOP
>  Issue Type: Bug
>  Components: renderer/afp
>Affects Versions: trunk
> Environment: Operating System: Windows XP Service Pack 3
> Platform: PC
>Reporter: Le Duy Nhac
> Attachments: bgimg72dpi.gif, fop.xconf, fop_with_TrueTypeFonts.xconf, 
> test.out.afp, test.out.fo, trebuc.ttf, trebucbd.ttf, trebucbi.ttf, 
> trebucit.ttf
>
>
> Hello,
> In the latest FOP 2.0 Release, it does not support True Type fonts (ex: 
> Trebuchet MS) in AFP and could not display special characters (ex: Euro sign 
> ) or barcodes. Then we tried with FOP Trunk - a version more recent than the 
> latest release - and it supports well True Type fonts and can display Euro 
> sign character in AFP output. But this Trunk version throws the other issue: 
> "Gif images cannot display if its AFP file uses True Type fonts".
> Could you please have a look? and How can I work around this?
> Thank you!
> An example to reproduce the issue:
> Run test: >fop -fo test.out.fo -afp test.out.afp -c 
> fop_with_TrueTypeFonts.xconf
> ---Start: test.out.fo---
> 
> http://www.w3.org/1999/XSL/Format"; 
> xmlns:ext="http://exslt.org/common";>
>   
>  page-height="301.98mm" margin-top="4.59mm" 
> margin-left="5mm"
>   margin-right="10mm" master-name="0">
>   
>   
>   
>   
>   
>  left="10mm" top="19.91mm">
>   
>src="file:./bgimg72dpi.gif" />
>   
>   
>  font-family="Trebuchet MS">
>  left="15.17mm" top="29.18mm">
>   
>   Euro Sign: 
> €
>   
>   
>
>   
>   
> 
> ---End: test.out.fo---
> ---Start: fop_with_TrueTypeFonts.xconf---
> 
> ...
> 
> 
>name="Trebuchet MS">
>weight="normal"/>
>   
>name="Trebuchet MS Bold">
>weight="bold"/>
>   
>name="Trebuchet MS Italic">
>weight="normal"/>
>   
>name="Trebuchet MS Bold Italic">
>weight="bold"/>
>   
> 
> 
> ---End: fop_with_TrueTypeFonts.xconf---



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FOP-2534) Image disappears if its AFP file uses True Type fonts

2015-11-11 Thread simon steiner (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15000272#comment-15000272
 ] 

simon steiner commented on FOP-2534:


I view using firefox plugin:
http://support.rpp.ricoh-usa.com/internet/dcfdata.nsf/vwweb/p4000233

or
http://www.afp-lookup.com/downloads/

> Image disappears if its AFP file uses True Type fonts
> -
>
> Key: FOP-2534
> URL: https://issues.apache.org/jira/browse/FOP-2534
> Project: FOP
>  Issue Type: Bug
>  Components: renderer/afp
>Affects Versions: trunk
> Environment: Operating System: Windows XP Service Pack 3
> Platform: PC
>Reporter: Le Duy Nhac
> Attachments: AFP_issue_2015.png, bgimg72dpi.gif, 
> fop-trunk-20151013.jar, fop.xconf, fop_with_TrueTypeFonts.modif.xconf, 
> fop_with_TrueTypeFonts.xconf, test.out.afp, test.out.fo, test.out.modif.afp, 
> trebuc.ttf, trebucbd.ttf, trebucbi.ttf, trebucit.ttf
>
>
> Hello,
> In the latest FOP 2.0 Release, it does not support True Type fonts (ex: 
> Trebuchet MS) in AFP and could not display special characters (ex: Euro sign 
> ) or barcodes. Then we tried with FOP Trunk - a version more recent than the 
> latest release - and it supports well True Type fonts and can display Euro 
> sign character in AFP output. But this Trunk version throws the other issue: 
> "Gif images cannot display if its AFP file uses True Type fonts".
> Could you please have a look? and How can I work around this?
> Thank you!
> An example to reproduce the issue:
> Run test: >fop -fo test.out.fo -afp test.out.afp -c 
> fop_with_TrueTypeFonts.xconf
> ---Start: test.out.fo---
> 
> http://www.w3.org/1999/XSL/Format"; 
> xmlns:ext="http://exslt.org/common";>
>   
>  page-height="301.98mm" margin-top="4.59mm" 
> margin-left="5mm"
>   margin-right="10mm" master-name="0">
>   
>   
>   
>   
>   
>  left="10mm" top="19.91mm">
>   
>src="file:./bgimg72dpi.gif" />
>   
>   
>  font-family="Trebuchet MS">
>  left="15.17mm" top="29.18mm">
>   
>   Euro Sign: 
> €
>   
>   
>
>   
>   
> 
> ---End: test.out.fo---
> ---Start: fop_with_TrueTypeFonts.xconf---
> 
> ...
> 
> 
>name="Trebuchet MS">
>weight="normal"/>
>   
>name="Trebuchet MS Bold">
>weight="bold"/>
>   
>name="Trebuchet MS Italic">
>weight="normal"/>
>   
>name="Trebuchet MS Bold Italic">
>weight="bold"/>
>   
> 
> 
> ---End: fop_with_TrueTypeFonts.xconf---



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Comment Edited] (FOP-2534) Image disappears if its AFP file uses True Type fonts

2015-11-11 Thread simon steiner (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15000272#comment-15000272
 ] 

simon steiner edited comment on FOP-2534 at 11/11/15 11:38 AM:
---

Try using firefox plugin:
http://support.rpp.ricoh-usa.com/internet/dcfdata.nsf/vwweb/p4000233

or
http://www.afp-lookup.com/downloads/


was (Author: ssteiner1):
I view using firefox plugin:
http://support.rpp.ricoh-usa.com/internet/dcfdata.nsf/vwweb/p4000233

or
http://www.afp-lookup.com/downloads/

> Image disappears if its AFP file uses True Type fonts
> -
>
> Key: FOP-2534
> URL: https://issues.apache.org/jira/browse/FOP-2534
> Project: FOP
>  Issue Type: Bug
>  Components: renderer/afp
>Affects Versions: trunk
> Environment: Operating System: Windows XP Service Pack 3
> Platform: PC
>Reporter: Le Duy Nhac
> Attachments: AFP_issue_2015.png, bgimg72dpi.gif, 
> fop-trunk-20151013.jar, fop.xconf, fop_with_TrueTypeFonts.modif.xconf, 
> fop_with_TrueTypeFonts.xconf, test.out.afp, test.out.fo, test.out.modif.afp, 
> trebuc.ttf, trebucbd.ttf, trebucbi.ttf, trebucit.ttf
>
>
> Hello,
> In the latest FOP 2.0 Release, it does not support True Type fonts (ex: 
> Trebuchet MS) in AFP and could not display special characters (ex: Euro sign 
> ) or barcodes. Then we tried with FOP Trunk - a version more recent than the 
> latest release - and it supports well True Type fonts and can display Euro 
> sign character in AFP output. But this Trunk version throws the other issue: 
> "Gif images cannot display if its AFP file uses True Type fonts".
> Could you please have a look? and How can I work around this?
> Thank you!
> An example to reproduce the issue:
> Run test: >fop -fo test.out.fo -afp test.out.afp -c 
> fop_with_TrueTypeFonts.xconf
> ---Start: test.out.fo---
> 
> http://www.w3.org/1999/XSL/Format"; 
> xmlns:ext="http://exslt.org/common";>
>   
>  page-height="301.98mm" margin-top="4.59mm" 
> margin-left="5mm"
>   margin-right="10mm" master-name="0">
>   
>   
>   
>   
>   
>  left="10mm" top="19.91mm">
>   
>src="file:./bgimg72dpi.gif" />
>   
>   
>  font-family="Trebuchet MS">
>  left="15.17mm" top="29.18mm">
>   
>   Euro Sign: 
> €
>   
>   
>
>   
>   
> 
> ---End: test.out.fo---
> ---Start: fop_with_TrueTypeFonts.xconf---
> 
> ...
> 
> 
>name="Trebuchet MS">
>weight="normal"/>
>   
>name="Trebuchet MS Bold">
>weight="bold"/>
>   
>name="Trebuchet MS Italic">
>weight="normal"/>
>   
>name="Trebuchet MS Bold Italic">
>weight="bold"/>
>   
> 
> 
> ---End: fop_with_TrueTypeFonts.xconf---



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (FOP-2534) Image disappears if its AFP file uses True Type fonts

2015-11-12 Thread simon steiner (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

simon steiner closed FOP-2534.
--
Resolution: Not A Problem

> Image disappears if its AFP file uses True Type fonts
> -
>
> Key: FOP-2534
> URL: https://issues.apache.org/jira/browse/FOP-2534
> Project: FOP
>  Issue Type: Bug
>  Components: renderer/afp
>Affects Versions: trunk
> Environment: Operating System: Windows XP Service Pack 3
> Platform: PC
>Reporter: Le Duy Nhac
> Attachments: AFP_issue_2015.png, bgimg72dpi.gif, 
> fop-trunk-20151013.jar, fop.xconf, fop_with_TrueTypeFonts.modif.xconf, 
> fop_with_TrueTypeFonts.xconf, test.out.afp, test.out.fo, test.out.modif.afp, 
> trebuc.ttf, trebucbd.ttf, trebucbi.ttf, trebucit.ttf
>
>
> Hello,
> In the latest FOP 2.0 Release, it does not support True Type fonts (ex: 
> Trebuchet MS) in AFP and could not display special characters (ex: Euro sign 
> ) or barcodes. Then we tried with FOP Trunk - a version more recent than the 
> latest release - and it supports well True Type fonts and can display Euro 
> sign character in AFP output. But this Trunk version throws the other issue: 
> "Gif images cannot display if its AFP file uses True Type fonts".
> Could you please have a look? and How can I work around this?
> Thank you!
> An example to reproduce the issue:
> Run test: >fop -fo test.out.fo -afp test.out.afp -c 
> fop_with_TrueTypeFonts.xconf
> ---Start: test.out.fo---
> 
> http://www.w3.org/1999/XSL/Format"; 
> xmlns:ext="http://exslt.org/common";>
>   
>  page-height="301.98mm" margin-top="4.59mm" 
> margin-left="5mm"
>   margin-right="10mm" master-name="0">
>   
>   
>   
>   
>   
>  left="10mm" top="19.91mm">
>   
>src="file:./bgimg72dpi.gif" />
>   
>   
>  font-family="Trebuchet MS">
>  left="15.17mm" top="29.18mm">
>   
>   Euro Sign: 
> €
>   
>   
>
>   
>   
> 
> ---End: test.out.fo---
> ---Start: fop_with_TrueTypeFonts.xconf---
> 
> ...
> 
> 
>name="Trebuchet MS">
>weight="normal"/>
>   
>name="Trebuchet MS Bold">
>weight="bold"/>
>   
>name="Trebuchet MS Italic">
>weight="normal"/>
>   
>name="Trebuchet MS Bold Italic">
>weight="bold"/>
>   
> 
> 
> ---End: fop_with_TrueTypeFonts.xconf---



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Reopened] (FOP-2534) Image disappears if its AFP file uses True Type fonts

2015-11-12 Thread simon steiner (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

simon steiner reopened FOP-2534:


> Image disappears if its AFP file uses True Type fonts
> -
>
> Key: FOP-2534
> URL: https://issues.apache.org/jira/browse/FOP-2534
> Project: FOP
>  Issue Type: Bug
>  Components: renderer/afp
>Affects Versions: trunk
> Environment: Operating System: Windows XP Service Pack 3
> Platform: PC
>Reporter: Le Duy Nhac
> Attachments: AFP_issue_2015.png, bgimg72dpi.gif, 
> fop-trunk-20151013.jar, fop.xconf, fop_with_TrueTypeFonts.modif.xconf, 
> fop_with_TrueTypeFonts.xconf, test.out.afp, test.out.fo, test.out.modif.afp, 
> trebuc.ttf, trebucbd.ttf, trebucbi.ttf, trebucit.ttf
>
>
> Hello,
> In the latest FOP 2.0 Release, it does not support True Type fonts (ex: 
> Trebuchet MS) in AFP and could not display special characters (ex: Euro sign 
> ) or barcodes. Then we tried with FOP Trunk - a version more recent than the 
> latest release - and it supports well True Type fonts and can display Euro 
> sign character in AFP output. But this Trunk version throws the other issue: 
> "Gif images cannot display if its AFP file uses True Type fonts".
> Could you please have a look? and How can I work around this?
> Thank you!
> An example to reproduce the issue:
> Run test: >fop -fo test.out.fo -afp test.out.afp -c 
> fop_with_TrueTypeFonts.xconf
> ---Start: test.out.fo---
> 
> http://www.w3.org/1999/XSL/Format"; 
> xmlns:ext="http://exslt.org/common";>
>   
>  page-height="301.98mm" margin-top="4.59mm" 
> margin-left="5mm"
>   margin-right="10mm" master-name="0">
>   
>   
>   
>   
>   
>  left="10mm" top="19.91mm">
>   
>src="file:./bgimg72dpi.gif" />
>   
>   
>  font-family="Trebuchet MS">
>  left="15.17mm" top="29.18mm">
>   
>   Euro Sign: 
> €
>   
>   
>
>   
>   
> 
> ---End: test.out.fo---
> ---Start: fop_with_TrueTypeFonts.xconf---
> 
> ...
> 
> 
>name="Trebuchet MS">
>weight="normal"/>
>   
>name="Trebuchet MS Bold">
>weight="bold"/>
>   
>name="Trebuchet MS Italic">
>weight="normal"/>
>   
>name="Trebuchet MS Bold Italic">
>weight="bold"/>
>   
> 
> 
> ---End: fop_with_TrueTypeFonts.xconf---



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (FOP-2546) ArrayIndexOutOfBoundsException merging fonts

2015-12-02 Thread simon steiner (JIRA)
simon steiner created FOP-2546:
--

 Summary: ArrayIndexOutOfBoundsException merging fonts
 Key: FOP-2546
 URL: https://issues.apache.org/jira/browse/FOP-2546
 Project: FOP
  Issue Type: Bug
Reporter: simon steiner
Assignee: simon steiner


java.lang.ArrayIndexOutOfBoundsException: 772
at 
org.apache.fop.render.pdf.pdfbox.MergeTTFonts.createGlyf(MergeTTFonts.java:122)

fop test.fo -c fop.xconf out.pdf



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (FOP-2546) ArrayIndexOutOfBoundsException merging fonts

2015-12-02 Thread simon steiner (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

simon steiner updated FOP-2546:
---
Attachment: test.fo
fop.xconf
157631898~d63f8174.pdf
157631890~6393581c.pdf

> ArrayIndexOutOfBoundsException merging fonts
> 
>
> Key: FOP-2546
> URL: https://issues.apache.org/jira/browse/FOP-2546
> Project: FOP
>  Issue Type: Bug
>        Reporter: simon steiner
>    Assignee: simon steiner
> Attachments: 157631890~6393581c.pdf, 157631898~d63f8174.pdf, 
> fop.xconf, test.fo
>
>
> java.lang.ArrayIndexOutOfBoundsException: 772
>   at 
> org.apache.fop.render.pdf.pdfbox.MergeTTFonts.createGlyf(MergeTTFonts.java:122)
> fop test.fo -c fop.xconf out.pdf



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FOP-2546) ArrayIndexOutOfBoundsException merging fonts

2015-12-02 Thread simon steiner (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15035861#comment-15035861
 ] 

simon steiner commented on FOP-2546:


Added
http://svn.apache.org/viewvc?view=revision&revision=1717634
http://svn.apache.org/viewvc?view=revision&revision=1717631

> ArrayIndexOutOfBoundsException merging fonts
> 
>
> Key: FOP-2546
> URL: https://issues.apache.org/jira/browse/FOP-2546
> Project: FOP
>  Issue Type: Bug
>Reporter: simon steiner
>Assignee: simon steiner
> Attachments: 157631890~6393581c.pdf, 157631898~d63f8174.pdf, 
> fop.xconf, test.fo
>
>
> java.lang.ArrayIndexOutOfBoundsException: 772
>   at 
> org.apache.fop.render.pdf.pdfbox.MergeTTFonts.createGlyf(MergeTTFonts.java:122)
> fop test.fo -c fop.xconf out.pdf



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (FOP-2546) ArrayIndexOutOfBoundsException merging fonts

2015-12-02 Thread simon steiner (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

simon steiner closed FOP-2546.
--
Resolution: Fixed

> ArrayIndexOutOfBoundsException merging fonts
> 
>
> Key: FOP-2546
> URL: https://issues.apache.org/jira/browse/FOP-2546
> Project: FOP
>  Issue Type: Bug
>        Reporter: simon steiner
>    Assignee: simon steiner
> Attachments: 157631890~6393581c.pdf, 157631898~d63f8174.pdf, 
> fop.xconf, test.fo
>
>
> java.lang.ArrayIndexOutOfBoundsException: 772
>   at 
> org.apache.fop.render.pdf.pdfbox.MergeTTFonts.createGlyf(MergeTTFonts.java:122)
> fop test.fo -c fop.xconf out.pdf



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (FOP-2548) Support Barcode4J page number

2015-12-04 Thread simon steiner (JIRA)
simon steiner created FOP-2548:
--

 Summary: Support Barcode4J page number
 Key: FOP-2548
 URL: https://issues.apache.org/jira/browse/FOP-2548
 Project: FOP
  Issue Type: Bug
Reporter: simon steiner
Assignee: simon steiner


fop test.fo out.pdf



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (FOP-2548) Support Barcode4J page number

2015-12-04 Thread simon steiner (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

simon steiner updated FOP-2548:
---
Attachment: test.fo

> Support Barcode4J page number
> -
>
> Key: FOP-2548
> URL: https://issues.apache.org/jira/browse/FOP-2548
> Project: FOP
>  Issue Type: Bug
>        Reporter: simon steiner
>    Assignee: simon steiner
> Attachments: test.fo
>
>
> fop test.fo out.pdf
> http://barcode4j.sourceforge.net/2.1/fop-ext.html#Including+FOP%27s



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (FOP-2548) Support Barcode4J page number

2015-12-04 Thread simon steiner (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

simon steiner updated FOP-2548:
---
Description: 
fop test.fo out.pdf

http://barcode4j.sourceforge.net/2.1/fop-ext.html#Including+FOP%27s

  was:fop test.fo out.pdf


> Support Barcode4J page number
> -
>
> Key: FOP-2548
> URL: https://issues.apache.org/jira/browse/FOP-2548
> Project: FOP
>  Issue Type: Bug
>        Reporter: simon steiner
>    Assignee: simon steiner
> Attachments: test.fo
>
>
> fop test.fo out.pdf
> http://barcode4j.sourceforge.net/2.1/fop-ext.html#Including+FOP%27s



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (FOP-2548) Support Barcode4J page number

2015-12-04 Thread simon steiner (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

simon steiner closed FOP-2548.
--
Resolution: Fixed

> Support Barcode4J page number
> -
>
> Key: FOP-2548
> URL: https://issues.apache.org/jira/browse/FOP-2548
> Project: FOP
>  Issue Type: Bug
>        Reporter: simon steiner
>    Assignee: simon steiner
> Attachments: test.fo
>
>
> fop test.fo out.pdf
> http://barcode4j.sourceforge.net/2.1/fop-ext.html#Including+FOP%27s



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FOP-2548) Support Barcode4J page number

2015-12-04 Thread simon steiner (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15041503#comment-15041503
 ] 

simon steiner commented on FOP-2548:


Added http://svn.apache.org/viewvc?view=revision&revision=1717946

> Support Barcode4J page number
> -
>
> Key: FOP-2548
> URL: https://issues.apache.org/jira/browse/FOP-2548
> Project: FOP
>  Issue Type: Bug
>    Reporter: simon steiner
>Assignee: simon steiner
> Attachments: test.fo
>
>
> fop test.fo out.pdf
> http://barcode4j.sourceforge.net/2.1/fop-ext.html#Including+FOP%27s



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (FOP-2552) TrueType in AFP adding extra slash to end of font uri

2015-12-16 Thread simon steiner (JIRA)
simon steiner created FOP-2552:
--

 Summary: TrueType in AFP adding extra slash to end of font uri
 Key: FOP-2552
 URL: https://issues.apache.org/jira/browse/FOP-2552
 Project: FOP
  Issue Type: Bug
Reporter: simon steiner
Assignee: simon steiner


With a fop.xconf:


Fop would request from resource resolver:
Uvb_.TTF/



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FOP-2552) TrueType in AFP adding extra slash to end of font uri

2015-12-16 Thread simon steiner (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15059987#comment-15059987
 ] 

simon steiner commented on FOP-2552:


Added http://svn.eu.apache.org/viewvc?view=revision&revision=1720357

> TrueType in AFP adding extra slash to end of font uri
> -
>
> Key: FOP-2552
> URL: https://issues.apache.org/jira/browse/FOP-2552
> Project: FOP
>  Issue Type: Bug
>    Reporter: simon steiner
>Assignee: simon steiner
>
> With a fop.xconf:
> 
> Fop would request from resource resolver:
> Uvb_.TTF/



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (FOP-2552) TrueType in AFP adding extra slash to end of font uri

2015-12-16 Thread simon steiner (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

simon steiner closed FOP-2552.
--
Resolution: Fixed

> TrueType in AFP adding extra slash to end of font uri
> -
>
> Key: FOP-2552
> URL: https://issues.apache.org/jira/browse/FOP-2552
> Project: FOP
>  Issue Type: Bug
>        Reporter: simon steiner
>    Assignee: simon steiner
>
> With a fop.xconf:
> 
> Fop would request from resource resolver:
> Uvb_.TTF/



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (FOP-2545) [PATCH] FOP -print option truncates headers and footers

2015-12-16 Thread simon steiner (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

simon steiner updated FOP-2545:
---
Summary: [PATCH] FOP -print option truncates headers and footers  (was: FOP 
-print option truncates headers and footers)

> [PATCH] FOP -print option truncates headers and footers
> ---
>
> Key: FOP-2545
> URL: https://issues.apache.org/jira/browse/FOP-2545
> Project: FOP
>  Issue Type: Bug
>  Components: renderer/awt
>Affects Versions: 1.1, 2.0, trunk
> Environment: Windows 7,
> JRE 1.8
>Reporter: Luca Mambretti
> Attachments: AWTPrintRendererFixAttempt.patch, TESTFopPrint.pdf, 
> test.fo, test.pdf
>
>
> Using command line fop -print or -awt options the headers and footers of the 
> generated output gets truncated.
> Generating a pdf file with the pdf option works fine and the resulting pdf 
> contains all the required headers and footers
> I have tried FOP versions 1.1, 2.0, and the latest dev "20150902" at this 
> moment; none of them works as expected 0.95 is fine 1.0 seems fine with the 
> awt preview, but I was unable to get -print to work.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (FOP-2553) Support PDF shading to PS

2015-12-17 Thread simon steiner (JIRA)
simon steiner created FOP-2553:
--

 Summary: Support PDF shading to PS
 Key: FOP-2553
 URL: https://issues.apache.org/jira/browse/FOP-2553
 Project: FOP
  Issue Type: Bug
Reporter: simon steiner
Assignee: simon steiner


fop test.fo -ps out.ps



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (FOP-2553) Support PDF shading to PS

2015-12-17 Thread simon steiner (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

simon steiner updated FOP-2553:
---
Attachment: test.fo
input.pdf

> Support PDF shading to PS
> -
>
> Key: FOP-2553
> URL: https://issues.apache.org/jira/browse/FOP-2553
> Project: FOP
>  Issue Type: Bug
>        Reporter: simon steiner
>    Assignee: simon steiner
> Attachments: input.pdf, test.fo
>
>
> fop test.fo -ps out.ps



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FOP-2553) Support PDF shading to PS

2015-12-17 Thread simon steiner (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15061940#comment-15061940
 ] 

simon steiner commented on FOP-2553:


Added
http://svn.apache.org/viewvc?view=revision&revision=1720524
http://svn.eu.apache.org/viewvc?view=revision&revision=1720523

> Support PDF shading to PS
> -
>
> Key: FOP-2553
> URL: https://issues.apache.org/jira/browse/FOP-2553
> Project: FOP
>  Issue Type: Bug
>Reporter: simon steiner
>Assignee: simon steiner
> Attachments: input.pdf, test.fo
>
>
> fop test.fo -ps out.ps



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (FOP-2553) Support PDF shading to PS

2015-12-17 Thread simon steiner (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

simon steiner closed FOP-2553.
--
Resolution: Fixed

> Support PDF shading to PS
> -
>
> Key: FOP-2553
> URL: https://issues.apache.org/jira/browse/FOP-2553
> Project: FOP
>  Issue Type: Bug
>        Reporter: simon steiner
>    Assignee: simon steiner
> Attachments: input.pdf, test.fo
>
>
> fop test.fo -ps out.ps



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FOP-2553) Support PDF shading to PS

2015-12-17 Thread simon steiner (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15061957#comment-15061957
 ] 

simon steiner commented on FOP-2553:


Used PDFBox svn rev 1610724

> Support PDF shading to PS
> -
>
> Key: FOP-2553
> URL: https://issues.apache.org/jira/browse/FOP-2553
> Project: FOP
>  Issue Type: Bug
>    Reporter: simon steiner
>Assignee: simon steiner
> Attachments: input.pdf, test.fo
>
>
> fop test.fo -ps out.ps



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (FOP-2407) Docs examples wrong

2015-12-18 Thread simon steiner (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

simon steiner closed FOP-2407.
--
Resolution: Not A Problem

> Docs examples wrong
> ---
>
> Key: FOP-2407
> URL: https://issues.apache.org/jira/browse/FOP-2407
> Project: FOP
>  Issue Type: Bug
>        Reporter: simon steiner
>
> http://xmlgraphics.apache.org/fop/trunk/servlets.html
> has:
> FopFactory fopFactory = FopFactory.newInstance();
> api has changed



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Assigned] (FOP-2554) FopConfig permits file URI for fonts only

2015-12-18 Thread simon steiner (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

simon steiner reassigned FOP-2554:
--

Assignee: simon steiner

> FopConfig permits file URI for fonts only
> -
>
> Key: FOP-2554
> URL: https://issues.apache.org/jira/browse/FOP-2554
> Project: FOP
>  Issue Type: Bug
>  Components: font/unqualified
>Affects Versions: 2.0
> Environment: all flatforms
>Reporter: Mr. Povarnitsyn
>Assignee: simon steiner
>Priority: Minor
>  Labels: font, uri
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> config has following:
>   
>  embed-url="classpath:///fonts/arialuni.ttf">
>   
> 
> Exception on FontCache.java (line 335)
> File fontFile = new File(fontUri);
> My proposal:
> Instead:
> File fontFile = new File(fontUri);
> long lastModified = fontFile.lastModified();
> cachedFontFile = new CachedFontFile(lastModified);
> Write:
>   long lastModified = 0L;
>   if(fontUri.getScheme().equals("file")){
>   File fontFile = new File(fontUri);
>   lastModified = fontFile.lastModified(); 
>   }
> cachedFontFile = new CachedFontFile(lastModified);
> This code is working.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FOP-2554) FopConfig permits file URI for fonts only

2015-12-18 Thread simon steiner (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15063973#comment-15063973
 ] 

simon steiner commented on FOP-2554:


I think you use EnvironmentalProfileFactory.createRestrictedIO to disable font 
caching

{code}
String fopxconf = "";
ResourceResolver cloudResourceResolver = 
ResourceResolverFactory.createDefaultResourceResolver();
FopFactoryBuilder confBuilder = new FopConfParser(new 
ByteArrayInputStream(fopxconf.getBytes()),
EnvironmentalProfileFactory.createRestrictedIO(new 
File(".").toURI(), cloudResourceResolver)).getFopFactoryBuilder();
FopFactory fopFactory = confBuilder.build();
FOUserAgent foUserAgent = fopFactory.newFOUserAgent();
FileOutputStream fos = new FileOutputStream("out.png");
Fop fop = fopFactory.newFop("image/png", foUserAgent, fos);
TransformerFactory factory = TransformerFactory.newInstance();
Transformer transformer = factory.newTransformer();
Source src = new StreamSource(new ByteArrayInputStream(fo.getBytes()));
Result res = new SAXResult(fop.getDefaultHandler());
transformer.transform(src, res);
fos.close();

{code}

> FopConfig permits file URI for fonts only
> -
>
> Key: FOP-2554
> URL: https://issues.apache.org/jira/browse/FOP-2554
> Project: FOP
>  Issue Type: Bug
>  Components: font/unqualified
>Affects Versions: 2.0
> Environment: all flatforms
>Reporter: Mr. Povarnitsyn
>Assignee: simon steiner
>Priority: Minor
>  Labels: font, uri
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> config has following:
>   
>  embed-url="classpath:///fonts/arialuni.ttf">
>   
> 
> Exception on FontCache.java (line 335)
> File fontFile = new File(fontUri);
> My proposal:
> Instead:
> File fontFile = new File(fontUri);
> long lastModified = fontFile.lastModified();
> cachedFontFile = new CachedFontFile(lastModified);
> Write:
>   long lastModified = 0L;
>   if(fontUri.getScheme().equals("file")){
>   File fontFile = new File(fontUri);
>   lastModified = fontFile.lastModified(); 
>   }
> cachedFontFile = new CachedFontFile(lastModified);
> This code is working.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (FOP-2554) FopConfig permits file URI for fonts only

2015-12-18 Thread simon steiner (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

simon steiner updated FOP-2554:
---
Assignee: (was: simon steiner)

> FopConfig permits file URI for fonts only
> -
>
> Key: FOP-2554
> URL: https://issues.apache.org/jira/browse/FOP-2554
> Project: FOP
>  Issue Type: Bug
>  Components: font/unqualified
>Affects Versions: 2.0
> Environment: all flatforms
>Reporter: Mr. Povarnitsyn
>Priority: Minor
>  Labels: font, uri
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> config has following:
>   
>  embed-url="classpath:///fonts/arialuni.ttf">
>   
> 
> Exception on FontCache.java (line 335)
> File fontFile = new File(fontUri);
> My proposal:
> Instead:
> File fontFile = new File(fontUri);
> long lastModified = fontFile.lastModified();
> cachedFontFile = new CachedFontFile(lastModified);
> Write:
>   long lastModified = 0L;
>   if(fontUri.getScheme().equals("file")){
>   File fontFile = new File(fontUri);
>   lastModified = fontFile.lastModified(); 
>   }
> cachedFontFile = new CachedFontFile(lastModified);
> This code is working.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Assigned] (FOP-2547) Security: update the Xalan version shipped with FOP

2015-12-18 Thread simon steiner (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

simon steiner reassigned FOP-2547:
--

Assignee: simon steiner

> Security: update the Xalan version shipped with FOP
> ---
>
> Key: FOP-2547
> URL: https://issues.apache.org/jira/browse/FOP-2547
> Project: FOP
>  Issue Type: Bug
>Affects Versions: 2.0
>Reporter: Lars Teuber
>    Assignee: simon steiner
>Priority: Critical
>  Labels: security
>
> There is a security issue in Xalan < 2.7.2, see:
> https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-0107



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FOP-2547) Security: update the Xalan version shipped with FOP

2015-12-18 Thread simon steiner (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15063985#comment-15063985
 ] 

simon steiner commented on FOP-2547:


Added
http://svn.apache.org/viewvc?view=revision&revision=1720793

> Security: update the Xalan version shipped with FOP
> ---
>
> Key: FOP-2547
> URL: https://issues.apache.org/jira/browse/FOP-2547
> Project: FOP
>  Issue Type: Bug
>Affects Versions: 2.0
>Reporter: Lars Teuber
>Assignee: simon steiner
>Priority: Critical
>  Labels: security
>
> There is a security issue in Xalan < 2.7.2, see:
> https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-0107



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (FOP-2547) Security: update the Xalan version shipped with FOP

2015-12-18 Thread simon steiner (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

simon steiner closed FOP-2547.
--
Resolution: Fixed

> Security: update the Xalan version shipped with FOP
> ---
>
> Key: FOP-2547
> URL: https://issues.apache.org/jira/browse/FOP-2547
> Project: FOP
>  Issue Type: Bug
>Affects Versions: 2.0
>Reporter: Lars Teuber
>    Assignee: simon steiner
>Priority: Critical
>  Labels: security
>
> There is a security issue in Xalan < 2.7.2, see:
> https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-0107



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Assigned] (FOP-2543) The avalon-framework-api-4.2.0 is broken and 4.3.1 is the current version

2015-12-18 Thread simon steiner (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

simon steiner reassigned FOP-2543:
--

Assignee: simon steiner

> The avalon-framework-api-4.2.0 is broken and 4.3.1 is the current version
> -
>
> Key: FOP-2543
> URL: https://issues.apache.org/jira/browse/FOP-2543
> Project: FOP
>  Issue Type: Improvement
>  Components: unqualified
>Affects Versions: 1.1
> Environment: all
>Reporter: Ron Wheeler
>Assignee: simon steiner
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> The 4.2.0 version is broken in Maven Central and 4.3.1 is current.
> Anyone using FOP (DITA-OT for instance) has to manually exclude 4.2.0 to get 
> rid of build warnings.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FOP-2543) The avalon-framework-api-4.2.0 is broken and 4.3.1 is the current version

2015-12-18 Thread simon steiner (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15064006#comment-15064006
 ] 

simon steiner commented on FOP-2543:


Added
http://svn.apache.org/viewvc?view=revision&revision=1720799

> The avalon-framework-api-4.2.0 is broken and 4.3.1 is the current version
> -
>
> Key: FOP-2543
> URL: https://issues.apache.org/jira/browse/FOP-2543
> Project: FOP
>  Issue Type: Improvement
>  Components: unqualified
>Affects Versions: 1.1
> Environment: all
>Reporter: Ron Wheeler
>Assignee: simon steiner
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> The 4.2.0 version is broken in Maven Central and 4.3.1 is current.
> Anyone using FOP (DITA-OT for instance) has to manually exclude 4.2.0 to get 
> rid of build warnings.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (FOP-2543) The avalon-framework-api-4.2.0 is broken and 4.3.1 is the current version

2015-12-18 Thread simon steiner (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

simon steiner closed FOP-2543.
--
Resolution: Fixed

> The avalon-framework-api-4.2.0 is broken and 4.3.1 is the current version
> -
>
> Key: FOP-2543
> URL: https://issues.apache.org/jira/browse/FOP-2543
> Project: FOP
>  Issue Type: Improvement
>  Components: unqualified
>Affects Versions: 1.1
> Environment: all
>Reporter: Ron Wheeler
>Assignee: simon steiner
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> The 4.2.0 version is broken in Maven Central and 4.3.1 is current.
> Anyone using FOP (DITA-OT for instance) has to manually exclude 4.2.0 to get 
> rid of build warnings.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FOP-2532) FontCache throws java.lang.IllegalArgumentException: URI scheme is not "file" for jar embedded fonts

2015-12-18 Thread simon steiner (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15064012#comment-15064012
 ] 

simon steiner commented on FOP-2532:


See https://issues.apache.org/jira/browse/FOP-2554

> FontCache throws java.lang.IllegalArgumentException: URI scheme is not "file" 
> for jar embedded fonts
> 
>
> Key: FOP-2532
> URL: https://issues.apache.org/jira/browse/FOP-2532
> Project: FOP
>  Issue Type: Bug
>Affects Versions: 2.0
>Reporter: Brian Preuß
> Attachments: lastModified-value-on-opaque-URI.patch
>
>
> If using  fop finds fonts embedded in jar files (via 
> MANIFEST.MF entries as described at 
> http://xmlgraphics.apache.org/fop/2.0/fonts.html#autodetect) and tries to add 
> them to the font cache. This throws the following exception:
> {code}
> java.lang.IllegalArgumentException: URI scheme is not "file"
> 26677/0|  at java.io.File.(File.java:421)
> 26677/0|  at org.apache.fop.fonts.FontCache.addFont(FontCache.java:335)
> 26677/0|  at 
> org.apache.fop.fonts.autodetect.FontInfoFinder.getFontInfoFromCustomFont(FontInfoFinder.java:157)
> 26677/0|  at 
> org.apache.fop.fonts.autodetect.FontInfoFinder.find(FontInfoFinder.java:269)
> 26677/0|  at org.apache.fop.fonts.FontAdder.add(FontAdder.java:63)
> 26677/0|  at 
> org.apache.fop.fonts.FontDetectorFactory$DefaultFontDetector.detect(FontDetectorFactory.java:110)
> 26677/0|  at 
> org.apache.fop.fonts.FontManager.autoDetectFonts(FontManager.java:229)
> 26677/0|  at 
> org.apache.fop.fonts.DefaultFontConfigurator.configure(DefaultFontConfigurator.java:82)
> 26677/0|  at 
> org.apache.fop.render.PrintRendererConfigurator.getCustomFontCollection(PrintRendererConfigurator.java:147)
> 26677/0|  at 
> org.apache.fop.render.PrintRendererConfigurator.setupFontInfo(PrintRendererConfigurator.java:127)
> 26677/0|  at 
> org.apache.fop.render.intermediate.IFUtil.setupFonts(IFUtil.java:170)
> 26677/0|  at 
> org.apache.fop.render.intermediate.IFRenderer.setupFontInfo(IFRenderer.java:187)
> 26677/0|  at 
> org.apache.fop.area.RenderPagesModel.(RenderPagesModel.java:75)
> 26677/0|  at 
> org.apache.fop.area.AreaTreeHandler.setupModel(AreaTreeHandler.java:135)
> 26677/0|  at 
> org.apache.fop.area.AreaTreeHandler.(AreaTreeHandler.java:105)
> 26677/0|  at 
> org.apache.fop.render.RendererFactory.createFOEventHandler(RendererFactory.java:350)
> 26677/0|  at 
> org.apache.fop.fo.FOTreeBuilder.(FOTreeBuilder.java:107)
> 26677/0|  at org.apache.fop.apps.Fop.createDefaultHandler(Fop.java:104)
> 26677/0|  at org.apache.fop.apps.Fop.(Fop.java:78)
> 26677/0|  at org.apache.fop.apps.FOUserAgent.newFop(FOUserAgent.java:179)
> 26677/0|  at org.apache.fop.apps.FopFactory.newFop(FopFactory.java:240)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (FOP-2506) Support reusing FopFactory with different baseURLs

2015-12-18 Thread simon steiner (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

simon steiner closed FOP-2506.
--
Resolution: Won't Fix

> Support reusing FopFactory with different baseURLs
> --
>
> Key: FOP-2506
> URL: https://issues.apache.org/jira/browse/FOP-2506
> Project: FOP
>  Issue Type: Wish
>  Components: unqualified
>Affects Versions: 2.0
>Reporter: Carsten Pfeiffer
>Priority: Minor
>
> With FOP prior to 2.0 it was possible to set the baseURL used for resolving 
> resources at the user agent. This allowed reusing a single FopFactory for Fop 
> instances with different baseURLs.
> Since 2.0 FOUserAgent.setBaseURL() is not availabe anymore and it is not 
> possible to dynamically specify the baseURL for a Fop instance.
> Our use case is a single user rich client document management application 
> with a PDF export. Resuing the FopFactory is desirable in order not to parse 
> the configuration all the time, looking up fonts, etc.
> That's why I'd love to get the possibility back to dynamically specify the 
> base URL without having to re-do all the configuration and initialization.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FOP-2512) java.lang.NullPointerException: Parameter alpha must not be null

2015-12-18 Thread simon steiner (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15064020#comment-15064020
 ] 

simon steiner commented on FOP-2512:


Can this be closed?

> java.lang.NullPointerException: Parameter alpha must not be null
> 
>
> Key: FOP-2512
> URL: https://issues.apache.org/jira/browse/FOP-2512
> Project: FOP
>  Issue Type: Bug
>Affects Versions: 2.0
>Reporter: Mathieu Malaterre
> Attachments: 16x16.png, 19x13.png, 22x22.png
>
>
> fop is not capable of dealing with some PNG, it keeps on failing with:
> Error while rendering page 9
> java.lang.NullPointerException: Parameter alpha must not be null
> Exception
> java.lang.NullPointerException: Parameter alpha must not be null
> Input is:
> $ pnginfo test.png
> test.png...
>   Image Width: 411 Image Length: 225
>   Bitdepth (Bits/Sample): 8
>   Channels (Samples/Pixel): 1
>   Pixel depth (Pixel Depth): 8
>   Colour Type (Photometric Interpretation): PALETTED COLOUR with alpha (18 
> colours, 17 transparent) 
>   Image filter: Single row per byte filter 
>   Interlacing: No interlacing 
>   Compression Scheme: Deflate method 8, 32k window
>   Resolution: 0, 0 (unit unknown)
>   FillOrder: msb-to-lsb
>   Byte Order: Network (Big Endian)
>   Number of text strings: 0 of 0



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Assigned] (FOP-2485) Xalan dependency should be updated

2015-12-18 Thread simon steiner (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

simon steiner reassigned FOP-2485:
--

Assignee: simon steiner

> Xalan dependency should be updated
> --
>
> Key: FOP-2485
> URL: https://issues.apache.org/jira/browse/FOP-2485
> Project: FOP
>  Issue Type: Wish
>Affects Versions: 2.0
>Reporter: Jochen Kemnade
>    Assignee: simon steiner
>
> Fop 2.0 depends on Xalan 2.7.0 via {{batik-dom}}. Xalan 2.7.0 pulls in 
> {{xml-apis:2.0.2}}. That one overrides {{xml-apis:1.3.04}}, which is actually 
> *newer*. (see 
> http://swordsystems.com/2011/06/29/xerces-and-xml-api-dependency-hell/). 
> Updating Xalan to 2.7.2 fixes the issue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FOP-2485) Xalan dependency should be updated

2015-12-18 Thread simon steiner (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15064045#comment-15064045
 ] 

simon steiner commented on FOP-2485:


Added:
http://svn.apache.org/viewvc?view=revision&revision=1720793
http://svn.apache.org/viewvc?view=revision&revision=1720803

> Xalan dependency should be updated
> --
>
> Key: FOP-2485
> URL: https://issues.apache.org/jira/browse/FOP-2485
> Project: FOP
>  Issue Type: Wish
>Affects Versions: 2.0
>Reporter: Jochen Kemnade
>Assignee: simon steiner
>
> Fop 2.0 depends on Xalan 2.7.0 via {{batik-dom}}. Xalan 2.7.0 pulls in 
> {{xml-apis:2.0.2}}. That one overrides {{xml-apis:1.3.04}}, which is actually 
> *newer*. (see 
> http://swordsystems.com/2011/06/29/xerces-and-xml-api-dependency-hell/). 
> Updating Xalan to 2.7.2 fixes the issue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (FOP-2485) Xalan dependency should be updated

2015-12-18 Thread simon steiner (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

simon steiner closed FOP-2485.
--
Resolution: Fixed

> Xalan dependency should be updated
> --
>
> Key: FOP-2485
> URL: https://issues.apache.org/jira/browse/FOP-2485
> Project: FOP
>  Issue Type: Wish
>Affects Versions: 2.0
>Reporter: Jochen Kemnade
>    Assignee: simon steiner
>
> Fop 2.0 depends on Xalan 2.7.0 via {{batik-dom}}. Xalan 2.7.0 pulls in 
> {{xml-apis:2.0.2}}. That one overrides {{xml-apis:1.3.04}}, which is actually 
> *newer*. (see 
> http://swordsystems.com/2011/06/29/xerces-and-xml-api-dependency-hell/). 
> Updating Xalan to 2.7.2 fixes the issue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (FOP-2484) Wrong dependency versions in pom.xml

2015-12-18 Thread simon steiner (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

simon steiner closed FOP-2484.
--
Resolution: Fixed

> Wrong dependency versions in pom.xml
> 
>
> Key: FOP-2484
> URL: https://issues.apache.org/jira/browse/FOP-2484
> Project: FOP
>  Issue Type: Bug
>Affects Versions: 2.0
>Reporter: Jochen Kemnade
>
> The {{org.apache.xmlgraphics.io}} package seems to be missing completely in 
> the 2.0 JAR. This causes a {{ClassNotFoundException}} when trying to create a 
> {{org.apache.fop.apps.FopFactoryBuilder}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FOP-2464) fop 1.1 depends on unpublished avalon jars due to wrong org name or version

2015-12-18 Thread simon steiner (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15064061#comment-15064061
 ] 

simon steiner commented on FOP-2464:


This was fixed in fop 2.0

> fop 1.1 depends on unpublished avalon jars due to wrong org name or version
> ---
>
> Key: FOP-2464
> URL: https://issues.apache.org/jira/browse/FOP-2464
> Project: FOP
>  Issue Type: Bug
>Reporter: Patrick Mahoney
>
> We depend on the version of apache fop 1.1 published at 
> https://repo1.maven.org/maven2/org/apache/xmlgraphics/fop/1.1/fop-1.1.jar
> The published version of apache fop 1.1 has declared dependencies on 
> org.apache.avalon.framework:avalon-framework-api:4.2.0
> org.apache.avalon.framework:avalon-framework-impl:4.2.0
> There is no avalon-framework-api or impl jar published in the 
> org.apache.avalon.framework organization with version 4.2.0. The earliest 
> published under this orgname is 4.3.1. 
> I suspect to fix this, the dependency on the avalon framework jars could be 
> bumped to 4.3.1, and the fop jars republished, or a new version cut. 
> Alternately, the org name could be adjusted for the dependency to 
> avalon-framework, there are 4.2.0 jars under that orgname. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Issue Comment Deleted] (FOP-2464) fop 1.1 depends on unpublished avalon jars due to wrong org name or version

2015-12-18 Thread simon steiner (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2464?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

simon steiner updated FOP-2464:
---
Comment: was deleted

(was: This was fixed in fop 2.0)

> fop 1.1 depends on unpublished avalon jars due to wrong org name or version
> ---
>
> Key: FOP-2464
> URL: https://issues.apache.org/jira/browse/FOP-2464
> Project: FOP
>  Issue Type: Bug
>Reporter: Patrick Mahoney
>
> We depend on the version of apache fop 1.1 published at 
> https://repo1.maven.org/maven2/org/apache/xmlgraphics/fop/1.1/fop-1.1.jar
> The published version of apache fop 1.1 has declared dependencies on 
> org.apache.avalon.framework:avalon-framework-api:4.2.0
> org.apache.avalon.framework:avalon-framework-impl:4.2.0
> There is no avalon-framework-api or impl jar published in the 
> org.apache.avalon.framework organization with version 4.2.0. The earliest 
> published under this orgname is 4.3.1. 
> I suspect to fix this, the dependency on the avalon framework jars could be 
> bumped to 4.3.1, and the fop jars republished, or a new version cut. 
> Alternately, the org name could be adjusted for the dependency to 
> avalon-framework, there are 4.2.0 jars under that orgname. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FOP-2464) fop 1.1 depends on unpublished avalon jars due to wrong org name or version

2015-12-18 Thread simon steiner (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15064064#comment-15064064
 ] 

simon steiner commented on FOP-2464:


Don't think this is a issue with fop 2.0

> fop 1.1 depends on unpublished avalon jars due to wrong org name or version
> ---
>
> Key: FOP-2464
> URL: https://issues.apache.org/jira/browse/FOP-2464
> Project: FOP
>  Issue Type: Bug
>Reporter: Patrick Mahoney
>
> We depend on the version of apache fop 1.1 published at 
> https://repo1.maven.org/maven2/org/apache/xmlgraphics/fop/1.1/fop-1.1.jar
> The published version of apache fop 1.1 has declared dependencies on 
> org.apache.avalon.framework:avalon-framework-api:4.2.0
> org.apache.avalon.framework:avalon-framework-impl:4.2.0
> There is no avalon-framework-api or impl jar published in the 
> org.apache.avalon.framework organization with version 4.2.0. The earliest 
> published under this orgname is 4.3.1. 
> I suspect to fix this, the dependency on the avalon framework jars could be 
> bumped to 4.3.1, and the fop jars republished, or a new version cut. 
> Alternately, the org name could be adjusted for the dependency to 
> avalon-framework, there are 4.2.0 jars under that orgname. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Assigned] (FOP-2356) default JAVA_HOME is not compatible with Oracle's JDK on Mac OS X

2015-12-18 Thread simon steiner (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

simon steiner reassigned FOP-2356:
--

Assignee: simon steiner

> default JAVA_HOME is not compatible with Oracle's JDK on Mac OS X
> -
>
> Key: FOP-2356
> URL: https://issues.apache.org/jira/browse/FOP-2356
> Project: FOP
>  Issue Type: Bug
>Affects Versions: 1.1, trunk
>Reporter: Gaëtan Lehmann
>Assignee: simon steiner
>
> fop uses a java path that was specific to Apple's java and is not compatible 
> with Oracle's java.
> This problem has already been fixed in other tools - see 
> http://svn.apache.org/viewvc/ant/core/trunk/src/script/ant?r1=1238725&r2=1434680&pathrev=1434680&view=patch
>  for example.
> The same patch can be applied as is to fop.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (FOP-2356) default JAVA_HOME is not compatible with Oracle's JDK on Mac OS X

2015-12-18 Thread simon steiner (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

simon steiner closed FOP-2356.
--
Resolution: Fixed

> default JAVA_HOME is not compatible with Oracle's JDK on Mac OS X
> -
>
> Key: FOP-2356
> URL: https://issues.apache.org/jira/browse/FOP-2356
> Project: FOP
>  Issue Type: Bug
>Affects Versions: 1.1, trunk
>Reporter: Gaëtan Lehmann
>Assignee: simon steiner
>
> fop uses a java path that was specific to Apple's java and is not compatible 
> with Oracle's java.
> This problem has already been fixed in other tools - see 
> http://svn.apache.org/viewvc/ant/core/trunk/src/script/ant?r1=1238725&r2=1434680&pathrev=1434680&view=patch
>  for example.
> The same patch can be applied as is to fop.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FOP-2356) default JAVA_HOME is not compatible with Oracle's JDK on Mac OS X

2015-12-18 Thread simon steiner (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15064087#comment-15064087
 ] 

simon steiner commented on FOP-2356:


Added
http://svn.apache.org/viewvc?view=revision&revision=1720811

> default JAVA_HOME is not compatible with Oracle's JDK on Mac OS X
> -
>
> Key: FOP-2356
> URL: https://issues.apache.org/jira/browse/FOP-2356
> Project: FOP
>  Issue Type: Bug
>Affects Versions: 1.1, trunk
>Reporter: Gaëtan Lehmann
>Assignee: simon steiner
>
> fop uses a java path that was specific to Apple's java and is not compatible 
> with Oracle's java.
> This problem has already been fixed in other tools - see 
> http://svn.apache.org/viewvc/ant/core/trunk/src/script/ant?r1=1238725&r2=1434680&pathrev=1434680&view=patch
>  for example.
> The same patch can be applied as is to fop.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FOP-2255) FOP 1.1's POM file in Maven Central is wrong

2015-12-18 Thread simon steiner (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15064094#comment-15064094
 ] 

simon steiner commented on FOP-2255:


Should be fixed in fop 2.0

> FOP 1.1's POM file in Maven Central is wrong
> 
>
> Key: FOP-2255
> URL: https://issues.apache.org/jira/browse/FOP-2255
> Project: FOP
>  Issue Type: Bug
>Affects Versions: 1.1
> Environment: Maven 3
>Reporter: Markus Karg
>Priority: Blocker
>
> When trying to use FOP 1.1 from Maven Central, this will fail due to the fact 
> that its POM file is wrong. It contains a reference to:
> 
>   org.apache.avalon.framework
>   avalon-framework-api
>   4.2.0
> 
> In fact, this JAR exists, but it is not stored in the Group 
> org.apache.avalon.framework but simple in the group avalaon-framework. As a 
> result, it is impossible to use FOP 1.1 from Maven Central! :-(
> I assume that the FOP Team uploaded this POM to Maven Central, so I ask you 
> to fix this POM ASAP. :-)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Comment Edited] (FOP-2255) FOP 1.1's POM file in Maven Central is wrong

2015-12-18 Thread simon steiner (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15064094#comment-15064094
 ] 

simon steiner edited comment on FOP-2255 at 12/18/15 3:34 PM:
--

Can you try fop 2.0


was (Author: ssteiner1):
Should be fixed in fop 2.0

> FOP 1.1's POM file in Maven Central is wrong
> 
>
> Key: FOP-2255
> URL: https://issues.apache.org/jira/browse/FOP-2255
> Project: FOP
>  Issue Type: Bug
>Affects Versions: 1.1
> Environment: Maven 3
>Reporter: Markus Karg
>Priority: Blocker
>
> When trying to use FOP 1.1 from Maven Central, this will fail due to the fact 
> that its POM file is wrong. It contains a reference to:
> 
>   org.apache.avalon.framework
>   avalon-framework-api
>   4.2.0
> 
> In fact, this JAR exists, but it is not stored in the Group 
> org.apache.avalon.framework but simple in the group avalaon-framework. As a 
> result, it is impossible to use FOP 1.1 from Maven Central! :-(
> I assume that the FOP Team uploaded this POM to Maven Central, so I ask you 
> to fix this POM ASAP. :-)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (FOP-2255) FOP 1.1's POM file in Maven Central is wrong

2015-12-18 Thread simon steiner (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

simon steiner closed FOP-2255.
--
Resolution: Won't Fix

> FOP 1.1's POM file in Maven Central is wrong
> 
>
> Key: FOP-2255
> URL: https://issues.apache.org/jira/browse/FOP-2255
> Project: FOP
>  Issue Type: Bug
>Affects Versions: 1.1
> Environment: Maven 3
>Reporter: Markus Karg
>Priority: Blocker
>
> When trying to use FOP 1.1 from Maven Central, this will fail due to the fact 
> that its POM file is wrong. It contains a reference to:
> 
>   org.apache.avalon.framework
>   avalon-framework-api
>   4.2.0
> 
> In fact, this JAR exists, but it is not stored in the Group 
> org.apache.avalon.framework but simple in the group avalaon-framework. As a 
> result, it is impossible to use FOP 1.1 from Maven Central! :-(
> I assume that the FOP Team uploaded this POM to Maven Central, so I ask you 
> to fix this POM ASAP. :-)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (FOP-2464) fop 1.1 depends on unpublished avalon jars due to wrong org name or version

2015-12-18 Thread simon steiner (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2464?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

simon steiner closed FOP-2464.
--
Resolution: Won't Fix

> fop 1.1 depends on unpublished avalon jars due to wrong org name or version
> ---
>
> Key: FOP-2464
> URL: https://issues.apache.org/jira/browse/FOP-2464
> Project: FOP
>  Issue Type: Bug
>Reporter: Patrick Mahoney
>
> We depend on the version of apache fop 1.1 published at 
> https://repo1.maven.org/maven2/org/apache/xmlgraphics/fop/1.1/fop-1.1.jar
> The published version of apache fop 1.1 has declared dependencies on 
> org.apache.avalon.framework:avalon-framework-api:4.2.0
> org.apache.avalon.framework:avalon-framework-impl:4.2.0
> There is no avalon-framework-api or impl jar published in the 
> org.apache.avalon.framework organization with version 4.2.0. The earliest 
> published under this orgname is 4.3.1. 
> I suspect to fix this, the dependency on the avalon framework jars could be 
> bumped to 4.3.1, and the fop jars republished, or a new version cut. 
> Alternately, the org name could be adjusted for the dependency to 
> avalon-framework, there are 4.2.0 jars under that orgname. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FOP-2532) FontCache throws java.lang.IllegalArgumentException: URI scheme is not "file" for jar embedded fonts

2015-12-18 Thread simon steiner (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15064147#comment-15064147
 ] 

simon steiner commented on FOP-2532:


You can disable font caching using 
EnvironmentalProfileFactory.createRestrictedIO and therefore no need to modify 
fop.

> FontCache throws java.lang.IllegalArgumentException: URI scheme is not "file" 
> for jar embedded fonts
> 
>
> Key: FOP-2532
> URL: https://issues.apache.org/jira/browse/FOP-2532
> Project: FOP
>  Issue Type: Bug
>Affects Versions: 2.0
>Reporter: Brian Preuß
> Attachments: lastModified-value-on-opaque-URI.patch
>
>
> If using  fop finds fonts embedded in jar files (via 
> MANIFEST.MF entries as described at 
> http://xmlgraphics.apache.org/fop/2.0/fonts.html#autodetect) and tries to add 
> them to the font cache. This throws the following exception:
> {code}
> java.lang.IllegalArgumentException: URI scheme is not "file"
> 26677/0|  at java.io.File.(File.java:421)
> 26677/0|  at org.apache.fop.fonts.FontCache.addFont(FontCache.java:335)
> 26677/0|  at 
> org.apache.fop.fonts.autodetect.FontInfoFinder.getFontInfoFromCustomFont(FontInfoFinder.java:157)
> 26677/0|  at 
> org.apache.fop.fonts.autodetect.FontInfoFinder.find(FontInfoFinder.java:269)
> 26677/0|  at org.apache.fop.fonts.FontAdder.add(FontAdder.java:63)
> 26677/0|  at 
> org.apache.fop.fonts.FontDetectorFactory$DefaultFontDetector.detect(FontDetectorFactory.java:110)
> 26677/0|  at 
> org.apache.fop.fonts.FontManager.autoDetectFonts(FontManager.java:229)
> 26677/0|  at 
> org.apache.fop.fonts.DefaultFontConfigurator.configure(DefaultFontConfigurator.java:82)
> 26677/0|  at 
> org.apache.fop.render.PrintRendererConfigurator.getCustomFontCollection(PrintRendererConfigurator.java:147)
> 26677/0|  at 
> org.apache.fop.render.PrintRendererConfigurator.setupFontInfo(PrintRendererConfigurator.java:127)
> 26677/0|  at 
> org.apache.fop.render.intermediate.IFUtil.setupFonts(IFUtil.java:170)
> 26677/0|  at 
> org.apache.fop.render.intermediate.IFRenderer.setupFontInfo(IFRenderer.java:187)
> 26677/0|  at 
> org.apache.fop.area.RenderPagesModel.(RenderPagesModel.java:75)
> 26677/0|  at 
> org.apache.fop.area.AreaTreeHandler.setupModel(AreaTreeHandler.java:135)
> 26677/0|  at 
> org.apache.fop.area.AreaTreeHandler.(AreaTreeHandler.java:105)
> 26677/0|  at 
> org.apache.fop.render.RendererFactory.createFOEventHandler(RendererFactory.java:350)
> 26677/0|  at 
> org.apache.fop.fo.FOTreeBuilder.(FOTreeBuilder.java:107)
> 26677/0|  at org.apache.fop.apps.Fop.createDefaultHandler(Fop.java:104)
> 26677/0|  at org.apache.fop.apps.Fop.(Fop.java:78)
> 26677/0|  at org.apache.fop.apps.FOUserAgent.newFop(FOUserAgent.java:179)
> 26677/0|  at org.apache.fop.apps.FopFactory.newFop(FopFactory.java:240)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (FOP-2554) FopConfig permits file URI for fonts only

2015-12-18 Thread simon steiner (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

simon steiner closed FOP-2554.
--
Resolution: Duplicate

> FopConfig permits file URI for fonts only
> -
>
> Key: FOP-2554
> URL: https://issues.apache.org/jira/browse/FOP-2554
> Project: FOP
>  Issue Type: Bug
>  Components: font/unqualified
>Affects Versions: 2.0
> Environment: all flatforms
>Reporter: Mr. Povarnitsyn
>Priority: Minor
>  Labels: font, uri
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> config has following:
>   
>  embed-url="classpath:///fonts/arialuni.ttf">
>   
> 
> Exception on FontCache.java (line 335)
> File fontFile = new File(fontUri);
> My proposal:
> Instead:
> File fontFile = new File(fontUri);
> long lastModified = fontFile.lastModified();
> cachedFontFile = new CachedFontFile(lastModified);
> Write:
>   long lastModified = 0L;
>   if(fontUri.getScheme().equals("file")){
>   File fontFile = new File(fontUri);
>   lastModified = fontFile.lastModified(); 
>   }
> cachedFontFile = new CachedFontFile(lastModified);
> This code is working.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (FOP-2512) java.lang.NullPointerException: Parameter alpha must not be null

2015-12-18 Thread simon steiner (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

simon steiner closed FOP-2512.
--
Resolution: Fixed

> java.lang.NullPointerException: Parameter alpha must not be null
> 
>
> Key: FOP-2512
> URL: https://issues.apache.org/jira/browse/FOP-2512
> Project: FOP
>  Issue Type: Bug
>Affects Versions: 2.0
>Reporter: Mathieu Malaterre
> Attachments: 16x16.png, 19x13.png, 22x22.png
>
>
> fop is not capable of dealing with some PNG, it keeps on failing with:
> Error while rendering page 9
> java.lang.NullPointerException: Parameter alpha must not be null
> Exception
> java.lang.NullPointerException: Parameter alpha must not be null
> Input is:
> $ pnginfo test.png
> test.png...
>   Image Width: 411 Image Length: 225
>   Bitdepth (Bits/Sample): 8
>   Channels (Samples/Pixel): 1
>   Pixel depth (Pixel Depth): 8
>   Colour Type (Photometric Interpretation): PALETTED COLOUR with alpha (18 
> colours, 17 transparent) 
>   Image filter: Single row per byte filter 
>   Interlacing: No interlacing 
>   Compression Scheme: Deflate method 8, 32k window
>   Resolution: 0, 0 (unit unknown)
>   FillOrder: msb-to-lsb
>   Byte Order: Network (Big Endian)
>   Number of text strings: 0 of 0



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FOP-2555) AFP IOCA Image Data shows the message "Unknown Self Defining Field" in IPD field

2015-12-21 Thread simon steiner (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15066230#comment-15066230
 ] 

simon steiner commented on FOP-2555:


Are the files not printing?

> 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-2555) AFP IOCA Image Data shows the message "Unknown Self Defining Field" in IPD field

2015-12-21 Thread simon steiner (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15066244#comment-15066244
 ] 

simon steiner commented on FOP-2555:


The larger the image the more IPDs I would expect to see

> 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-2531) FOP 2.0 logs additional "Rendered page" messages

2015-12-21 Thread simon steiner (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15066446#comment-15066446
 ] 

simon steiner commented on FOP-2531:


what about
{code}
foUserAgent.getEventBroadcaster().addEventListener(new EventListener() {
@Override
public void processEvent(Event event) {
}
});

{code}

> FOP 2.0 logs additional "Rendered page" messages
> 
>
> Key: FOP-2531
> URL: https://issues.apache.org/jira/browse/FOP-2531
> Project: FOP
>  Issue Type: Improvement
>Affects Versions: 2.0
> Environment: Java 1.8.0_60 64 Bit
>Reporter: MH
>Priority: Minor
>
> We notice hundreds of "Rendered page #..." messages in our log files since we 
> upgraded from FOP 1.0 to FOP 2.0. Such messages also occured in earlier FOP 
> versions, but we filter them out with a custom FOP EventListener. Debugging 
> showed that our existing filter still works, i.e. there are "Rendered page #" 
> events still comming and they are filtered out. But now there are such log 
> messages with FOP 2.0 again.
> It seems that FOP 2.0 logs these messages somewhere else in addition to the 
> existing event messages. Can you tell us where this is and how we can 
> prevent/avoid/filter them?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FOP-2384) TTF and PS renderer

2015-12-21 Thread simon steiner (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15066463#comment-15066463
 ] 

simon steiner commented on FOP-2384:


Can this be closed

> TTF and PS renderer
> ---
>
> Key: FOP-2384
> URL: https://issues.apache.org/jira/browse/FOP-2384
> Project: FOP
>  Issue Type: Bug
>  Components: font/postscript
>Affects Versions: 1.1
> Environment: Operating system - windows and Linux, RAM - 2 GB or more
>Reporter: Shishir
> Fix For: 1.1
>
> Attachments: example.fo, example.ps, fontTripletTTF.xml, fop.xconf, 
> fopOutLineFonts240.xconf, scenario 1.zip, scenario 2.zip
>
>
> Hi,
> I wish to understand whether we can use TTF fonts for PS output generation or 
> not? (using FOP1.1)
> I tried few combinations and below are the findings:-
> 1)There was no issue with single page PS output if we use TTF font.
> 2)Multipage output works well in a specific scenario. It worked fine for 
> “scenario 1” whereas failed for “scenario 2”
> Scenario 1 -  All the English characters used on page 
> 2 were already used/rendered on page 1. (Please see attached scenario1.zip – 
> this includes .fo and .ps output file)
> Scenario 2 -  page 2 has some english characters 
> those are not present on page1. (Please see attached scenario2.zip – this 
> includes .fo and .ps output file)
> I have also attached .xconf and ttf fonts that we are using. Please let us 
> know if you need any more details.
> Thanks,
> Shishir



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FOP-2338) Edit PDF metadata

2015-12-21 Thread simon steiner (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15066467#comment-15066467
 ] 

simon steiner commented on FOP-2338:


fop 2 has fo extension:
{code}

http://www.w3.org/1999/XSL/Format"; 
xmlns:pdf="http://xmlgraphics.apache.org/fop/extensions/pdf";>
  

  

  
  

  
None
  

  
  

  page 1

  


{code}

> Edit PDF metadata
> -
>
> Key: FOP-2338
> URL: https://issues.apache.org/jira/browse/FOP-2338
> Project: FOP
>  Issue Type: Improvement
>Reporter: Peter Hopfgartner
>Priority: Minor
>  Labels: metadata,, print, scaling
>
> There are some use cases, where the metadata can have a significant impact on 
> the usability of a created PDF.
> As an example, for technical drawings it is generally more advisable to hint 
> the PDF viewer not to scale the content in order to respect printer margins, 
> since this changes the scale of the drawing.
> Such a hint can be specified in the meta data.
> e.g.:  
> http://stackoverflow.com/questions/4725711/set-pdf-to-print-with-no-scaling
> http://api.itextpdf.com/itext/com/itextpdf/text/pdf/interfaces/PdfViewerPreferences.html#addViewerPreference(com.itextpdf.text.pdf.PdfName,%20com.itextpdf.text.pdf.PdfObject)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Assigned] (FOP-2335) Content is missing after IPD change

2015-12-21 Thread simon steiner (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

simon steiner reassigned FOP-2335:
--

Assignee: simon steiner

> 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] [Closed] (FOP-2384) TTF and PS renderer

2015-12-22 Thread simon steiner (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

simon steiner closed FOP-2384.
--
Resolution: Not A Problem

> TTF and PS renderer
> ---
>
> Key: FOP-2384
> URL: https://issues.apache.org/jira/browse/FOP-2384
> Project: FOP
>  Issue Type: Bug
>  Components: font/postscript
>Affects Versions: 1.1
> Environment: Operating system - windows and Linux, RAM - 2 GB or more
>Reporter: Shishir
> Fix For: 1.1
>
> Attachments: example.fo, example.ps, fontTripletTTF.xml, fop.xconf, 
> fopOutLineFonts240.xconf, scenario 1.zip, scenario 2.zip
>
>
> Hi,
> I wish to understand whether we can use TTF fonts for PS output generation or 
> not? (using FOP1.1)
> I tried few combinations and below are the findings:-
> 1)There was no issue with single page PS output if we use TTF font.
> 2)Multipage output works well in a specific scenario. It worked fine for 
> “scenario 1” whereas failed for “scenario 2”
> Scenario 1 -  All the English characters used on page 
> 2 were already used/rendered on page 1. (Please see attached scenario1.zip – 
> this includes .fo and .ps output file)
> Scenario 2 -  page 2 has some english characters 
> those are not present on page1. (Please see attached scenario2.zip – this 
> includes .fo and .ps output file)
> I have also attached .xconf and ttf fonts that we are using. Please let us 
> know if you need any more details.
> Thanks,
> Shishir



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (FOP-2335) [PATCH] Content is missing after IPD change

2015-12-22 Thread simon steiner (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

simon steiner updated FOP-2335:
---
Summary: [PATCH] Content is missing after IPD change  (was: Content is 
missing after IPD change)

> [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) Content is missing after IPD change

2015-12-22 Thread simon steiner (JIRA)

 [ 
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

> 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-2335) [PATCH] Content is missing after IPD change

2015-12-22 Thread simon steiner (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15068373#comment-15068373
 ] 

simon steiner commented on FOP-2335:


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-2557) [PATCH] Adobe Reader report corrupt embedded font

2015-12-31 Thread simon steiner (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

simon steiner updated FOP-2557:
---
Summary: [PATCH] Adobe Reader report corrupt embedded font   (was: Adobe 
Reader report corrupt embedded font )

> [PATCH] Adobe Reader report corrupt embedded font 
> --
>
> Key: FOP-2557
> URL: https://issues.apache.org/jira/browse/FOP-2557
> Project: FOP
>  Issue Type: Bug
>  Components: fo/block
>Affects Versions: trunk
> Environment: Mac OSX 10.10, JDK 1.8
>Reporter: chunlinyao
> Attachments: fop.xconf, patch.txt, test_fail.xml, test_fail2.pdf, 
> test_fail2.xml, test_good.pdf, test_good.xml
>
>
> When use NotoSansCJKSc regular font, If I don't include any number the 
> embedded subset is corrupt.
> How to repeat
> 1. Get FOP from trunk@1720811
> 2. Get Font from 
> https://github.com/googlei18n/noto-cjk/blob/40d9f5b179a59a06b98373c76bdc3e2119e4e6b2/NotoSansCJKsc-Regular.otf
> 3. Use my config file and transform my fo files.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (FOP-2252) [PATCH] OpenType CFF support for FOP

2016-01-03 Thread simon steiner (JIRA)

 [ 
https://issues.apache.org/jira/browse/FOP-2252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

simon steiner closed FOP-2252.
--

> [PATCH] OpenType CFF support for FOP
> 
>
> Key: FOP-2252
> URL: https://issues.apache.org/jira/browse/FOP-2252
> Project: FOP
>  Issue Type: New Feature
>  Components: font/unqualified
>Affects Versions: trunk
>Reporter: Robert Meyer
>Assignee: Robert Meyer
> Fix For: trunk
>
> Attachments: AlexBrushRegular.otf, SourceSansProBold.otf, 
> fontbox-1.8.0-SNAPSHOT.jar, fop.xconf, output.pdf, patch-240713.diff, 
> test.fo, test.pdf
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FOP-2252) [PATCH] OpenType CFF support for FOP

2016-01-03 Thread simon steiner (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15080443#comment-15080443
 ] 

simon steiner commented on FOP-2252:


Create a new ticket about your issue please.

> [PATCH] OpenType CFF support for FOP
> 
>
> Key: FOP-2252
> URL: https://issues.apache.org/jira/browse/FOP-2252
> Project: FOP
>  Issue Type: New Feature
>  Components: font/unqualified
>Affects Versions: trunk
>Reporter: Robert Meyer
>Assignee: Robert Meyer
> Fix For: trunk
>
> Attachments: AlexBrushRegular.otf, SourceSansProBold.otf, 
> fontbox-1.8.0-SNAPSHOT.jar, fop.xconf, output.pdf, patch-240713.diff, 
> test.fo, test.pdf
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Issue Comment Deleted] (FOP-2335) [PATCH] Content is missing after IPD change

2016-01-04 Thread simon steiner (JIRA)

 [ 
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

2016-01-04 Thread simon steiner (JIRA)

 [ 
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

2016-01-04 Thread simon steiner (JIRA)

 [ 
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

2016-01-04 Thread simon steiner (JIRA)

[ 
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)


[jira] [Updated] (FOP-2559) [PATCH] Kerning doesn't work for OTF/CFF font

2016-01-04 Thread simon steiner (JIRA)

 [ 
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

2016-01-04 Thread simon steiner (JIRA)

[ 
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

[jira] [Commented] (FOP-2556) Error while generating TIFF output using FOP 2.0

2016-01-04 Thread simon steiner (JIRA)

[ 
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 
&

[jira] [Commented] (FOP-2555) AFP IOCA Image Data shows the message "Unknown Self Defining Field" in IPD field

2016-01-04 Thread simon steiner (JIRA)

[ 
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

2016-01-04 Thread simon steiner (JIRA)

[ 
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

2016-01-04 Thread simon steiner (JIRA)

[ 
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

2016-01-04 Thread simon steiner (JIRA)

 [ 
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

2016-01-04 Thread simon steiner (JIRA)

[ 
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-2556) Error while generating TIFF output using FOP 2.0

2016-01-04 Thread simon steiner (JIRA)

[ 
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

[jira] [Issue Comment Deleted] (FOP-2320) jai_imageio dependency regression from 1.1 to trunk

2016-01-04 Thread simon steiner (JIRA)

 [ 
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

2016-01-04 Thread simon steiner (JIRA)

[ 
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

2016-01-04 Thread simon steiner (JIRA)

[ 
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

2016-01-04 Thread simon steiner (JIRA)

 [ 
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

2016-01-04 Thread simon steiner (JIRA)

 [ 
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

2016-01-04 Thread simon steiner (JIRA)

 [ 
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

2016-01-04 Thread simon steiner (JIRA)

 [ 
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

2016-01-04 Thread simon steiner (JIRA)

[ 
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

2016-01-04 Thread simon steiner (JIRA)

 [ 
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)


<    1   2   3   4   5   6   7   8   9   10   >