ICEpdf
  1. ICEpdf
  2. PDF-446

Problems rendering text encoded using PDFlib+PDI 7.0.2

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.3.2
    • Fix Version/s: 4.3.3
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      any

      Description

      The file in question is on the support drive. The PDF parses without error but only first text block is rendered. Closer inspection of the content stream shows the the font and font size is only specified for first text block. Normally the font and font size is specified at the start of new text block. This however does not seem to be causing the issue. Further investigation is need to figure out where the text is being drawn.

      I have verified that the text is correct parsed and stored in the PageText data structure and is being painted. So it is likely the text is being painted off screen or at an incorrect scale or colour.

        Activity

        Hide
        Patrick Corless added a comment -

        Figuring this one out took quite a bit of time but I found the problem. As mentioned in the original comment that the text blocks in this document did not specify the font at the start of each block. It turns out the they don't also specify the text size as well which is responsible in this case fore getting the coordinate system lined up between text blocks.

        Marking as resolved.

        Show
        Patrick Corless added a comment - Figuring this one out took quite a bit of time but I found the problem. As mentioned in the original comment that the text blocks in this document did not specify the font at the start of each block. It turns out the they don't also specify the text size as well which is responsible in this case fore getting the coordinate system lined up between text blocks. Marking as resolved.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: