mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-31 15:18:29 -04:00
Add Input mode support for Unicode, GS1 and Kanji
This commit is contained in:
parent
e246efe727
commit
bc88024f04
5 changed files with 196 additions and 114 deletions
|
@ -39,6 +39,7 @@ struct zint_symbol {
|
|||
int option_1;
|
||||
int option_2;
|
||||
int option_3;
|
||||
int input_mode;
|
||||
char text[100];
|
||||
int rows;
|
||||
int width;
|
||||
|
@ -132,6 +133,11 @@ struct zint_symbol {
|
|||
#define BARCODE_BOX 4
|
||||
#define BARCODE_STDOUT 8
|
||||
|
||||
#define DATA_MODE 0
|
||||
#define UNICODE_MODE 1
|
||||
#define GS1_MODE 2
|
||||
#define KANJI_MODE 3
|
||||
|
||||
#define WARN_INVALID_OPTION 2
|
||||
#define ERROR_TOO_LONG 5
|
||||
#define ERROR_INVALID_DATA 6
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue