We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1fcfdc commit 6ff1f2bCopy full SHA for 6ff1f2b
src/drawing/backend_impl/svg.rs
@@ -430,7 +430,7 @@ impl<'a> DrawingBackend for SVGBackend<'a> {
430
let mut attrs = vec![
431
("x", format!("{}", x0)),
432
("y", format!("{}", y0)),
433
- ("dy", format!("{}", dy)),
+ ("dy", dy.to_owned()),
434
("text-anchor", text_anchor.to_string()),
435
("font-family", font.get_name().to_string()),
436
("font-size", format!("{}", font.get_size() / 1.24)),
0 commit comments