barcode controller: Remove quiescence zone left and right

When creating reports with barcode labels, there is simply no space
for excessive quiescence zones.  Let's give control of layout to the
report template, not to the barcode renderer.
This commit is contained in:
Harald Welte 2017-01-02 15:04:14 +01:00
parent c077f64f57
commit d07b59d4ba
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ class ReportController(Controller):
width, height, humanreadable = int(width), int(height), bool(humanreadable)
barcode = createBarcodeDrawing(
type, value=value, format='png', width=width, height=height,
humanReadable = humanreadable
humanReadable = humanreadable, quiet=0
)
barcode = barcode.asString('png')
except (ValueError, AttributeError):