Skip to content

Commit

Permalink
fix object encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
s3bk committed Dec 15, 2024
1 parent 1bde313 commit d698a6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdf/src/file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ where
self.refs.set(id, XRef::Raw { pos: pos as _, gen_nr: gen });
writeln!(self.backend, "{} {} obj", id, gen)?;
primitive.serialize(&mut self.backend)?;
writeln!(self.backend, "endobj")?;
writeln!(self.backend, "\nendobj")?;
}

let xref_pos = self.backend.len();
Expand Down

0 comments on commit d698a6e

Please sign in to comment.