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

Lines vanish when printing on MacOS

    XMLWordPrintableJSON

Details

    Description

      When printing the border.fo example (converted to PDF from Apache FOP) to a 4x6 printer on a Mac, some of the lines vanish.

      Attached is a sample project which reproduces this problem:

      fop.zip

      To run the example:

      1. Install a PDF printer on the Mac
      2. Extract fop.zip and run it using maven: 
      mvn compile && mvn exec:java
      

      Expected:

      Actual:

       

      In the field, this issue may be common in scenarios where labels are obtained from shipping companies that use Apache FOP for creating the PDFs and are then printed using PDFBOX (e.g. PitneyShip).  At time of writing this, the issue seems to be specific to MacOS.

      Attachments

        1. line-widths.pdf.zip
          5 kB
          Tres Finocchiaro
        2. image-2023-11-11-18-57-39-403.png
          34 kB
          Tres Finocchiaro
        3. image-2023-11-11-18-56-24-363.png
          36 kB
          Tres Finocchiaro
        4. image-2023-11-11-18-55-20-972.png
          113 kB
          Tres Finocchiaro
        5. fop.zip
          16 kB
          Tres Finocchiaro
        6. desired.png
          57 kB
          Tres Finocchiaro
        7. actual.png
          59 kB
          Tres Finocchiaro

        Issue Links

          Activity

            People

              tilman Tilman Hausherr
              tresf Tres Finocchiaro
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: