mirror of
https://github.com/typst/typst
synced 2025-05-17 02:25:27 +08:00
Adapt to pdf-writer update
This commit is contained in:
parent
7b35721011
commit
5ced5a69c0
@ -160,7 +160,7 @@ impl<'a> PdfExporter<'a> {
|
|||||||
|
|
||||||
// TODO: Respect individual glyph offsets.
|
// TODO: Respect individual glyph offsets.
|
||||||
text.matrix(1.0, 0.0, 0.0, 1.0, x, y);
|
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) => {
|
Element::Geometry(ref shape, fill) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user