Issue warning not an error when font face not found (ref #4354)

This commit is contained in:
Artem Pavlenko 2022-10-18 13:56:05 +01:00
parent 53a8e2ec2c
commit fa9ee1fc61

View file

@ -594,10 +594,9 @@ void map_parser::parse_fontset(Map& map, xml_node const& node)
}
else
{
// https://github.com/mapnik/mapnik/issues/1791
MAPNIK_LOG_ERROR(fontset)
<< "warning: unable to find face-name '" << n.get_attr<std::string>("face-name", "")
<< "' in FontSet '" << fontset.get_name() << "'";
MAPNIK_LOG_WARN(fontset)
<< "warning: unable to find face-name '" << n.get_attr<std::string>("face-name", "")
<< "' in FontSet '" << fontset.get_name() << "'";
}
}
}