ICEpdf
  1. ICEpdf
  2. PDF-609

Font substitution cannot be mapped if font name contains space

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.2
    • Fix Version/s: 5.0.3
    • Component/s: None
    • Labels:
      None
    • Environment:
      JAI
    • Salesforce Case Reference:

      Description

      Here is the user's description of the issue:

      I have two fonts: "GRR Fonts" and "GRR Fonts 2". Both fonts could not be found during image rendering and Lucida Bright was used as substitution.

      The following are the ICEPdf logs that I found:

      May 31, 2013 4:10:48 PM org.icepdf.core.pobjects.fonts.FontManager findFont
      FINER: ----> Found font: lucidabright family: Plain for: lucidabright- Plain
      May 31, 2013 4:10:48 PM org.icepdf.core.pobjects.fonts.FontManager getInstance
      FINE: Font Substitution: Found java font: LucidaBright for named font GRR\u00onFonts2

      May 31, 2013 4:10:48 PM org.icepdf.core.pobjects.fonts.FontManager findFont
      FINER: ----> Found font: lucidabright family: Plain for: lucidabright- Plain
      May 31, 2013 4:10:48 PM org.icepdf.core.pobjects.fonts.FontManager getInstance
      FINE: Font Substitution: Found java font: LucidaBright for named font GRR\u00onFonts

      The following items are attached:
      1. PDF document that contains characters in GRR Fonts and GRR Fonts 2
      2. ICEPdf log
      1. 12199-pdfviewerfontcache.properties
        6 kB
        Tyler Johnson
      2. 12199-icepdf.log
        3.78 MB
        Tyler Johnson

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #36355 Mon Jun 24 15:36:06 MDT 2013 patrick.corless PDF-609 updated the Name encoding to map hex digits that fall in the ascii range to chars instead of encoding them in unicode.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/Name.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #36354 Mon Jun 24 15:35:26 MDT 2013 patrick.corless PDF-609 updated the Name encoding to map hex digits that fall in the ascii range to chars instead of encoding them in unicode.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/Name.java

          People

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

            Dates

            • Created:
              Updated:
              Resolved: