Correctly initialize placement_ member.

This commit is contained in:
Hermann Kraus 2012-07-29 01:28:19 +02:00
parent 4e3e5cb0b0
commit 3a16d2749a

View file

@ -40,11 +40,11 @@ text_symbolizer_helper<FaceManagerT, DetectorT>::text_symbolizer_helper(const te
dims_(0, 0, width, height),
query_extent_(query_extent),
points_on_line_(false),
placement_(sym_.get_placement_options()->get_placement_info(scale_factor)),
finder_(feature, detector, dims_, placement_, font_manager, scale_factor)
{
initialize_geometries();
if (!geometries_to_process_.size()) return;
placement_ = sym_.get_placement_options()->get_placement_info(scale_factor);
finder_.next_position();
initialize_points();
}