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 26bf90e5f9
commit 768d0fb9d3
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ class ReportController(Controller):
at the bottom of the output image
"""
try:
barcode = request.registry['report'].barcode(type, value, width=width, height=height, humanreadable=humanreadable)
barcode = request.registry['report'].barcode(type, value, width=width, height=height, humanreadable=humanreadable, quiet=0)
except (ValueError, AttributeError):
raise exceptions.HTTPException(description='Cannot convert into barcode.')