mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 14:20:04 -04:00
Add a canvas based font fallback
This commit is contained in:
@@ -83,6 +83,17 @@ serde = { workspace = true, optional = true, features = ["derive", "rc"] }
|
||||
|
||||
epaint_default_fonts = { workspace = true, optional = true }
|
||||
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
wasm-bindgen.workspace = true
|
||||
web-sys = { workspace = true, features = [
|
||||
"CanvasRenderingContext2d",
|
||||
"HtmlCanvasElement",
|
||||
"ImageData",
|
||||
"TextMetrics",
|
||||
"Document",
|
||||
"Window",
|
||||
] }
|
||||
|
||||
[dev-dependencies]
|
||||
criterion.workspace = true
|
||||
mimalloc.workspace = true
|
||||
|
||||
Reference in New Issue
Block a user