Crates.io | text-svg-plus |
lib.rs | text-svg-plus |
version | 0.1.3 |
source | src |
created_at | 2024-01-08 15:53:40.737475 |
updated_at | 2024-01-08 15:53:40.737475 |
description | Render text or glyphs in a font to an SVG path |
homepage | |
repository | https://github.com/biner88/text-svg-plus |
max_upload_size | |
id | 1092708 |
size | 43,579 |
Text -> SVG path in rust
Text::builder()
.size(50.0)
.start(Point { x, y })
.build(&font, "text-svg");
println!("{}", text.path);
println!("{}", text.data);