From 96fff72837ec2fde56a73533b1da781a68de3f68 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Thu, 24 Oct 2013 00:33:26 +0000 Subject: [PATCH] fix text related test failures on ubuntu precise/g++-4.7 - refs #2049 --- src/agg/process_text_symbolizer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/agg/process_text_symbolizer.cpp b/src/agg/process_text_symbolizer.cpp index dc47b9882..64a772f97 100644 --- a/src/agg/process_text_symbolizer.cpp +++ b/src/agg/process_text_symbolizer.cpp @@ -35,13 +35,14 @@ void agg_renderer::process(text_symbolizer const& sym, mapnik::feature_impl & feature, proj_transform const& prj_trans) { + box2d bb = clipping_extent(); text_symbolizer_helper, label_collision_detector4> helper( sym, feature, prj_trans, width_,height_, scale_factor_, t_, font_manager_, *detector_, - clipping_extent()); + bb); text_renderer ren(*current_buffer_, font_manager_,