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

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

        Issue Links

          Activity

            People

              Unassigned Unassigned
              langheld Christoph Langheld
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: