Skip to content

Conversation

@mjamro
Copy link

@mjamro mjamro commented Mar 15, 2024

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)

EAN13_GuardBarDefault

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.

EAN13_GuardBarNewMode

Guard bars disabled

EAN13_GuardBarsDisabled

@mjamro mjamro changed the title Support for configuring guard bars. Support for configuring guard bars for EAN-13 Mar 15, 2024
@barnhill
Copy link
Owner

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants