Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.1.2
    • Fix Version/s: 6.1.3
    • Component/s: Core/Rendering
    • Labels:
      None
    • Environment:
      All

      Description

      With the provided PDF file, the text of the PDF is not rendered. A header image is rendered fine but not the content of the PDF.

        Activity

        Hide
        Patrick Corless added a comment -

        The PDF uses Type 3 fonts which in this case have an incorrect fontBBox entry with zero dimension. We use this data for optimized font painting, which looks a the current clip to see if the glyph's bbox intersects. In this case the height of the calculated glyphs bounds is zero and the intersection test fails.

        I've added code to handle the corner case where a font's bbox height is zero and sets it to one. This fixes the render issue and the workaround is no longer needed.

        Show
        Patrick Corless added a comment - The PDF uses Type 3 fonts which in this case have an incorrect fontBBox entry with zero dimension. We use this data for optimized font painting, which looks a the current clip to see if the glyph's bbox intersects. In this case the height of the calculated glyphs bounds is zero and the intersection test fails. I've added code to handle the corner case where a font's bbox height is zero and sets it to one. This fixes the render issue and the workaround is no longer needed.
        Hide
        Patrick Corless added a comment -

        Marking as fixed.

        Show
        Patrick Corless added a comment - Marking as fixed.

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: