Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5.0.2
-
Fix Version/s: 5.0.3
-
Component/s: Core/Parsing
-
Labels:None
-
Environment:Pro, JAI
-
Salesforce Case Reference:
Description
The user has a number of fonts installed on their application server and are currently testing to see if they can be correctly converted into an image via ICEpdf. What they're seeing is that single and double quotes in certain fonts cannot be converted. I see different results when viewing this PDF and am likely missing some of the required fonts libraries. For me, the PDF does not render at first and throws the following exceptions:
FINE: Could not create instance oof font file 0
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces
sorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc
torAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.icepdf.core.pobjects.fonts.FontFactory.createFontFile(FontFactory.java:2
09)
at org.icepdf.core.pobjects.fonts.FontFactory.createFontFile(FontFactory.java:1
91)
After switching between pages, the 1st page then appears but only partially renders. Attached are the following:
1. Sample image of missing single and double quotes on user's machine.
2. Image output from my test.
3. Original PDF
4. User's log file
5. User's pdfviewerfontcache.properties
FINE: Could not create instance oof font file 0
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces
sorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc
torAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.icepdf.core.pobjects.fonts.FontFactory.createFontFile(FontFactory.java:2
09)
at org.icepdf.core.pobjects.fonts.FontFactory.createFontFile(FontFactory.java:1
91)
After switching between pages, the 1st page then appears but only partially renders. Attached are the following:
1. Sample image of missing single and double quotes on user's machine.
2. Image output from my test.
3. Original PDF
4. User's log file
5. User's pdfviewerfontcache.properties
Issue Links
- blocks
-
PDF-599 Overlapping of characters when using Lucida Bright
- Closed
Activity
Tyler Johnson
created issue -
Tyler Johnson
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case Reference | 5007000000TuG3fAAF |
Tyler Johnson
made changes -
Attachment | Ty-output.jpg [ 16006 ] |
Tyler Johnson
made changes -
Attachment | User-output.jpg [ 16007 ] |
Tyler Johnson
made changes -
Attachment | 12197_sample.pdf [ 16008 ] |
Tyler Johnson
made changes -
Attachment | pdfviewerfontcache.properties [ 16009 ] |
Tyler Johnson
made changes -
Attachment | icepdf.log [ 16010 ] |
Patrick Corless
made changes -
Fix Version/s | 5.0.3 [ 11070 ] |
Patrick Corless
made changes -
Patrick Corless
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #36582 | Tue Jul 02 11:22:32 MDT 2013 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/fonts/FontManager.java
|
Patrick Corless
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Font substitution issue aside we seem to be getting the correct encoding on Windows for all fonts with the OS encoding. I'll need to get a linux environment up and running to test against.