Improved PDF writing internals 🔨

This commit is contained in:
Laurenz 2019-02-24 23:19:06 +01:00
parent 26f3b80826
commit 4e811c5690

View File

@ -77,7 +77,7 @@ impl<W: Write> WritePdf for W {
for content in &page.contents {
writer.write_obj(id, &Text::new()
.set_font(1, 13.0)
.move_pos(108.0, 734.0)
.move_line(108.0, 734.0)
.write_text(content.0.as_bytes())
.to_stream()
)?;