ICEpdf
  1. ICEpdf
  2. PDF-346

Cannot display German umlauts

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.2.2
    • Fix Version/s: 4.3
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      -

      Description

      The attached PDF does not render and throws the following exception:

      FINE: Error initializing Page.
      java.lang.ClassCastException: org.icepdf.core.pobjects.fonts.nfont.NFontType1 cannot be cast to org.icepdf.core.pobjects.fonts.nfont.NFontTrueType
      at org.icepdf.core.pobjects.fonts.nfont.Font.init(Unknown Source)
      at org.icepdf.core.pobjects.fonts.nfont.Font.init(Unknown Source)
      at org.icepdf.core.pobjects.Resources.getFont(Resources.java:240)
      at org.icepdf.core.util.ContentParser.consume_Tf(ContentParser.java:2079)
      at org.icepdf.core.util.ContentParser.parseText(ContentParser.java:1085)
      at org.icepdf.core.util.ContentParser.parse(ContentParser.java:277)
      at org.icepdf.core.pobjects.Page.init(Page.java:390)
      at org.icepdf.core.views.swing.PageViewComponentImpl$PageInitilizer.run(PageViewComponentImpl.java:1077)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:680)

        Activity

        Hide
        Patrick Corless added a comment -

        This appears to have been fixed with changes made for PDF-354. Marking as resolved.

        Show
        Patrick Corless added a comment - This appears to have been fixed with changes made for PDF-354 . Marking as resolved.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: