Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-1288

Lines will not be printed (correctly) in case they are part of a clipping mask

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • 1.6.0
    • None
    • Rendering
    • None
    • Mac OS X 10.7.2, Java 1.6.0_31, FOP 1.0

    Description

      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

      Attachments

        1. 20140226_original-pdfbox-trunk.pdf
          278 kB
          Maruan Sahyoun
        2. original-pdfbox-trunk.pdf
          113 kB
          Maruan Sahyoun
        3. PDFBOX-677.pdf-1-before.png
          94 kB
          Tilman Hausherr
        4. PDFBOX-677.pdf-1-after.png
          94 kB
          Tilman Hausherr
        5. PDFBOX-1288.pdf-1-before.png
          27 kB
          Tilman Hausherr
        6. PDFBOX-1288.pdf-1-after.png
          27 kB
          Tilman Hausherr
        7. better-clipping-4.patch
          17 kB
          John Hewson
        8. better-clipping-3.patch
          14 kB
          John Hewson
        9. better-clipping-2.patch
          2 kB
          John Hewson
        10. better-clipping.patch
          2 kB
          John Hewson
        11. bitcoin.pdf
          180 kB
          Tilman Hausherr
        12. test2.pdf
          6 kB
          Tilman Hausherr
        13. 20140226_original.pdf-2.png
          105 kB
          Tilman Hausherr
        14. 20140226_original.pdf-1.png
          149 kB
          Tilman Hausherr
        15. 20140226_after_printing_with_pdf_box.pdf-2.png
          118 kB
          Tilman Hausherr
        16. 20140226_after_printing_with_pdf_box.pdf-1.png
          158 kB
          Tilman Hausherr
        17. 20140226_original.pdf
          9 kB
          Christoph Langheld
        18. 20140226_after_printing_with_pdf_box.pdf
          58 kB
          Christoph Langheld
        19. pdfbox-1288.pdf-1.png
          104 kB
          Tilman Hausherr
        20. screenshot_borders_with_wrong_size.png
          60 kB
          Christoph Langheld
        21. after_printing_with_pdfbox.pdf
          34 kB
          Christoph Langheld
        22. original.pdf
          7 kB
          Christoph Langheld

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            langheld Christoph Langheld

            Dates

              Created:
              Updated:

              Slack

                Issue deployment