Skip to content

Commit

Permalink
* Add README
Browse files Browse the repository at this point in the history
  • Loading branch information
stamfest committed Mar 28, 2009
1 parent 357344d commit fbf8f35
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Use

./code128-font --fontsize 12pt > code128-12.svg

to produce an svg font. By default, it maps some printable unicode characters
to the code 128 control chars, so codes can be printed from text-processing
tools.

Note that the font always uses the minimum allowed width, but the height of
the font is the value given for the fontsize. To get a wider code, just use
the font for a given size with a higher size. Eg. a 12pt font at size 24.

svg2ttf might be used to convert the SVG font to a truetype font.

To produce the characters to print for a any given data, use

./code128 <data>


0 comments on commit fbf8f35

Please sign in to comment.