barcodelib
barcodelib copied to clipboard
Support for configuring guard bars for EAN-13
I've added support for configuring appearance of the guard bars for EAN-13 to match the standard. I need the first digit to be the same size as other digits and placed on the quiet area.
EAN-8 implementation will be similar. If you approve this approach i can make the necessary changes.
Default mode (backward compatible)
New mode - first char on the quiet zone
Because we need more space to fit the first char outside of the code a margin is added to both ends of the code. This could result in smaller code as on the image below.
Guard bars disabled
This looks like it would only apply to EAN/UPC barcodes which is fine. My only concern is that its configured on the outer barcode object and even if configured wouldnt do anything to any other types. Thoughts?