oops, fixed
This commit is contained in:
parent
00fd2a9f00
commit
dcfe5d3fad
1 changed files with 8 additions and 9 deletions
|
@ -168,9 +168,9 @@ namespace mapnik
|
|||
double string_width = string_dimensions.first;
|
||||
// double string_height = string_dimensions.second;
|
||||
|
||||
// for (unsigned int ii = 0; ii < p->info->num_characters(); ++ii)
|
||||
// std::clog << static_cast<char> (p->info->at(ii).character);
|
||||
// std::clog << std::endl;
|
||||
// for (unsigned int ii = 0; ii < p->info->num_characters(); ++ii)
|
||||
// std::clog << static_cast<char> (p->info->at(ii).character);
|
||||
// std::clog << std::endl;
|
||||
|
||||
double distance = p->get_total_distance();
|
||||
|
||||
|
@ -252,8 +252,8 @@ namespace mapnik
|
|||
}
|
||||
}
|
||||
|
||||
// if (FoundPlacement)
|
||||
// std::clog << "Found Placement" << string_width << " " << distance << std::endl;
|
||||
// if (FoundPlacement)
|
||||
// std::clog << "Found Placement" << string_width << " " << distance << std::endl;
|
||||
|
||||
return FoundPlacement;
|
||||
}
|
||||
|
@ -331,7 +331,7 @@ namespace mapnik
|
|||
p->shape_path.vertex(&new_x,&new_y);
|
||||
old_x = new_x;
|
||||
old_y = new_y;
|
||||
unsigned num_points = geom->num_points();
|
||||
unsigned num_points = p->geom->num_points();
|
||||
for (unsigned i = 1; i < num_points; ++i)
|
||||
{
|
||||
double dx, dy;
|
||||
|
@ -632,5 +632,4 @@ namespace mapnik
|
|||
|
||||
return true;
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
|
Loading…
Add table
Reference in a new issue