mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
DATAMATRIX: new algorithm for (near-)minimal encoding, props Alex Geller
Add FAST_MODE input_mode flag and --fast CLI/Tcl option that selects older faster ISO algorithm (may be used by other symbologies in the future) and "Fast Encoding" checkbox to Data Matrix GUI GUI: adds Zint version numbers to DATAMATRIX sizes.
This commit is contained in:
@ -34,6 +34,7 @@ HEADERS += ../backend/aztec.h \
|
||||
../backend/common.h \
|
||||
../backend/composite.h \
|
||||
../backend/dmatrix.h \
|
||||
../backend/dmatrix_trace.h \
|
||||
../backend/eci.h \
|
||||
../backend/eci_sb.h \
|
||||
../backend/emf.h \
|
||||
|
@ -26,6 +26,7 @@ HEADERS += ../backend/aztec.h \
|
||||
../backend/common.h \
|
||||
../backend/composite.h \
|
||||
../backend/dmatrix.h \
|
||||
../backend/dmatrix_trace.h \
|
||||
../backend/eci.h \
|
||||
../backend/emf.h \
|
||||
../backend/font.h \
|
||||
|
@ -857,6 +857,7 @@ namespace Zint {
|
||||
}
|
||||
|
||||
arg_bool(cmd, "--compliantheight", hasCompliantHeight() && compliantHeight());
|
||||
|
||||
arg_data(cmd, longOptOnly ? "--data=" : "-d ", text(), win);
|
||||
|
||||
if (m_symbol == BARCODE_DATAMATRIX || m_symbol == BARCODE_HIBC_DM) {
|
||||
@ -875,6 +876,7 @@ namespace Zint {
|
||||
}
|
||||
|
||||
arg_bool(cmd, "--esc", inputMode() & ESCAPE_MODE);
|
||||
arg_bool(cmd, "--fast", inputMode() & FAST_MODE);
|
||||
|
||||
if (fgColor() != Qt::black) {
|
||||
arg_color(cmd, "--fg=", fgColor());
|
||||
|
Reference in New Issue
Block a user