ICEpdf
  1. ICEpdf
  2. PDF-277

Annotated text in PDF fails to show text on top of the highlighted area

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.4
    • Fix Version/s: 4.2.2
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      -

      Description

      The document´s title has been partly highlighted in Adobe Acrobat and is rendered correctly in reader 10. However, ICEpdf fails to render the text for the highlighted portion and it´s not clear whether the text is at all rendered.
      1. 9940.pdf
        250 kB
        Tyler Johnson
      1. adobe.jpg
        86 kB
      2. highlight.png
        100 kB
      3. ICEpdf.jpg
        24 kB

        Activity

        Hide
        Patrick Corless added a comment -

        The text in question is actually there, you can see it with text selection however it is covered up by the yellow highlight annotation. The red strikeout displays with out problem as it is supposed be drawn above the text. There is nothing in the specification on how the annotation should be drawn with regards to text. Normally annotations are drawn above the page content. We could probably do some special handling for highlight annotations which would add some transparency tot he fill. Arguable such an effect would be closer to what would be expect when highlight text with a highlighter?

        Show
        Patrick Corless added a comment - The text in question is actually there, you can see it with text selection however it is covered up by the yellow highlight annotation. The red strikeout displays with out problem as it is supposed be drawn above the text. There is nothing in the specification on how the annotation should be drawn with regards to text. Normally annotations are drawn above the page content. We could probably do some special handling for highlight annotations which would add some transparency tot he fill. Arguable such an effect would be closer to what would be expect when highlight text with a highlighter?
        Hide
        Patrick Corless added a comment -

        Addition of highlight transparency

        Show
        Patrick Corless added a comment - Addition of highlight transparency
        Hide
        Patrick Corless added a comment -

        Added a small tweak to the Annotation class to do some transparency modification to get the highlight annotation to render without obscuring the text behind it.

        Show
        Patrick Corless added a comment - Added a small tweak to the Annotation class to do some transparency modification to get the highlight annotation to render without obscuring the text behind it.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: