Initial implementation of Zint barcode backend.

This commit is contained in:
Jim Evins
2017-06-02 22:39:44 -04:00
parent cb9013cdd5
commit 3e2b40c000
8 changed files with 325 additions and 38 deletions
+13
View File
@@ -24,6 +24,7 @@
#include "BarcodeBackends/GnuBarcode.h"
#include "BarcodeBackends/QrEncode.h"
#include "BarcodeBackends/Zint.h"
namespace glabels
@@ -169,6 +170,18 @@ namespace glabels
false, false, true, false, "1234567890AB", false, 12 );
#endif // HAVE_QRENCODE
#if HAVE_ZINT
//
// Zint barcode backend
//
registerBackend( "zint", "Zint" );
glbarcode::Factory::registerType( "zint::ausp", Zint::AusP::create );
registerStyle( "ausp", "zint", tr("Austraila Post Standard"),
false, false, true, false, "12345678901234567890123", true, 23 );
#endif // HAVE_ZINT
}