Merge branch 'master' of ssh://git.code.sf.net/p/zint/code

Thanks to work being done at SF!
This commit is contained in:
Robin Stuart 2018-02-15 10:47:59 +00:00
commit 749eb55321
6 changed files with 22 additions and 11 deletions

View File

@ -1015,7 +1015,7 @@ int emf_plot(struct zint_symbol *symbol) {
if (symbol->output_options & BARCODE_STDOUT) { if (symbol->output_options & BARCODE_STDOUT) {
emf_file = stdout; emf_file = stdout;
} else { } else {
emf_file = fopen(symbol->outfile, "w"); emf_file = fopen(symbol->outfile, "wb");
} }
if (emf_file == NULL) { if (emf_file == NULL) {
strcpy(symbol->errtxt, "640: Could not open output file"); strcpy(symbol->errtxt, "640: Could not open output file");

View File

@ -294,10 +294,5 @@ int tif_pixel_plot(struct zint_symbol *symbol, char *pixelbuf) {
fclose(tif_file); fclose(tif_file);
} }
#ifdef _MSC_VER
free(strip_offset);
free(strip_bytes);
#endif
return 0; return 0;
} }

View File

@ -96,6 +96,7 @@ SOURCES += ../backend/2of5.c \
../backend/imail.c \ ../backend/imail.c \
../backend/large.c \ ../backend/large.c \
../backend/library.c \ ../backend/library.c \
../backend/mailmark.c \
../backend/maxicode.c \ ../backend/maxicode.c \
../backend/medical.c \ ../backend/medical.c \
../backend/pcx.c \ ../backend/pcx.c \

View File

@ -49,7 +49,10 @@
- Misspelled symbology: AztecRunes - Misspelled symbology: AztecRunes
2017-10-23 2.6.2 HaO 2017-10-23 2.6.2 HaO
- Framework 2.6.2 bugfixes - Framework 2.6.2 bugfixes
- Allow dll unload - Allow dll unload
2018-02-13 2.6.3 HaO
- Framework trunk update
- Added VIN and MailMark symbologies.
*/ */
#if defined(__WIN32__) || defined(_WIN32) || defined(WIN32) #if defined(__WIN32__) || defined(_WIN32) || defined(WIN32)
@ -158,7 +161,8 @@ static char *s_code_list[] = {
"ISBN", "ISBN",
"RM4SCC", "RM4SCC",
"Datamatrix", "Datamatrix",
"EAN14", "EAN14",
"VIN",
"CodablockF", "CodablockF",
"NVE18", "NVE18",
"JapanPost", "JapanPost",
@ -185,7 +189,8 @@ static char *s_code_list[] = {
"HIBC-CodablockF", "HIBC-CodablockF",
"HIBCAztec", "HIBCAztec",
"DotCode", "DotCode",
"HanXin", "HanXin",
"MailMark",
"AztecRunes", "AztecRunes",
"Code32", "Code32",
"EAN-CC", "EAN-CC",
@ -251,7 +256,8 @@ static int s_code_number[] = {
BARCODE_ISBNX, BARCODE_ISBNX,
BARCODE_RM4SCC, BARCODE_RM4SCC,
BARCODE_DATAMATRIX, BARCODE_DATAMATRIX,
BARCODE_EAN14, BARCODE_EAN14,
BARCODE_VIN,
BARCODE_CODABLOCKF, BARCODE_CODABLOCKF,
BARCODE_NVE18, BARCODE_NVE18,
BARCODE_JAPANPOST, BARCODE_JAPANPOST,
@ -278,7 +284,8 @@ static int s_code_number[] = {
BARCODE_HIBC_BLOCKF, BARCODE_HIBC_BLOCKF,
BARCODE_HIBC_AZTEC, BARCODE_HIBC_AZTEC,
BARCODE_DOTCODE, BARCODE_DOTCODE,
BARCODE_HANXIN, BARCODE_HANXIN,
BARCODE_MAILMARK,
BARCODE_AZRUNE, BARCODE_AZRUNE,
BARCODE_CODE32, BARCODE_CODE32,
BARCODE_EANX_CC, BARCODE_EANX_CC,

View File

@ -184,6 +184,10 @@ SOURCE=..\backend\library.c
# End Source File # End Source File
# Begin Source File # Begin Source File
SOURCE=..\backend\mailmark.c
# End Source File
# Begin Source File
SOURCE=..\backend\maxicode.c SOURCE=..\backend\maxicode.c
# End Source File # End Source File
# Begin Source File # Begin Source File

View File

@ -188,6 +188,10 @@ SOURCE=..\..\backend\library.c
# End Source File # End Source File
# Begin Source File # Begin Source File
SOURCE=..\..\backend\mailmark.c
# End Source File
# Begin Source File
SOURCE=..\..\frontend\main.c SOURCE=..\..\frontend\main.c
# End Source File # End Source File
# Begin Source File # Begin Source File