GithubHelp home page GithubHelp logo

code-39-font's Introduction

code-39-font

The code 39 font can be used to render code39 encoded strings.

available sizes

The font is available in 5 different height to width ratios. (Usually i use code39_XL)

if you need other height to width ratios, you can generate your own font using the barcode font generator

name height to width ratio font size to get 1px wide bars
code39_S 1:1 15px
code39 2:1 30px
code39_L 3:1 45px
code39_XL 4:1 60px
code39_XXL 5:1 75px

You can download the font in .ttf, .woff, and .svg format.

install

You can install it as any other font. To use it as a webfont, you can install with bower:

bower install --save code-39-font

and the in your .html:

<link rel="stylesheet" href="bower_components/code-39-font/code39_all.css"/>
<div class="code_39_XL">*Test*</div>

usage

Code 39 does not require special encoding. the * - character is the start and stop symbol. Only large cap letters can be encoded in code 39, so make sure to .toUpperCase() your strings before displaying.

code-39-font's People

Contributors

holger-will avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.