Adapt to pdf-writer update

This commit is contained in:
Laurenz 2021-05-22 20:18:33 +02:00
parent 7b35721011
commit 5ced5a69c0

View File

@ -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) => {