We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c70f99c commit 03ac38fCopy full SHA for 03ac38f
forms/src/main/java/com/itextpdf/forms/fields/PdfFormField.java
@@ -1825,7 +1825,7 @@ public boolean regenerateField() {
1825
float fieldRotation = 0;
1826
if (this.getPdfObject().getAsDictionary(PdfName.MK) != null
1827
&& this.getPdfObject().getAsDictionary(PdfName.MK).get(PdfName.R) != null) {
1828
- fieldRotation = this.getPdfObject().getAsDictionary(PdfName.MK).getAsFloat(PdfName.R);
+ fieldRotation = (float) this.getPdfObject().getAsDictionary(PdfName.MK).getAsFloat(PdfName.R);
1829
//Get relative field rotation
1830
fieldRotation += pageRotation;
1831
}
0 commit comments