[jira] [Updated] (FOP-2292) [PATCH] NullPointerException after page IPD change

2013-08-27 Thread Pascal Sancho (JIRA)

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

Pascal Sancho updated FOP-2292:
---

Attachment: fop.pdf

fop.pdf is what I get against v1.1 without any Exception

 [PATCH] NullPointerException after page IPD change
 --

 Key: FOP-2292
 URL: https://issues.apache.org/jira/browse/FOP-2292
 Project: Fop
  Issue Type: Bug
  Components: general
Affects Versions: 1.0
Reporter: Seifeddine Dridi
 Fix For: 1.1

 Attachments: expected.pdf, fop.pdf, idea.patch, test.fo


 The error occurs when FOP detects an IPD change and redoes phase 1 of the 
 layout process. A NullPointerException is fired in 
 getNextBlockListChangedIPD() at line 820, it seems that getPosition() is 
 returning null.
 Can anyone confirm this issue?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (FOP-2292) [PATCH] NullPointerException after page IPD change

2013-08-27 Thread Seifeddine Dridi (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13751060#comment-13751060
 ] 

Seifeddine Dridi commented on FOP-2292:
---

I've just realized that I'm using FOP 1.0beta2. Weird, it's the version I 
pulled out from trunk http://svn.apache.org/repos/asf/xmlgraphics/fop/trunk. 
Why it's not the latest version?

 [PATCH] NullPointerException after page IPD change
 --

 Key: FOP-2292
 URL: https://issues.apache.org/jira/browse/FOP-2292
 Project: Fop
  Issue Type: Bug
  Components: general
Affects Versions: 1.0
Reporter: Seifeddine Dridi
 Fix For: 1.1

 Attachments: expected.pdf, fop.pdf, idea.patch, test.fo


 The error occurs when FOP detects an IPD change and redoes phase 1 of the 
 layout process. A NullPointerException is fired in 
 getNextBlockListChangedIPD() at line 820, it seems that getPosition() is 
 returning null.
 Can anyone confirm this issue?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (FOP-2292) [PATCH] NullPointerException after page IPD change

2013-08-27 Thread Seifeddine Dridi (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13751063#comment-13751063
 ] 

Seifeddine Dridi commented on FOP-2292:
---

