5.0.1 • Published 5 years ago

barcode-font-generator v5.0.1

Weekly downloads
2
License
GPL-3.0
Repository
github
Last release
5 years ago

barcode-font-generator (barf)

this is a barcode fonts generator. You input the name of the font-family you like, the height of one bar, and the encoding you want. Supported encodings are:

Installing

Install it globally with npm

npm install -g barcode-font-generator

Usage

the command line interface is called barf. use it like this:

barf -n "Super_EAN_Font" -h 60 -c "ean13" -bl 10 --with-numbers
switchvaluesdescription
-c, --codecode128,code39,2of5,ean13the encoding you want to use
-n, --nameSTRINGthe name you want give to the font
-h, --heightINTEGERthe height of one bar
-bl, --baslineINTEGERset the height if the numbers at the bottom of the codes. applys only to ean13 and 2of5 fonts so far.
-wn, --with-numbresdisplay numbers underneath the bars

The command creates a folder with the fonts in .svg, .ttf, .woff and .eot format. You will find an example html file using the font in that folder as well.

5.0.1

5 years ago

5.0.0

5 years ago

4.3.0

8 years ago

4.2.0

8 years ago

4.1.0

8 years ago

4.0.0

8 years ago

3.0.1

8 years ago

3.0.0

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago