Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 6.0.2
-
Fix Version/s: 6.1.1
-
Component/s: Core/Rendering
-
Labels:None
-
Environment:All
-
Support Case References:Support Case #13682 - https://icesoft.my.salesforce.com/5007000001Ypit4
Description
When rendering the provided PDF file (a single page of a larger document) it causes ICEpdf/JRE to crash.
Finally managed to isolate the draw operation that was causing the JVM to crash. The issue is related to a dash array values that are < 0.5 user unites. From what I can tell some encoders are using the wrong space when writing out the value or values. I've put in a little logic that converts a really small value back to users units. These avoids the dreaded jvm failure but also get the dash stroke to paint correctly.