graphicore / librebarcode

Libre Barcode: barcode fonts for various barcode standards.
https://graphicore.github.io/librebarcode
SIL Open Font License 1.1
425 stars 25 forks source link

Wrong variable used #64

Closed pfumagalli closed 3 months ago

pfumagalli commented 3 months ago

https://github.com/graphicore/librebarcode/blob/93bb140146e2a0bec4c56ceddd82d0329553722c/app/lib/ean13Encoder/compatible.mjs#L149-L158

The sliced variable is addOn5 (line 152), but the referenced variable is addOn2 (line 158).

graphicore commented 3 months ago

Thanks for the report!

graphicore commented 3 months ago

This is fixed now.