diff options
Diffstat (limited to 'font/src/directwrite')
-rw-r--r-- | font/src/directwrite/mod.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/font/src/directwrite/mod.rs b/font/src/directwrite/mod.rs index c442cae9..d139b35e 100644 --- a/font/src/directwrite/mod.rs +++ b/font/src/directwrite/mod.rs @@ -266,12 +266,7 @@ impl Display for Error { fn fmt(&self, f: &mut Formatter) -> fmt::Result { match self { Error::MissingGlyph(c) => write!(f, "Glyph not found for char {:?}", c), - Error::MissingFont(desc) => write!( - f, - "Couldn't find a font with {}\n\tPlease check the font config in your \ - alacritty.yml.", - desc - ), + Error::MissingFont(desc) => write!(f, "Unable to find the font {}", desc), Error::FontNotLoaded => f.write_str("Tried to use a font that hasn't been loaded"), Error::DirectWriteError(hresult) => { write!(f, "A DirectWrite rendering error occurred: {:#X}", hresult) |