Skip to content

graphicore/librebarcode

Repository files navigation

Libre Barcode Font Project

Fonts to write barcodes.

Manual Pages

Code 39

  • Libre Barcode 39
  • Libre Barcode 39 Text
  • Libre Barcode Extended 39
  • Libre Barcode Extended 39 Text

Code 39 manual

Code 128

  • Libre Barcode 128
  • Libre Barcode 128 Text

Code 128 manual

EAN 13 (EAN 8, UPC-A, UPC-E, 2- and 5-digit Add-Ons)

  • Libre Barcode EAN13 Text

EAN 13 manual

How to install and build

You'll need git, bash, python3.6, node(=nodejs e.g. v14.13.1 is confirmed to work, use nvm to manage node versions) with npm, bower and ttfautohint (if not in your distribution I suggest: ttfautohint-build). Maybe you'll have to install the python3-venv module.

Are dependencies missing? Please, let me know.

# fetch the sources
path/to $ git clone [email protected]:graphicore/librebarcode.git
path/to $ cd librebarcode

# best start with an virtual environment
path/to/librebarcode $ python3 -m venv venv
path/to/librebarcode $ . venv/bin/activate

# installs fontmake and fontbakery
(venv) path/to/librebarcode $ pip install -r requirements.txt

# installs javascript dependencies
(venv) path/to/librebarcode $ npm install
(venv) path/to/librebarcode $ bower install

# now build:
(venv) path/to/librebarcode $ ./app/bin/buildAll

# the fonts should be in the librebarcode/fonts directory now
# The UFO sources should be in the sources directory

Licensing

The fonts are licensed under OFL.
The barcode font generators and encoders are GPL3+.