diff options
author | dakkar <dakkar@thenautilus.net> | 2010-12-02 21:57:14 +0000 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2010-12-02 21:57:14 +0000 |
commit | e423da62532558968e1a66bc04c193ffffd38d43 (patch) | |
tree | 3abfabe318ab23ff0c243cc4b3fc2e0219dc7fe5 /lib/GridFiller/Chooser/Smarter.pm | |
parent | fix length for status, begin pango/cairo (diff) | |
download | qr-builder-e423da62532558968e1a66bc04c193ffffd38d43.tar.gz qr-builder-e423da62532558968e1a66bc04c193ffffd38d43.tar.bz2 qr-builder-e423da62532558968e1a66bc04c193ffffd38d43.zip |
proper length measurement
also, fix vertical placement off-by-one
Diffstat (limited to 'lib/GridFiller/Chooser/Smarter.pm')
-rw-r--r-- | lib/GridFiller/Chooser/Smarter.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/GridFiller/Chooser/Smarter.pm b/lib/GridFiller/Chooser/Smarter.pm index fd21dae..43ad530 100644 --- a/lib/GridFiller/Chooser/Smarter.pm +++ b/lib/GridFiller/Chooser/Smarter.pm @@ -16,6 +16,8 @@ sub find_place_for { my $length = $self->length->($word); + $self->log->debug("looking for $length of space"); + my @candidates; push @candidates, $self->_find_places_horiz($length); |