Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 4.1.1
-
Fix Version/s: 4.2
-
Component/s: Core/Parsing
-
Labels:None
-
Environment:-
-
Workaround Exists:Yes
-
Workaround Description:Remove icepdf-viewer.jar but most are using the viewer.
Description
ALFor.pdf does not render correctly when the JLP Diaper Pin font library is installed. This issue only occurs when the icepdf-viewer.jar is on the classpath. With the JLR Diaper Fonts present the font substitution logging is as follows:
Font Substitution: Found system font: TimesNewRomanPS-BoldMT for named font Times New Roman,Bold
Font Substitution: Found system font: New for named font Times New Roman
Full stack trace attached along with screen shots, PDF, and JLP Diaper Pin fonts which can be found here: http://www.fontspace.com/gorillablu/jlr-diaper-pin.
Font Substitution: Found system font: TimesNewRomanPS-BoldMT for named font Times New Roman,Bold
Font Substitution: Found system font: New for named font Times New Roman
Full stack trace attached along with screen shots, PDF, and JLP Diaper Pin fonts which can be found here: http://www.fontspace.com/gorillablu/jlr-diaper-pin.
The necessary conditions to reproduce the problem on the customer´s Windows XP SP3 and Windows 7 are:
1) Install the JLR Diaper Pin font in the Windows fonts directory.
2) Run the attached sample code including icepdf-core.jar, icepdf-pro.jar, icepdf-pro-intl.jar, and icepdf-viewer.jar in the classpath.
As you stated, removing the icepdf-viewer.jar from the classpath fixes the problem, but this is not an option for us.