Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 6.2
-
Component/s: None
-
Labels:None
-
Environment:any
-
ICEsoft Forum Reference:
Description
A community memory has submitted a PDF created with MS word. The PDF has an ink annotation that appears to have a translation issue when painted using 6.1.2 however this appears to be a regression compared to 5.x.
We've had trouble with this issue in the past perhaps this test file will shed a little more light on the issue. If I re-save the PDF with acrobat the offset issue is fixed and renders correctly in ICEpdf.
We've had trouble with this issue in the past perhaps this test file will shed a little more light on the issue. If I re-save the PDF with acrobat the offset issue is fixed and renders correctly in ICEpdf.
The 5.x release we would regenerate an annotation appearance stream when an annotation was initialized. This proved to be problematic as some annotation types didn't include enough information to correctly regenerate the appearance stream. As a result the call to resetAppearanceStream(new AffineTransform()); was removed from the InkAnnotation's init() method.
When the annotation is moved for the first time the call to resetAppearanceStream(new AffineTransform()); is called and ICEpdf corrects the appearance stream. I'm hesitant to put the code back for just one test case, will re-evaluate at a later date.