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

Tilman Hausherr edited comment on PDFBOX-1954 at 3/22/14 2:08 PM:
------------------------------------------------------------------

I took a look at the PDFBOX-1870 file. The final image is really made of six 
triangles, and then a hexagone shape is drawn in the middle. The line of the 
hexagone is white, and its surface is black. So it is the white line that is 
too small.

Both the pre-regression version and the current version have an identity CTM. 

-The difference between the two versions is that the java graphics has an scale 
of 1, while the current one has a scale of 4.16 (the number for 300dpi).- true 
but irrelevant, solution coming up

1 1 1 1 1 1 scn    <===== black
/Cs9 CS 0 0 0 0 0 0 SCN    <==== white
0 J 0 j 36 w 10 M []0 d       <===== line width is 36
450 396 m    <========== moveto
378 520.708 l    <========line
234 520.708 l
162 396 l
234 271.292 l
378 271.292 l
b     <============== Close, fill, and then stroke the path,



was (Author: tilman):
I took a look at the PDFBOX-1870 file. The final image is really made of six 
triangles, and then a hexagone shape is drawn in the middle. The line of the 
hexagone is white, and its surface is black. So it is the white line that is 
too small.

Both the pre-regression version and the current version have an identity CTM. 

-The difference between the two versions is that the java graphics has an scale 
of 1, while the current one has a scale of 4.16 (the number for 300dpi).- true 
but irrelevant, solution coming up

1 1 1 1 1 1 scn    <===== black
/Cs9 CS 0 0 0 0 0 0 SCN    <==== white
0 J 0 j 36 w 10 M []0 d       <===== line width is 36
450 396 m    <========== moveto
378 520.708 l    <========line
234 520.708 l
162 396 l
234 271.292 l
378 271.292 l
b     <============== closepath and fill


> Regression: Some lines are too small / too long
> -----------------------------------------------
>
>                 Key: PDFBOX-1954
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1954
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.0
>            Reporter: Tilman Hausherr
>            Assignee: John Hewson
>              Labels: regression
>             Fix For: 2.0.0
>
>         Attachments: PDFBOX-1794-vattenfall.pdf-1-after.png, 
> PDFBOX-1794-vattenfall.pdf-1-before.png, 
> PDFBOX-1870-DeviceN3.pdf-1-after.png, PDFBOX-1870-DeviceN3.pdf-1-before.png
>
>
> The attached images have differences in line thickness / length. The 
> vattenfall file had this problem before, it was solved in PDFBOX-1830.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to