From 4e811c56909a08b6ff4a379f08e29eea7d53a55c Mon Sep 17 00:00:00 2001 From: Laurenz Date: Sun, 24 Feb 2019 23:19:06 +0100 Subject: [PATCH] =?UTF-8?q?Improved=20PDF=20writing=20internals=20?= =?UTF-8?q?=F0=9F=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pdf.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pdf.rs b/src/pdf.rs index c9fbfcc3d..7786ae3fa 100644 --- a/src/pdf.rs +++ b/src/pdf.rs @@ -77,7 +77,7 @@ impl 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() )?;