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:
parent
c077f64f57
commit
d07b59d4ba
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue