fix text related test failures on ubuntu precise/g++-4.7 - refs #2049

This commit is contained in:
Dane Springmeyer 2013-10-24 00:33:26 +00:00
parent 8272b0b3db
commit bc2ee11d9a

View file

@ -35,13 +35,14 @@ void agg_renderer<T>::process(text_symbolizer const& sym,
mapnik::feature_impl & feature, mapnik::feature_impl & feature,
proj_transform const& prj_trans) proj_transform const& prj_trans)
{ {
box2d<double> bb = clipping_extent();
text_symbolizer_helper<face_manager<freetype_engine>, text_symbolizer_helper<face_manager<freetype_engine>,
label_collision_detector4> helper( label_collision_detector4> helper(
sym, feature, prj_trans, sym, feature, prj_trans,
width_,height_, width_,height_,
scale_factor_, scale_factor_,
t_, font_manager_, *detector_, t_, font_manager_, *detector_,
clipping_extent()); bb);
text_renderer<T> ren(*current_buffer_, text_renderer<T> ren(*current_buffer_,
font_manager_, font_manager_,