diff --git a/src/components/gfx/font_context.rs b/src/components/gfx/font_context.rs index 021a1b57996..7acadfb5225 100644 --- a/src/components/gfx/font_context.rs +++ b/src/components/gfx/font_context.rs @@ -192,7 +192,7 @@ impl FontContext { }; } } - assert!(fonts.len() > 0); + assert!(fonts.len() > 0, "No matching font(s), are the appropriate fonts installed?"); // TODO(Issue #179): Split FontStyle into specified and used styles let used_style = (*style).clone();