summaryrefslogtreecommitdiff
path: root/src/pdf
diff options
context:
space:
mode:
Diffstat (limited to 'src/pdf')
-rw-r--r--src/pdf/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pdf/mod.rs b/src/pdf/mod.rs
index 19c8499b..763dc769 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) => {