Skip to content

Commit

Permalink
Fix annot rect missing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjie committed Dec 10, 2024
1 parent 81d00e1 commit 9fc4f2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pdf/src/object/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -952,7 +952,7 @@ pub struct Annot {
pub subtype: Name,

#[pdf(key="Rect")]
pub rect: Rectangle,
pub rect: Option<Rectangle>,

#[pdf(key="Contents")]
pub contents: Option<PdfString>,
Expand Down Expand Up @@ -982,7 +982,7 @@ pub struct Annot {
pub color: Option<Primitive>,

#[pdf(key="InkList")]
pub inkList: Option<Primitive>,
pub ink_list: Option<Primitive>,

#[pdf(other)]
pub other: Dictionary,
Expand Down

0 comments on commit 9fc4f2b

Please sign in to comment.