Skip to content
Snippets Groups Projects
Commit 548ff3ff authored by sam edelsten's avatar sam edelsten
Browse files

fix wasm breaking when using plugin defaults

may be a better way than bundling a font, bit unsure
parent 95c5912c
No related branches found
No related tags found
No related merge requests found
File added
......@@ -416,9 +416,10 @@ pub struct CosmicFontConfig {
impl Default for CosmicFontConfig {
fn default() -> Self {
let fallback_font = include_bytes!("./font/VictorMono-Regular.ttf");
Self {
load_system_fonts: true,
font_bytes: None,
font_bytes: Some(vec![fallback_font]),
fonts_dir_path: None,
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment