diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-05-22 20:18:33 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-05-22 20:18:33 +0200 |
| commit | 5ced5a69c0d4692bd625d19da290f2023ae4993d (patch) | |
| tree | e86d7b1ad3c106668f878f5c68dcd0add91315e3 /src | |
| parent | 7b357210113c19d57c82414d1607d1a89414a5a0 (diff) | |
Adapt to pdf-writer update
Diffstat (limited to 'src')
| -rw-r--r-- | src/pdf/mod.rs | 2 |
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) => { |
