-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build error: variant or associated item not found in FontTransform
#1
Comments
Something wrong with the git version that is linked. You can use the one from crates.io, though. In your Cargo.toml file you can change the dependencies to [dependencies]
plotters = "0.3.2"
wasm-bindgen = "0.2.62"
wee_alloc = "0.4.5"
web-sys = { version = "0.3.39", features = ["HtmlCanvasElement"] }
plotters-canvas = "0.3.0"
which fixed the issue for me. |
I had the same issue and @JuliDi's solution worked for me too. |
+1 for @JuliDi 's solution. |
another option is to use this open PR instead: [dependencies.plotters-canvas]
git = "https://github.com/AE1020/plotters-canvas"
branch = "revert-rotateangle" |
@38 I know you are looking for participants - I can help get the canvas stuff sorted out so that it'll at least compile again natively without these workarounds |
+1 for @JuliDi 's solution. |
The text was updated successfully, but these errors were encountered: