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 authored and s3bk committed Dec 11, 2024
1 parent 1cdc10d commit 6c5c86a
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 6c5c86a

Please sign in to comment.