Even with FOP v1.1 
(http://apache.mirrors.hoobly.com/xmlgraphics/fop/binaries/), I still get an 
NPE. This doesn't make sense :/

 [PATCH] NullPointerException after page IPD change
 --

 Key: FOP-2292
 URL: https://issues.apache.org/jira/browse/FOP-2292
 Project: Fop
  Issue Type: Bug
  Components: general
Affects Versions: 1.0
Reporter: Seifeddine Dridi
 Fix For: 1.1

 Attachments: expected.pdf, fop.pdf, idea.patch, test.fo


 The error occurs when FOP detects an IPD change and redoes phase 1 of the 
 layout process. A NullPointerException is fired in 
 getNextBlockListChangedIPD() at line 820, it seems that getPosition() is 
 returning null.
 Can anyone confirm this issue?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (FOP-2292) [PATCH] NullPointerException after page IPD change

2013-08-27 Thread Vincent Hennebert (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13751080#comment-13751080
 ] 

Vincent Hennebert commented on FOP-2292:


I can reproduce it with 1.1, but not with trunk. That might have to do with 
fonts and images not being available on our systems. Could you post an updated 
example that uses only standard fonts and no images?

 [PATCH] NullPointerException after page IPD change
 --

 Key: FOP-2292
 URL: https://issues.apache.org/jira/browse/FOP-2292
 Project: Fop
  Issue Type: Bug
  Components: general
Affects Versions: 1.0
Reporter: Seifeddine Dridi
 Fix For: 1.1

 Attachments: expected.pdf, fop.pdf, idea.patch, test.fo


 The error occurs when FOP detects an IPD change and redoes phase 1 of the 
 layout process. A NullPointerException is fired in 
 getNextBlockListChangedIPD() at line 820, it seems that getPosition() is 
 returning null.
 Can anyone confirm this issue?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (FOP-2292) [PATCH] NullPointerException after page IPD change

2013-08-27 Thread Seifeddine Dridi (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13751104#comment-13751104
 ] 

Seifeddine Dridi commented on FOP-2292:
---

Great remark Vincent! The problem is with the usage of the Helvetica font. I 
replaced it with Arial and now everything works (FOP v1.1 and trunk)

 [PATCH] NullPointerException after page IPD change
 --

 Key: FOP-2292
 URL: https://issues.apache.org/jira/browse/FOP-2292
 Project: Fop
  Issue Type: Bug
  Components: general
Affects Versions: 1.0
Reporter: Seifeddine Dridi
 Fix For: 1.1

 Attachments: expected.pdf, fop.pdf, idea.patch, test.fo


 The error occurs when FOP detects an IPD change and redoes phase 1 of the 
 layout process. A NullPointerException is fired in 
 getNextBlockListChangedIPD() at line 820, it seems that getPosition() is 
 returning null.
 Can anyone confirm this issue?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (FOP-2292) [PATCH] NullPointerException after page IPD change

2013-08-27 Thread Seifeddine Dridi (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13751146#comment-13751146
 ] 

Seifeddine Dridi commented on FOP-2292:
---

Could you post an updated example that uses only standard fonts and no images?
I can do that but what's the point? 

However, I'm not sure yet if this is a FOP bug or maybe the Helvetica font on 
my system is corrupted.

 [PATCH] NullPointerException after page IPD change
 --

 Key: FOP-2292
 URL: https://issues.apache.org/jira/browse/FOP-2292
 Project: Fop
  Issue Type: Bug
  Components: general
Affects Versions: 1.0
Reporter: Seifeddine Dridi
 Fix For: 1.1

 Attachments: expected.pdf, fop.pdf, idea.patch, test.fo


 The error occurs when FOP detects an IPD change and redoes phase 1 of the 
 layout process. A NullPointerException is fired in 
 getNextBlockListChangedIPD() at line 820, it seems that getPosition() is 
 returning null.
 Can anyone confirm this issue?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (FOP-2292) [PATCH] NullPointerException after page IPD change

2013-08-27 Thread Vincent Hennebert (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13751166#comment-13751166
 ] 

Vincent Hennebert commented on FOP-2292:


The error seems to indicate a bug in FOP, I don't think the font is at cause. 
The slightly different metrics to Arial might be enough for the bug to show up 
with Helvetica and not Arial. That's why it would be good if it could be 
reproduced with Helvetica, so that it can be investigated.

 [PATCH] NullPointerException after page IPD change
 --

 Key: FOP-2292
 URL: https://issues.apache.org/jira/browse/FOP-2292
 Project: Fop
  Issue Type: Bug
  Components: general
Affects Versions: 1.0
Reporter: Seifeddine Dridi
 Fix For: 1.1

 Attachments: expected.pdf, fop.pdf, idea.patch, test.fo


 The error occurs when FOP detects an IPD change and redoes phase 1 of the 
 layout process. A NullPointerException is fired in 
 getNextBlockListChangedIPD() at line 820, it seems that getPosition() is 
 returning null.
 Can anyone confirm this issue?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (FOP-2292) [PATCH] NullPointerException after page IPD change

2013-08-27 Thread Seifeddine Dridi (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13751175#comment-13751175
 ] 

Seifeddine Dridi commented on FOP-2292:
---

That's why it would be good if it could be reproduced with Helvetica, so that 
it can be investigated.
What do you mean exactly? It is already reproducible with Helvetica.

 [PATCH] NullPointerException after page IPD change
 --

 Key: FOP-2292
 URL: https://issues.apache.org/jira/browse/FOP-2292
 Project: Fop
  Issue Type: Bug
  Components: general
Affects Versions: 1.0
Reporter: Seifeddine Dridi
 Fix For: 1.1

 Attachments: expected.pdf, fop.pdf, idea.patch, test.fo


 The error occurs when FOP detects an IPD change and redoes phase 1 of the 
 layout process. A NullPointerException is fired in 
 getNextBlockListChangedIPD() at line 820, it seems that getPosition() is 
 returning null.
 Can anyone confirm this issue?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


Re: change bar status

2013-08-27 Thread Jagman
I tried to apply your patch and its working great. Thanks for writing this. 

Currently for tables, it is rendering change-bar for each cell even if the
change-bar is applied to entire row. Could you please provide some hints on
what I need to change in the code, so that all the change-bar blocks in
table are rendered in left-most part of table and not in the middle of page
for a particular cell?

As far as I could understand your code, it seems that I need to make that
change in AbstractRenderer.java but I could not a method where I can place
the change-bar to left-most part of table instead of appearing in the
middle.

Thanks in advance,
Mandar



--
View this message in context: 
http://apache-fop.1065347.n5.nabble.com/change-bar-status-tp31788p39064.html
Sent from the FOP - Dev mailing list archive at Nabble.com.


[jira] [Created] (FOP-2294) [PATCH] Delete temp files before JVM exit

2013-08-27 Thread simon steiner (JIRA)
simon steiner created FOP-2294:
--

 Summary: [PATCH] Delete temp files before JVM exit
 Key: FOP-2294
 URL: https://issues.apache.org/jira/browse/FOP-2294
 Project: Fop
  Issue Type: Bug
Reporter: simon steiner




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (FOP-2294) [PATCH] Delete temp files before JVM exit

2013-08-27 Thread simon steiner (JIRA)

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

simon steiner updated FOP-2294:
---

Attachment: fop.xconf
test2.fo
deletetifftmptrunk.patch

 [PATCH] Delete temp files before JVM exit
 -

 Key: FOP-2294
 URL: https://issues.apache.org/jira/browse/FOP-2294
 Project: Fop
  Issue Type: Bug
Reporter: simon steiner
 Attachments: deletetifftmptrunk.patch, fop.xconf, test2.fo




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (FOP-2294) [PATCH] Delete temp files before JVM exit

2013-08-27 Thread simon steiner (JIRA)

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

simon steiner updated FOP-2294:
---

Description: 
fop test2.fo -c fop.xconf -tiff out.tiff

loads font in awt which creates tmp file not deleted before jvm exit

 [PATCH] Delete temp files before JVM exit
 -

 Key: FOP-2294
 URL: https://issues.apache.org/jira/browse/FOP-2294
 Project: Fop
  Issue Type: Bug
Reporter: simon steiner
 Attachments: deletetifftmptrunk.patch, fop.xconf, test2.fo


 fop test2.fo -c fop.xconf -tiff out.tiff
 loads font in awt which creates tmp file not deleted before jvm exit

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


Re: [VOTE] Merge Temp_FopFontsForSVG into trunk

2013-08-27 Thread Chris Bowditch

Hi Vincent,

On 21/08/2013 11:08, Vincent Hennebert wrote:

This work allows to directly use FOP-configured fonts for SVG images,
instead of trying to find, via AWT, equivalent fonts installed on the
system, and then mapping them to FOP fonts when generating the output.

Please note that this introduces a dependency on the trunk version of
Batik, with the patch from BATIK-1041 applied. That means that before
releasing the next version of FOP, a new version of Batik will have to
be released first.

This vote will run until Monday, 26 August 11:00 UTC.

+1 from me.


+1

I also share the concerns of Pascal and Clay. However, I really see that 
as a separate discussion that the PMC needs to have about the future of 
Batik. I've been meaning to start it but I'm really busy ATM. In the 
meantime there is a practical solution to the dependency issue as 
mentioned by Luis.


Thanks,
Vincent


Thanks,

Chris


RE: [VOTE] Merge Temp_FopFontsForSVG into trunk

2013-08-27 Thread Robert Meyer
+1 

I think this sounds ok based on what Luis is saying. 

 Date: Tue, 27 Aug 2013 13:25:03 +0100
 From: bowditch_ch...@hotmail.com
 To: fop-dev@xmlgraphics.apache.org
 Subject: Re: [VOTE] Merge Temp_FopFontsForSVG into trunk
 
 Hi Vincent,
 
 On 21/08/2013 11:08, Vincent Hennebert wrote:
  This work allows to directly use FOP-configured fonts for SVG images,
  instead of trying to find, via AWT, equivalent fonts installed on the
  system, and then mapping them to FOP fonts when generating the output.
 
  Please note that this introduces a dependency on the trunk version of
  Batik, with the patch from BATIK-1041 applied. That means that before
  releasing the next version of FOP, a new version of Batik will have to
  be released first.
 
  This vote will run until Monday, 26 August 11:00 UTC.
 
  +1 from me.
 
 +1
 
 I also share the concerns of Pascal and Clay. However, I really see that 
 as a separate discussion that the PMC needs to have about the future of 
 Batik. I've been meaning to start it but I'm really busy ATM. In the 
 meantime there is a practical solution to the dependency issue as 
 mentioned by Luis.
 
  Thanks,
  Vincent
 
 Thanks,
 
 Chris
  

[jira] [Commented] (FOP-2292) [PATCH] NullPointerException after page IPD change

2013-08-27 Thread Vincent Hennebert (JIRA)

[ 
https://issues.apache.org/jira/browse/FOP-2292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13751422#comment-13751422
 ] 

Vincent Hennebert commented on FOP-2292:


What I actually meant is to make it reproducible using the sans-serif font 
family. The FO you sent works fine with trunk. If you could make the bug 
reproducible with trunk, standard fonts and no images, we could find out what's 
wrong.

 [PATCH] NullPointerException after page IPD change
 --

 Key: FOP-2292
 URL: https://issues.apache.org/jira/browse/FOP-2292
 Project: Fop
  Issue Type: Bug
  Components: general
Affects Versions: 1.0
Reporter: Seifeddine Dridi
 Fix For: 1.1

 Attachments: expected.pdf, fop.pdf, idea.patch, test.fo


 The error occurs when FOP detects an IPD change and redoes phase 1 of the 
 layout process. A NullPointerException is fired in 
 getNextBlockListChangedIPD() at line 820, it seems that getPosition() is 
 returning null.
 Can anyone confirm this issue?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


Re: [VOTE] Merge Temp_FopFontsForSVG into trunk

2013-08-27 Thread Clay Leeds
Well, I don't want to be a stock in the mud so here's my unconditional +1!
;-)

