Details
-
Type: Bug
-
Status: Closed
-
Priority: 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)
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
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Tyler Johnson
created issue -
Tyler Johnson
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [5007000000JLsah] |
Patrick Corless
made changes -
Fix Version/s | 4.3 [ 10266 ] |
Patrick Corless
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |