[jira] [Created] (FOP-2536) [PATCH] Varying table border thickness in PDF output

2015-10-21 Thread Martin Leitner (JIRA)
Martin Leitner created FOP-2536:
---

 Summary: [PATCH] Varying table border thickness in PDF output
 Key: FOP-2536
 URL: https://issues.apache.org/jira/browse/FOP-2536
 Project: FOP
  Issue Type: Improvement
  Components: renderer/pdf
Reporter: Martin Leitner


As already pointed out in a comment to the original issue, this is a problem 
with the PDF viewers. FOP generates the borders correctly. The viewers render 
border segments correctly when they are rectangles, but they make mistakes when 
the segments are more general polygons. In my patch, I am splitting the 
polygons in as many rectangles as possible, write them to the PDF, then write 
the remaining triangles.



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


[jira] [Updated] (FOP-2536) [PATCH] Varying table border thickness in PDF output

2015-10-21 Thread Martin Leitner (JIRA)

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

Martin Leitner updated FOP-2536:

Description: As already pointed out in a comment to the original issue, 
this is a problem with the PDF viewers. FOP generates the borders correctly. 
The viewers render border segments correctly when they are rectangles, but they 
make mistakes when the segments are more general polygons. In my patch, I am 
splitting the polygons into rectangles, covering as much of the polygon as 
possible, write the rectangles to the PDF, then write the remaining triangles.  
(was: As already pointed out in a comment to the original issue, this is a 
problem with the PDF viewers. FOP generates the borders correctly. The viewers 
render border segments correctly when they are rectangles, but they make 
mistakes when the segments are more general polygons. In my patch, I am 
splitting the polygons in as many rectangles as possible, write them to the 
PDF, then write the remaining triangles.)

> [PATCH] Varying table border thickness in PDF output
> 
>
> Key: FOP-2536
> URL: https://issues.apache.org/jira/browse/FOP-2536
> Project: FOP
>  Issue Type: Improvement
>  Components: renderer/pdf
>Reporter: Martin Leitner
> Attachments: patch-FOP-2434.diff
>
>
> As already pointed out in a comment to the original issue, this is a problem 
> with the PDF viewers. FOP generates the borders correctly. The viewers render 
> border segments correctly when they are rectangles, but they make mistakes 
> when the segments are more general polygons. In my patch, I am splitting the 
> polygons into rectangles, covering as much of the polygon as possible, write 
> the rectangles to the PDF, then write the remaining triangles.



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


[jira] [Updated] (FOP-2536) [PATCH] Varying table border thickness in PDF output

2015-10-21 Thread Martin Leitner (JIRA)

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

Martin Leitner updated FOP-2536:

Attachment: patch-FOP-2434.diff

> [PATCH] Varying table border thickness in PDF output
> 
>
> Key: FOP-2536
> URL: https://issues.apache.org/jira/browse/FOP-2536
> Project: FOP
>  Issue Type: Improvement
>  Components: renderer/pdf
>Reporter: Martin Leitner
> Attachments: patch-FOP-2434.diff
>
>
> As already pointed out in a comment to the original issue, this is a problem 
> with the PDF viewers. FOP generates the borders correctly. The viewers render 
> border segments correctly when they are rectangles, but they make mistakes 
> when the segments are more general polygons. In my patch, I am splitting the 
> polygons in as many rectangles as possible, write them to the PDF, then write 
> the remaining triangles.



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


[jira] [Updated] (FOP-2536) [PATCH] Varying table border thickness in PDF output

2015-10-21 Thread Martin Leitner (JIRA)

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

Martin Leitner updated FOP-2536:

Attachment: Polygon.java

> [PATCH] Varying table border thickness in PDF output
> 
>
> Key: FOP-2536
> URL: https://issues.apache.org/jira/browse/FOP-2536
> Project: FOP
>  Issue Type: Improvement
>  Components: renderer/pdf
>Reporter: Martin Leitner
> Attachments: Polygon.java, patch-FOP-2434.diff
>
>
> As already pointed out in a comment to the original issue, this is a problem 
> with the PDF viewers. FOP generates the borders correctly. The viewers render 
> border segments correctly when they are rectangles, but they make mistakes 
> when the segments are more general polygons. In my patch, I am splitting the 
> polygons into rectangles, covering as much of the polygon as possible, write 
> the rectangles to the PDF, then write the remaining triangles.



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


[jira] [Commented] (FOP-2536) [PATCH] Varying table border thickness in PDF output

2015-10-21 Thread Martin Leitner (JIRA)

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

Martin Leitner commented on FOP-2536:
-

svn diff did not include the new class in the diff, so I added the file 
separately.

> [PATCH] Varying table border thickness in PDF output
> 
>
> Key: FOP-2536
> URL: https://issues.apache.org/jira/browse/FOP-2536
> Project: FOP
>  Issue Type: Improvement
>  Components: renderer/pdf
>Reporter: Martin Leitner
> Attachments: Polygon.java, patch-FOP-2434.diff
>
>
> As already pointed out in a comment to the original issue, this is a problem 
> with the PDF viewers. FOP generates the borders correctly. The viewers render 
> border segments correctly when they are rectangles, but they make mistakes 
> when the segments are more general polygons. In my patch, I am splitting the 
> polygons into rectangles, covering as much of the polygon as possible, write 
> the rectangles to the PDF, then write the remaining triangles.



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