From e55918788c7c8bf13e135f8dc6fc524dd13c6a65 Mon Sep 17 00:00:00 2001 From: artemp Date: Fri, 17 Feb 2017 15:32:03 +0100 Subject: [PATCH] fix test logic --- include/mapnik/text/harfbuzz_shaper.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/mapnik/text/harfbuzz_shaper.hpp b/include/mapnik/text/harfbuzz_shaper.hpp index 83169cede..b8c8236e4 100644 --- a/include/mapnik/text/harfbuzz_shaper.hpp +++ b/include/mapnik/text/harfbuzz_shaper.hpp @@ -172,7 +172,7 @@ static void shape_text(text_line & line, for (auto c : clusters) { auto itr = glyphinfos.find(c); - if (itr == glyphinfos.end() || (!itr->second.empty() && itr->second.front().glyph.codepoint == 0)) + if (itr == glyphinfos.end() || itr->second.empty() || (itr->second.front().glyph.codepoint == 0)) { all_set = false; break;