Cheers!

Clay

--

My religion is simple. My religion is kindness.
- HH The Dalai Lama of Tibet

On Aug 27, 2013, at 7:08 AM, Robert Meyer rme...@hotmail.co.uk wrote:

 +1 
 
 I think this sounds ok based on what Luis is saying. 
 
  Date: Tue, 27 Aug 2013 13:25:03 +0100
  From: bowditch_ch...@hotmail.com
  To: fop-dev@xmlgraphics.apache.org
  Subject: Re: [VOTE] Merge Temp_FopFontsForSVG into trunk
  
  Hi Vincent,
  
  On 21/08/2013 11:08, Vincent Hennebert wrote:
   This work allows to directly use FOP-configured fonts for SVG images,
   instead of trying to find, via AWT, equivalent fonts installed on the
   system, and then mapping them to FOP fonts when generating the output.
  
   Please note that this introduces a dependency on the trunk version of
   Batik, with the patch from BATIK-1041 applied. That means that before
   releasing the next version of FOP, a new version of Batik will have to
   be released first.
  
   This vote will run until Monday, 26 August 11:00 UTC.
  
   +1 from me.
  
  +1
  
  I also share the concerns of Pascal and Clay. However, I really see that 
  as a separate discussion that the PMC needs to have about the future of 
  Batik. I've been meaning to start it but I'm really busy ATM. In the 
  meantime there is a practical solution to the dependency issue as 
  mentioned by Luis.
  
   Thanks,
   Vincent
  
  Thanks,
  
  Chris