summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2024-06-22 13:45:23 +0200
committerjaseg <git@jaseg.de>2024-06-22 13:45:23 +0200
commit8c5c8aee5113dd1249f71530c372c7eff3e7f5ef (patch)
tree38408597dd4fbfbbf2c70ba63e6c2571151b99d5
parent780de94e320b4acbb47ed3c5c1f16fe1dad23e99 (diff)
downloadbarcode-8c5c8aee5113dd1249f71530c372c7eff3e7f5ef.tar.gz
barcode-8c5c8aee5113dd1249f71530c372c7eff3e7f5ef.tar.bz2
barcode-8c5c8aee5113dd1249f71530c372c7eff3e7f5ef.zip
Increase default margin
-rw-r--r--barcode_gen.py2
1 files changed, 1 insertions, 1 deletions
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')