Embed Fira Sans font on Wasm builds by default
This commit is contained in:
parent
0c7f4eaab5
commit
35e2049ee6
5 changed files with 18 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ all-features = true
|
|||
maintenance = { status = "actively-developed" }
|
||||
|
||||
[features]
|
||||
default = ["wgpu"]
|
||||
default = ["wgpu", "fira-sans"]
|
||||
# Enable the `wgpu` GPU-accelerated renderer backend
|
||||
wgpu = ["iced_renderer/wgpu", "iced_widget/wgpu"]
|
||||
# Enables the `Image` widget
|
||||
|
|
@ -53,6 +53,8 @@ highlighter = ["iced_highlighter"]
|
|||
multi-window = ["iced_winit/multi-window"]
|
||||
# Enables the advanced module
|
||||
advanced = []
|
||||
# Enables embedding Fira Sans as the default font on Wasm builds
|
||||
fira-sans = ["iced_renderer/fira-sans"]
|
||||
|
||||
[dependencies]
|
||||
iced_core.workspace = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue