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

DrawPrintTextLocations should limit bbox paint to font bbox when type 3 font has incorrect large glyph bbox

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.6
    • Fix Version/s: 2.0.7, 3.0.0 PDFBox
    • Component/s: Utilities
    • Labels:

      Description

      The cyan rectangle should not be larger than the font bbox. In the attached file, the indidual glyph bboxes are all too large. Also add a comment that calculating glyph bounds for type 3 fonts is futile.

      Initial report by Esteban Nicolas Ruiz is here.

        Attachments

        1. boxissue_type3_font.pdf
          183 kB
          Tilman Hausherr
        2. boxissue_type3_font-marked-1.png
          33 kB
          Tilman Hausherr

          Activity

            People

            • Assignee:
              tilman Tilman Hausherr
              Reporter:
              tilman Tilman Hausherr
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: