Skip to content

Commit

Permalink
fix #203
Browse files Browse the repository at this point in the history
  • Loading branch information
s3bk committed Nov 23, 2023
1 parent cb0b900 commit fa0b4d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdf/src/object/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1442,7 +1442,7 @@ impl Object for Rect {
}
impl ObjectWrite for Rect {
fn to_primitive(&self, update: &mut impl Updater) -> Result<Primitive> {
Primitive::array::<f32, _, _, _>([self.left, self.top, self.right, self.bottom].iter(), update)
Primitive::array::<f32, _, _, _>([self.left, self.bottom, self.right, self.top].iter(), update)
}
}

Expand Down

0 comments on commit fa0b4d5

Please sign in to comment.