From 5ced5a69c0d4692bd625d19da290f2023ae4993d Mon Sep 17 00:00:00 2001 From: Laurenz Date: Sat, 22 May 2021 20:18:33 +0200 Subject: [PATCH] Adapt to pdf-writer update --- src/pdf/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pdf/mod.rs b/src/pdf/mod.rs index 19c8499ba..763dc7699 100644 --- a/src/pdf/mod.rs +++ b/src/pdf/mod.rs @@ -160,7 +160,7 @@ impl<'a> PdfExporter<'a> { // TODO: Respect individual glyph offsets. text.matrix(1.0, 0.0, 0.0, 1.0, x, y); - text.show(&shaped.encode_glyphs_be()); + text.show(Str(&shaped.encode_glyphs_be())); } Element::Geometry(ref shape, fill) => {