ICEpdf
  1. ICEpdf
  2. PDF-864

Text not displayed on different zoom values

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.1.2
    • Fix Version/s: 6.0
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      All

      Description

      With the provided PDF file, some text isn't displayed depending on the zoom value. Zooming in and out will show some text while hiding others.

        Activity

        Arran Mccullough created issue -
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #44491 Mon Apr 13 15:48:39 MDT 2015 patrick.corless PDF-864 fixed an issue were zero ascent value was creating a bbox that was not intersecting the clip and thus not being painted at some zoom levels.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/graphics/TextSprite.java
        Hide
        Patrick Corless added a comment -

        I'm pretty sure this issue is related to a bunch of other issue related to text extraction. The font in question after being parsed is reporting a zero ascent and descent which result in a combined height of zero. I've made a few logic changes to detect the problem and try and figure out a valid height. This change fixes the bbox for the text and thus the clip is properly represented and the text will now show at any zoom.

        Show
        Patrick Corless added a comment - I'm pretty sure this issue is related to a bunch of other issue related to text extraction. The font in question after being parsed is reporting a zero ascent and descent which result in a combined height of zero. I've made a few logic changes to detect the problem and try and figure out a valid height. This change fixes the bbox for the text and thus the clip is properly represented and the text will now show at any zoom.
        Patrick Corless made changes -
        Field Original Value New Value
        Fix Version/s 5.2 [ 10970 ]
        Hide
        Patrick Corless added a comment -

        Fix appears to be valid marking as fixed.

        Show
        Patrick Corless added a comment - Fix appears to be valid marking as fixed.
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #44558 Thu Apr 23 10:04:05 MDT 2015 patrick.corless PDF-864 fixed an issue were zero ascent value was creating a bbox that was not intersecting the clip and thus not being painted at some zoom levels.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/graphics/TextSprite.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #46015 Thu Sep 24 09:15:21 MDT 2015 patrick.corless PDF-912 fixed text bounds regression as a result of a fix for PDF-864.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/graphics/TextSprite.java
        Hide
        Patrick Corless added a comment -

        Marking as closed

        Show
        Patrick Corless added a comment - Marking as closed
        Patrick Corless made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: