Libre Barcode Project

graphicore.github.io

254 points by luu 15 hours ago


dfox - 8 hours ago

Do not do this unless you do not have any other choice. Preferrably use whatever native barcode support of the printer involved, if it does not have that, just generate the barcode as vector image or bitmap with a resolution that is a integer fraction of the printers resolution. Generating correct Code128 as a SVG is about the same amount of work as generating the correct input for some sort of barcode font (the hard part is determining the switches between character sets, not generating bars from bytes).

1bpp - 13 hours ago

Is anyone willing to sacrifice their sanity for the sake of implementing a QR renderer as TTF hinting code?

ahlCVA - 8 hours ago

Barcode fonts have been around for ages. But what's cute about this one is that it can calculate the EAN13 checksum on its own.

infogulch - 3 hours ago

Neat! Barcodes are much more complex that I knew before looking into it. I used JsBarcode [1] to create a special barcode that reprograms a cheap barcode scanner we got on Amazon to be able to scan both UPS and FedEx tracking numbers. It is published on CodePen [2].

[1]: https://github.com/lindell/JsBarcode

[2]: https://codepen.io/infogulch/pen/yyLJdrP

joewhale - 4 hours ago

fyi code 39 barcodes are outdated because of the lack of check sums and leads to false positives.

ciupicri - 4 hours ago

It's not clear to me how can I put FNC3 and the beginning of the Code 128 bar code.

ChrisMarshallNY - 15 minutes ago

Very nice.

Now, do it with QR codes...

muhammadusman - 2 hours ago

just curious: are barcodes better in anyway compared to a QR code?

utopiah - 12 hours ago

Damn, yes please.

Another cool font, but less original, I stumbled upon recently is Marelle https://marelle.forge.apps.education.fr/ for cursive.

alex_suzuki - 8 hours ago

This would be more interesting if you wouldn’t need to calculate checksums yourself, and could just write the barcode value. Good luck doing that with something like Reed-Solomon (QR, Data Matrix, etc.) or the shenanigans they’re doing with GS1 DataBar.

nemoniac - 10 hours ago

ASCII only?

dmitrygr - 13 hours ago

This is a perversion of the most sickening nature. Nicely done!

- 6 hours ago
[deleted]
endre - 12 hours ago

[flagged]