mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Merge pull request #3304 from glennw/allow-font-failure
Print debug message instead of fail when unable to load web font. Fixes #3301.
This commit is contained in:
commit
a2ab6f9799
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