diff --git a/pdf/src/object/types.rs b/pdf/src/object/types.rs index 7bcd369..f04b7ea 100644 --- a/pdf/src/object/types.rs +++ b/pdf/src/object/types.rs @@ -952,7 +952,7 @@ pub struct Annot { pub subtype: Name, #[pdf(key="Rect")] - pub rect: Rectangle, + pub rect: Option, #[pdf(key="Contents")] pub contents: Option, @@ -982,7 +982,7 @@ pub struct Annot { pub color: Option, #[pdf(key="InkList")] - pub inkList: Option, + pub ink_list: Option, #[pdf(other)] pub other: Dictionary,