diff --git a/src/load_map.cpp b/src/load_map.cpp index 98eae8798..018c07784 100644 --- a/src/load_map.cpp +++ b/src/load_map.cpp @@ -1135,7 +1135,7 @@ void map_parser::parse_text_symbolizer(rule & rule, xml_node const& sym) placement_finder->defaults.from_xml(sym, fontsets_); } if (strict_ && - !placement_finder->defaults.format.fontset->size()) + !placement_finder->defaults.format.fontset) { ensure_font_face(placement_finder->defaults.format.face_name); } @@ -1164,7 +1164,7 @@ void map_parser::parse_shield_symbolizer(rule & rule, xml_node const& sym) } placement_finder->defaults.from_xml(sym, fontsets_); if (strict_ && - !placement_finder->defaults.format.fontset->size()) + !placement_finder->defaults.format.fontset) { ensure_font_face(placement_finder->defaults.format.face_name); }