boombuler / barcode

a barcode creation lib for golang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can I have content string under the barcode

charleswklau opened this issue · comments

Surely, it is for 1D barcode.
I used Code128 to generate my barcode, and used Scale to have my expected size.
But is there a way place the content string under the barcode?
something like this, https://en.wikipedia.org/wiki/Barcode#/media/File:Code_128B-2009-06-02.svg

Hi,

I have created a wiki page with some sample code for you:
https://github.com/boombuler/barcode/wiki/Content-String

Due to the complex topic of font rendering I will not include it to this lib but you should be able to get it working with the sample code from the wiki.

Let me know if you need further help