agg/grid renderers - match cairo by using buffered detector dimensions for placement_finder collision tests
This commit is contained in:
parent
c8c2d98c0e
commit
f3073f3693
2 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@ void agg_renderer<T>::process(text_symbolizer const& sym,
|
|||
text_symbolizer_helper<face_manager<freetype_engine>,
|
||||
label_collision_detector4> helper(
|
||||
sym, *feature, prj_trans,
|
||||
width_, height_,
|
||||
detector_->extent().width(), detector_->extent().height(),
|
||||
scale_factor_,
|
||||
t_, font_manager_, *detector_, query_extent_);
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ void grid_renderer<T>::process(text_symbolizer const& sym,
|
|||
text_symbolizer_helper<face_manager<freetype_engine>,
|
||||
label_collision_detector4> helper(
|
||||
sym, *feature, prj_trans,
|
||||
width_, height_,
|
||||
detector_.extent().width(), detector_.extent().height(),
|
||||
scale_factor_ * (1.0/pixmap_.get_resolution()),
|
||||
t_, font_manager_, detector_,
|
||||
query_extent);
|
||||
|
|
Loading…
Reference in a new issue