diff --git a/include/mapnik/geom_util.hpp b/include/mapnik/geom_util.hpp index d16c42eee..9311139e5 100644 --- a/include/mapnik/geom_util.hpp +++ b/include/mapnik/geom_util.hpp @@ -28,7 +28,6 @@ #include #include #include -#include // stl #include #include diff --git a/src/text/renderer.cpp b/src/text/renderer.cpp index e45077125..163d11c6f 100644 --- a/src/text/renderer.cpp +++ b/src/text/renderer.cpp @@ -178,18 +178,13 @@ void agg_text_renderer::render(glyph_positions const& pos) if (!error) { FT_BitmapGlyph bit = reinterpret_cast(g); -#ifdef FT_PIXEL_MODE_BGRA - if (bit->bitmap.pixel_mode != FT_PIXEL_MODE_BGRA) -#endif - { - composite_bitmap(pixmap_, - &bit->bitmap, - halo_fill, - bit->left, - height - bit->top, - halo_opacity, - halo_comp_op_); - } + composite_bitmap(pixmap_, + &bit->bitmap, + halo_fill, + bit->left, + height - bit->top, + halo_opacity, + halo_comp_op_); } } else diff --git a/test/data-visual b/test/data-visual index 2749835d3..a2624810e 160000 --- a/test/data-visual +++ b/test/data-visual @@ -1 +1 @@ -Subproject commit 2749835d3265d95b951c2c90c099fac35e326f39 +Subproject commit a2624810e3f8d187af2ec0995bcfba0ef61d00d9