Scaled text of shield symbolizer

(cherry-picked from mapnik-resolution branch)
This commit is contained in:
Artem Pavlenko 2010-07-14 13:51:27 +00:00
parent 7e10a32503
commit c7770ce6b1

View File

@ -265,10 +265,10 @@ void agg_renderer<T>::process(shield_symbolizer const& sym,
{
text_renderer<T> ren(pixmap_, faces, *strk);
ren.set_pixel_size(sym.get_text_size());
ren.set_pixel_size(sym.get_text_size() * scale_factor_);
ren.set_fill(sym.get_fill());
ren.set_halo_fill(sym.get_halo_fill());
ren.set_halo_radius(sym.get_halo_radius());
ren.set_halo_radius(sym.get_halo_radius() * scale_factor_);
ren.set_opacity(sym.get_text_opacity());
placement_finder<label_collision_detector4> finder(detector_);