From 8c5c8aee5113dd1249f71530c372c7eff3e7f5ef Mon Sep 17 00:00:00 2001 From: jaseg Date: Sat, 22 Jun 2024 13:45:23 +0200 Subject: Increase default margin --- barcode_gen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/barcode_gen.py b/barcode_gen.py index 34e5b81..7dfb677 100644 --- a/barcode_gen.py +++ b/barcode_gen.py @@ -73,7 +73,7 @@ class Tag: @click.option('-f', '--font', default='sans-serif', help='Font for the text underneath the bar code') @click.option('-s', '--font-size', type=float, default=12, help='Font size for the text underneath the bar code in points (pt)') @click.option('-b', '--bar-width', type=float, default=1.0, help='Bar width in mm') -@click.option('-m', '--margin', type=float, default=2.0, help='Margin around bar code in mm') +@click.option('-m', '--margin', type=float, default=3.0, help='Margin around bar code in mm') @click.option('-c', '--color', default='black', help='SVG color for the bar code') @click.option('--text-color', default=None, help='SVG color for the text (defaults to the bar code\'s color)') @click.option('--dpi', type=float, default=96, help='DPI value to assume for internal SVG unit conversions') -- cgit