Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5.0.5
-
Fix Version/s: 5.0.6
-
Component/s: Core/Parsing
-
Labels:None
-
Environment:any
-
ICEsoft Forum Reference:
Description
The forum user posted a PDF file that contains two gradient painted shapes. Both gradients had a section of black toward the middle of the gradient. On closer inspection our type 2 function code was returning an NaN when calculating the three colour values from the 1 digit input.
The NaN is being caused by Math.pow(-1.6, 1.13) which seem a bit strange to me.
The NaN is being caused by Math.pow(-1.6, 1.13) which seem a bit strange to me.
Did some regression testing and the fix appears to be valid.