mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Print debug message instead of fail when unable to load web font. Fixes #3301.
This commit is contained in:
parent
a18633b163
commit
986db8073b
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ impl FontCache {
|
||||||
family.add_template(format!("{}", url).as_slice(), Some(bytes));
|
family.add_template(format!("{}", url).as_slice(), Some(bytes));
|
||||||
},
|
},
|
||||||
Err(msg) => {
|
Err(msg) => {
|
||||||
fail!("{}: url={}", msg, url);
|
debug!("Failed to load web font: family={} url={}", family_name, url);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
result.send(());
|
result.send(());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue