File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,10 +3,12 @@ use super::*;
33/// Settings that should be applied while writing a PDF file.
44#[ derive( Debug , Clone , Copy ) ]
55pub struct Settings {
6- /// Whether to enable pretty-writing. In this case, `pdf-writer` will serialize PDFs in such
7- /// a way that they are easier to read by humans by applying more padding and indentation, at
8- /// the cost of larger file sizes. If disabled, `pdf-writer` will serialize objects as compactly
9- /// as possible, leading to better file sizes but making it harder to inspect the file manually.
6+ /// Whether to enable pretty-writing. In this case, `pdf-writer` will
7+ /// serialize PDFs in such a way that they are easier to read by humans by
8+ /// applying more padding and indentation, at the cost of larger file sizes.
9+ /// If disabled, `pdf-writer` will serialize objects as compactly as
10+ /// possible, leading to better file sizes but making it harder to inspect
11+ /// the file manually.
1012 pub pretty : bool ,
1113}
1214
You can’t perform that action at this time.
0 commit comments