diff --git a/pdf/src/object/types.rs b/pdf/src/object/types.rs index 1d9c47b..f9bd1d0 100644 --- a/pdf/src/object/types.rs +++ b/pdf/src/object/types.rs @@ -1442,7 +1442,7 @@ impl Object for Rect { } impl ObjectWrite for Rect { fn to_primitive(&self, update: &mut impl Updater) -> Result { - Primitive::array::([self.left, self.top, self.right, self.bottom].iter(), update) + Primitive::array::([self.left, self.bottom, self.right, self.top].iter(), update) } }