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

PDFRenderer - Text shadow has wrong position

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.0.2
    • None
    • Rendering
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: