Add HIBC support

This commit is contained in:
hooper114 2009-01-31 22:03:46 +00:00
parent 0a6961506f
commit 099dd11fcc
6 changed files with 135 additions and 3 deletions

View file

@ -223,7 +223,7 @@ int c39(struct zint_symbol *symbol, unsigned char source[])
/* Stop character */
concat (dest, "121121211");
if(symbol->symbology == BARCODE_LOGMARS) {
if((symbol->symbology == BARCODE_LOGMARS) || (symbol->symbology == BARCODE_HIBC_39)) {
/* LOGMARS uses wider 'wide' bars than normal Code 39 */
for(i = 0; i < strlen(dest); i++) {
if(dest[i] == '2') {