ICEpdf
  1. ICEpdf
  2. PDF-1242

Font hinting initialization resulting in some glyph rendering artifacts.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.3
    • Fix Version/s: 6.3.1
    • Component/s: Font Engine
    • Labels:
      None
    • Environment:
      PRO

      Description

      A client has submitted a sample file that uses fonts that require font hinting. The are sometimes seeing glyphs that are rendered with black spots.

        Activity

        Hide
        Patrick Corless added a comment -

        This appears to have been a bug since the first release of font hinting. The Interpreter class has a few static data stores which work OK when only one font is being read at at time. However if one more threads are loading font data we can get in a situation where the cache data is in an incorrect state for the given font.

        I've refactored the Interpreter to avoid the static caches and touched a few other constructs that were suspect.

        Show
        Patrick Corless added a comment - This appears to have been a bug since the first release of font hinting. The Interpreter class has a few static data stores which work OK when only one font is being read at at time. However if one more threads are loading font data we can get in a situation where the cache data is in an incorrect state for the given font. I've refactored the Interpreter to avoid the static caches and touched a few other constructs that were suspect.
        Hide
        Patrick Corless added a comment -

        Marking as fixed.

        Show
        Patrick Corless added a comment - Marking as fixed.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: