Fix EPS path bounds variable

This commit is contained in:
Dylan M. Taylor committed 2026-11-13 03:58:22 -05:00
1 parent e3d76471f6
commit 7fbe3837bc
1 file changed
+1 -1
+1 -1
View File
@@ -47,7 +47,7 @@ pub fn import(bytes: &[u8], limits: Limits) -> Result<Imported, Error> {
let source = vectorcraft_eps::import(bytes).map_err(Error::Parse)?;
let section = crate::sections(bytes).map_err(|e| Error::Parse(e.to_string()))?;
let source_box = crate::Comments::read(section.postscript).page_box().unwrap_or([0.0, 0.0, 612.0, 792.0]);
let [llx, _lly, urx, ury] = source_box;
let [llx, lly, urx, ury] = source_box;
let page_bounds = Rect::new(llx, lly, urx, ury);
let mut paths = Vec::new();
let mut total_elements = 0usize;