ICEpdf
  1. ICEpdf
  2. PDF-1004

Type0 font's toUnicodeCmap not being set correctly

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.1.2
    • Fix Version/s: 6.1.3
    • Component/s: Font Engine
    • Labels:
      None
    • Environment:
      PRO

      Description

      The sample file contributed by a community memory is showing incorrect to unicode glyph mappings.

      I'll need to take a closer look but the Font class does have a valid toUnicodeCmap but it hasn't been correctly added to the Type0 embedded font.

        Activity

        Patrick Corless created issue -
        Patrick Corless made changes -
        Field Original Value New Value
        Fix Version/s 6.1.3 [ 13086 ]
        Hide
        Patrick Corless added a comment -

        Corrected an issue where the a type0 font's toUnicode value was not being correctly used, only the sub font was checked.

        Show
        Patrick Corless added a comment - Corrected an issue where the a type0 font's toUnicode value was not being correctly used, only the sub font was checked.
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49427 Fri Oct 28 14:44:20 MDT 2016 patrick.corless PDF-1004 fixed an issue with type0 fonts only checking the subfont for unicode table, added a check for valid cmaps and will also check main font for the uncode table.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/pobjects/fonts/ofont/CMap.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/pobjects/fonts/CMap.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49445 Wed Nov 02 16:09:21 MDT 2016 patrick.corless PDF-1004 removed offending JDK 5 @override call.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/pobjects/fonts/ofont/CMap.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49512 Tue Nov 08 12:37:02 MST 2016 patrick.corless PDF-1004 fixed an issue with type0 fonts only checking the subfont for unicode table, added a check for valid cmaps and will also check main font for the uncode table.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/fonts/ofont/CMap.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/fonts/CMap.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49522 Tue Nov 08 13:02:19 MST 2016 patrick.corless PDF-1004 removed offending JDK 5 @override call.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/fonts/ofont/CMap.java
        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: