ICEpdf
  1. ICEpdf
  2. PDF-54

Added white space characters to Encoding maps

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.1
    • Component/s: None
    • Labels:
      None
    • Environment:
      ICEpdf OS

      Description

      Once again some help from Pedro Rivera. He has suggested to add space mapping for the white space characters 0, 9, 10, 12 and 32 (is already present) to the the StandardEncoding, MacRomanEncoding and WinAnsiEncoding tables . I had to really thing about this proposal as it is far reaching. It appears to be valid for all font types except CID types as the suggest characters codes would get mapped to other values via the toUnicode map. When a toUnicode is used we don't use the cmap tables defined in Encoding so this change should only improve glyph association. I check the code and we use the origional character code to calculate the width the associated width and not the mapped character value.

      The main reason for this proposed change is that many fonts don't have glyphs for the character codes mentioned and will put in box or '?' as a substitution, it all depends on the font program being used.

      The QA framework should show any big issue with this change.

        Activity

        Patrick Corless made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Patrick Corless made changes -
        Salesforce Case []
        Fix Version/s 3.1 [ 10181 ]
        Affects Version/s 3.0 [ 10180 ]
        Patrick Corless made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Patrick Corless made changes -
        Field Original Value New Value
        Status Open [ 1 ] In Progress [ 3 ]
        Patrick Corless created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved: