title: How to Encode Javascript String into code128 for use with Libre Barcode 128?
body: <p>I'm using <a href="https://fonts.google.com/specimen/Libre+Barcode+128+Text" rel="nofollow noreferrer">Libre Barcode 128</a> from Google Fonts to generate barcodes on a webpage. If I wanted to encode a string so that it was properly displayed with this font, how would I do that?</p>
  
  <p>For example, I know that code128 barcodes need a checksum of some kind, and start/stop characters. However, the Libre Barcode project has no documentation about how this is calculated, nor how their characters map to glyphs.</p>
  
  <p>Barcodes generated using the font alone will not scan. What steps are necessary to implement Code 128 barcode generation using Libre Barcode Fonts?</p>