Fix placing 1 character line labels.
This commit is contained in:
parent
3c5b7f02f3
commit
6b2285f237
1 changed files with 1 additions and 1 deletions
|
@ -681,7 +681,7 @@ namespace mapnik
|
|||
}
|
||||
|
||||
//If we placed too many characters upside down
|
||||
if (upside_down_char_count >= p.info.num_characters()/2)
|
||||
if (upside_down_char_count >= p.info.num_characters()/2.0)
|
||||
{
|
||||
//if we auto-detected the orientation then retry with the opposite orientation
|
||||
if (!orientation_forced)
|
||||
|
|
Loading…
Add table
Reference in a new issue