Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 4.2
-
Fix Version/s: 4.3.4
-
Component/s: Core/Parsing
-
Labels:None
-
Environment:-
Description
The attached PDF displays white as black and black as white. The user mentions that the following exception is thrown but it looks to be EJB related:
javax.ejb.EJBException: Unexpected Error
java.lang.AbstractMethodError: org.icepdf.core.pobjects.fonts.nfont.NFontTrueType.toUnicode(C)C
at org.icepdf.core.util.ContentParser.drawString(ContentParser.java:2180)
javax.ejb.EJBException: Unexpected Error
java.lang.AbstractMethodError: org.icepdf.core.pobjects.fonts.nfont.NFontTrueType.toUnicode(C)C
at org.icepdf.core.util.ContentParser.drawString(ContentParser.java:2180)
Issue Links
- depends on
-
PDF-270 PDF renders as black page
- Closed
Interestingly enough this is a jpeg that has an indexed colour model that we are trying to convert to grey colour model. I'm pretty sure we can assume that index is grey and new need to do the extra work. I've updated the code accordingly and the image renders fine but I'll still have to run the change through QA as it is high risk.