aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--font/src/darwin/mod.rs3
-rw-r--r--font/src/ft/mod.rs3
2 files changed, 4 insertions, 2 deletions
diff --git a/font/src/darwin/mod.rs b/font/src/darwin/mod.rs
index 69a9f29a..1f925dea 100644
--- a/font/src/darwin/mod.rs
+++ b/font/src/darwin/mod.rs
@@ -111,7 +111,8 @@ impl ::std::fmt::Display for Error {
write!(f, "Glyph not found for char {:?}", c)
},
Error::MissingFont(ref desc) => {
- write!(f, "Couldn't find a font with {}", desc)
+ write!(f, "Couldn't find a font with {}\
+ \n\tPlease check the font config in your alacritty.yml.", desc)
},
Error::FontNotLoaded => {
f.write_str("Tried to use a font that hasn't been loaded")
diff --git a/font/src/ft/mod.rs b/font/src/ft/mod.rs
index f9170ed3..6fdae4bb 100644
--- a/font/src/ft/mod.rs
+++ b/font/src/ft/mod.rs
@@ -252,7 +252,8 @@ impl ::std::fmt::Display for Error {
err.fmt(f)
},
Error::MissingFont(ref desc) => {
- write!(f, "Couldn't find a font with {}", desc)
+ write!(f, "Couldn't find a font with {}\
+ \n\tPlease check the font config in your alacritty.yml.", desc)
},
Error::FontNotLoaded => {
f.write_str("Tried to use a font that hasn't been loaded")