Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5.0.6_P01
-
Fix Version/s: 5.1
-
Component/s: Core/Parsing
-
Labels:None
-
Environment:any
-
Support Case References:Support Case #12907 - https://icesoft.my.salesforce.com/5007000000dugM6
Description
The file in question is using text outline clipping as a mask to an image. If -Dorg.icepdf.core.imageReference=smoothScaled is used the clip is incorrectly applied. This can be avoided with -Dorg.icepdf.core.imageReference=default but this will adversely affect other images.
We'll need to pass in a custom flag when applying outline clipping to avoid image scaling .
We'll need to pass in a custom flag when applying outline clipping to avoid image scaling .
What appears to be happening here is that the black text is actually a 2x2 image that has a large image smask like 220x25. The reason the masking goes wrong is that the the trilinear smooth scaling operation does the math on a 2x2 images and not the resized 220x25.
Once this change is made the image is no longer scaled and smoothed slightly by the trilenear scaling.