ICEpdf
  1. ICEpdf
  2. PDF-1189

Large number of spaces being inserted on seemingly simple PDF

    Details

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

      Description

      The PDF in question plots out text one character at a time which seems to be giving our auto space algorithm some grief.

      Disabling auto space insertion with org.icepdf.core.views.page.text.autoSpace=false make the text selection feel a little more natural but the output has no spaces....

      The test cases is fairly simple from an encoding point of view and should be relatively easy to debug and hopefully improve our auto space calculation.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #51965 Thu Sep 28 14:04:51 MDT 2017 patrick.corless PDF-1189 reverted 1.8 generics declaration
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-6.2.0/icepdf/core/src/org/icepdf/core/pobjects/graphics/text/LineText.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #51962 Thu Sep 28 13:50:07 MDT 2017 patrick.corless creation of patch build for PDF-1189
        Files Changed
        Commit graph ADD /icepdf/tags/icepdf-6.2.5_1189
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #51959 Thu Sep 28 10:38:59 MDT 2017 patrick.corless PDF-1189 potential fix for extra spaces being added when text order
        isn't left to right.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/core-awt/src/main/java/org/icepdf/core/pobjects/graphics/text/LineText.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/core-awt/src/main/java/org/icepdf/core/pobjects/graphics/text/WordText.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #51958 Thu Sep 28 10:38:35 MDT 2017 patrick.corless PDF-1189 potential fix for extra spaces being added when text order
        isn't left to right.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-6.2.0/icepdf/core/src/org/icepdf/core/pobjects/graphics/text/LineText.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.2.0/icepdf/core/src/org/icepdf/core/pobjects/graphics/text/WordText.java

          People

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

            Dates

            • Created:
              Updated:
              Resolved: