Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.0.0_P01
    • Fix Version/s: 6.0.1
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      OS

      Description

      A user reported via the forms an issue with glyph spacing using the open source version. I took a closer look and it appears there is an issue with a cache we use to store the glyph advance. The cache should be cleared when the font size is change but this isn't happening correctly and as a result the advance is being saved across a font's size change.

      In the file in question the 12pt is rendered first followed by the 13pt and thus rendered using the incorrect advance

        Activity

        Patrick Corless created issue -
        Patrick Corless made changes -
        Field Original Value New Value
        Fix Version/s 6.0.1 [ 12071 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #46177 Thu Nov 05 10:13:26 MST 2015 patrick.corless PDF-935 fixed a font advance cache issue which was causing some layout issue in a few corner cases.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-6.0.0_P01/icepdf/core/src/org/icepdf/core/pobjects/fonts/ofont/OFont.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #46178 Thu Nov 05 10:13:46 MST 2015 patrick.corless PDF-935 fixed a font advance cache issue which was causing some layout issue in a few corner cases.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/fonts/ofont/OFont.java
        Hide
        Patrick Corless added a comment -

        Marking as fixed.

        Show
        Patrick Corless added a comment - Marking as fixed.
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Patrick Corless made changes -
        Description A user reported via the forms an issue with glyph spacing using the open source version. I took a closer look and it appears there is an issue with a cache we use to store the glyph advance. The cache should be cleared when the font size is change but this isn't happening correctly and as a result the advance is being saved across a font's size change.

        In the file in question the 13pt is rendered first followed by the 12pt and thus rendered using the incorrect advanc.e
        A user reported via the forms an issue with glyph spacing using the open source version. I took a closer look and it appears there is an issue with a cache we use to store the glyph advance. The cache should be cleared when the font size is change but this isn't happening correctly and as a result the advance is being saved across a font's size change.

        In the file in question the 12pt is rendered first followed by the 13pt and thus rendered using the incorrect advance
        Patrick Corless made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: