Reputation: 51
I would like to know the difference between the barcode fonts and other barcode libraries that are available.
Difference between free barcode fonts and other barcode libraries?
Upvotes: 2
Views: 668
Reputation: 26446
Since each barcode is a representation of a string, and each character in the string is represented exactly by a segment of a barcode, each character of the barcode string may be represented individually. Because of this, you can represent a barcode using a font (although barcodes such as EAN13 require a prefix and suffix, but these can be represented by a character as well).
The font simply draws a set of lines instead of drawing a 4
, for example.
The other way of rendering barcodes is by drawing lines manually, which may produce the same output. Scaling of the barcode would have to be done manually as well. By using fonts you get the best result when printing a barcode though.
Using fonts usually provides the best result detail-wise, especially when printing. I can't think of a limitation that would make them not suitable for commercial applications. The ability to display barcodes in office applications is a nice bonus.
I don't know of any libraries, sofar I've used fonts or rendered my own.
If it's a .NET assembly you can use ILSpy to view contents / dependencies of the assembly if the library was merged into the main assembly, otherwise the dll will be in the folder of the application.
Upvotes: 3