[
https://issues.apache.org/jira/browse/PDFBOX-1288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14001102#comment-14001102
]
Tilman Hausherr commented on PDFBOX-1288:
-----------------------------------------
These are the operations that are done (at any dpi, only the transform
changes). Not included here is the line width, which is 0.5. IMO the line is
within the clipping rectangle.
MoveTo (49,6059989929 , 728,5039750508)
LineTo (549,9210009929 , 728,5039750508)
LineTo (549,9210009929 , 728,0039750508)
LineTo (49,6059989929 , 728,0039750508)
ClosePath
ClipEvenOddRule
MoveTo (49,6059989929 , 728,2539750508)
LineTo (549,9210009929 , 728,2539750508)
StrokePath
MoveTo (549,9210009929 , 682,6019740508)
LineTo (49,6059989929 , 682,6019740508)
LineTo (49,6059989929 , 683,1019740508)
LineTo (549,9210009929 , 683,1019740508)
ClosePath
ClipEvenOddRule
MoveTo (49,6059989929 , 682,8519740508)
LineTo (549,9210009929 , 682,8519740508)
StrokePath
> Lines will not be printed (correctly) in case they are part of a clipping mask
> ------------------------------------------------------------------------------
>
> Key: PDFBOX-1288
> URL: https://issues.apache.org/jira/browse/PDFBOX-1288
> Project: PDFBox
> Issue Type: Bug
> Components: Rendering
> Affects Versions: 1.6.0
> Environment: Mac OS X 10.7.2, Java 1.6.0_31, FOP 1.0
> Reporter: Christoph Langheld
> Attachments: 20140226_after_printing_with_pdf_box.pdf,
> 20140226_after_printing_with_pdf_box.pdf-1.png,
> 20140226_after_printing_with_pdf_box.pdf-2.png, 20140226_original.pdf,
> 20140226_original.pdf-1.png, 20140226_original.pdf-2.png,
> after_printing_with_pdfbox.pdf, original.pdf, pdfbox-1288.pdf-1.png,
> screenshot_borders_with_wrong_size.png, test2.pdf
>
>
> In case of a PDF file that was created with FOP 1.0 and was printed with
> PDFBox, lines disappeared or lines appeared smaller. PDF files that were
> created with Adobe InDesign (e.g.) will be printed correctly.
> It has something to do with lines which are part of a clipping mask. FOP
> seems to generate a clipping mask around all kind of borders. Lines of type
> <fo:leader> appear correctly and are not part of an clipping mask.
> When printing a FOP-PDF with PDFBox, PDFBox moves the clipping mask, so the
> line is not visible anymore. Please see attached Screenshot.
> The PDF file I created with FOP is named: original.pdf
> The resulting PDF file after printing with PDFBox is named:
> after_printing_with_pdfbox.pdf
> Regards
> Christoph
--
This message was sent by Atlassian JIRA
(v6.2#6252)