ICEpdf
  1. ICEpdf
  2. PDF-1122

Japanese fonts rendered overlapping

    Details

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

      Description

      With the provided PDF file, some of the font characters are rendered overlapping each other.

        Activity

        Hide
        Patrick Corless added a comment -

        This was extremely difficult to find, after verifying quite of bit of content parser code I went a little deeper and found an issue in how we are handling the conversion of hex string to byte values.

        In this case consider [<20>-500<874020>]TJ which is a mixed byte string representation. It's composed of 20, 8740 and 20. When our HexStringObject parser hit the 20 it was appending '00' which was later parsed as two characters. This broke the layout for the page in question.

        Show
        Patrick Corless added a comment - This was extremely difficult to find, after verifying quite of bit of content parser code I went a little deeper and found an issue in how we are handling the conversion of hex string to byte values. In this case consider [<20>-500<874020>] TJ which is a mixed byte string representation. It's composed of 20, 8740 and 20. When our HexStringObject parser hit the 20 it was appending '00' which was later parsed as two characters. This broke the layout for the page in question.
        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: