warn if fontset not found and load_map is not in strict mode - closes #1791
This commit is contained in:
parent
ebf7a61135
commit
2cf3990e0d
1 changed files with 7 additions and 0 deletions
|
@ -495,6 +495,13 @@ void map_parser::parse_fontset(Map & map, xml_node const& node)
|
|||
{
|
||||
success = true;
|
||||
}
|
||||
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() << "'";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue