Fixed regression in is_printable() - needs unit test

This commit is contained in:
Alessandro Ranellucci 2013-02-26 20:54:40 +01:00
parent 37be4f7319
commit 8ce7b13db5

View File

@ -129,7 +129,7 @@ sub is_printable {
# detect them and we would be discarding them. # detect them and we would be discarding them.
my $p = $self->clone; my $p = $self->clone;
$p->make_counter_clockwise; $p->make_counter_clockwise;
return $p->offset($flow->scaled_width / 2) ? 1 : 0; return $p->offset(-$flow->scaled_width / 2) ? 1 : 0;
} }
sub is_valid { sub is_valid {