Verified Commit 76fb99c9 authored by Mattia Rizzolo's avatar Mattia Rizzolo Committed by Marc Jeanmougin
Browse files

Demote this FontFactory warning to info



In most installations this causes two warnings like

** (org.inkscape.Inkscape:2243966): WARNING **: 14:03:53.037: Fonts dir '/usr/share/inkscape/fonts' does not exist and will be ignored.
** (org.inkscape.Inkscape:2243966): WARNING **: 14:03:53.037: Fonts dir '/home/mattia/.config/inkscape/fonts' does not exist and will be ignored.

That are of no interest whatsoever to the user.
If users needs to be aware of these extra directories to place their
fonts into, they should instead be documented better.
Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@mapreri.org>
parent 34982c1b
Pipeline #367468694 canceled with stages
in 1 minute and 36 seconds
......@@ -810,7 +810,7 @@ void font_factory::AddFontsDir(char const *utf8dir)
g_info("Adding additional font directories only supported for fontconfig backend.");
#else
if (!Inkscape::IO::file_test(utf8dir, G_FILE_TEST_IS_DIR)) {
g_warning("Fonts dir '%s' does not exist and will be ignored.", utf8dir);
g_info("Fonts dir '%s' does not exist and will be ignored.", utf8dir);
return;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment