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

PDFRenderer - Text shadow has wrong position

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.0.2
    • Fix Version/s: None
    • Component/s: Rendering
    • Labels:
      None

      Description

      The text on pdf startpage has a shadow, which is not aligned correctly and has a wrong position. The PDF and a screenshot of the result image is attached.

      We use the standard code:

      PDFRenderer pdfRenderer = new PDFRenderer(document);
      BufferedImage bim = pdfRenderer.renderImageWithDPI(0, 100, ImageType.RGB);
      ImageIOUtil.writeImage(bim, "result.png", 100);
      

        Attachments

        1. gewaesserinfo-page1.pdf
          825 kB
          Ingmar Marquardt
        2. gewaesserinfo-0.png
          1.17 MB
          Ingmar Marquardt

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                IngmarM Ingmar Marquardt
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: