mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Make compile with MS-VC and set release version 2.6.2 in various files
Attention: qtzint.exe core dumpfs for me
This commit is contained in:
parent
73c9b502b5
commit
4b03bccba0
@ -254,9 +254,10 @@ int render_plot(struct zint_symbol *symbol, float width, float height) {
|
||||
else if (symbol->symbology == BARCODE_CODE49) {
|
||||
/* The minimum X-dimension of Code 49 is 0.191mm */
|
||||
if (x_dimension < 0.191) {
|
||||
float encoded_symbol_aspect;
|
||||
x_dimension = 0.191;
|
||||
width = 0.191 * GL_CONST * total_area_width_x;
|
||||
float encoded_symbol_aspect = total_area_width_x;
|
||||
encoded_symbol_aspect = total_area_width_x;
|
||||
encoded_symbol_aspect /= (preset_height + (2 * yoffset) + text_offset + text_height);
|
||||
height = width / encoded_symbol_aspect;
|
||||
}
|
||||
|
@ -19,7 +19,7 @@ TARGET = QtZint
|
||||
INCLUDEPATH += ../backend
|
||||
|
||||
#EDIT THIS !!!!
|
||||
DEFINES += ZINT_VERSION="\\\"2.5.1\\\""
|
||||
DEFINES += ZINT_VERSION="\\\"2.6.2\\\""
|
||||
|
||||
!contains(DEFINES, NO_PNG) {
|
||||
INCLUDEPATH += ../../lpng
|
||||
@ -117,7 +117,7 @@ SOURCES += ../backend/2of5.c \
|
||||
../backend/png.c \
|
||||
qzint.cpp
|
||||
|
||||
VERSION = 2.5.0
|
||||
VERSION = 2.6.2
|
||||
|
||||
#DESTDIR = .
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
# so you can encode the package version directly into the source files.
|
||||
#-----------------------------------------------------------------------
|
||||
|
||||
AC_INIT([zint], [2.6.1])
|
||||
AC_INIT([zint], [2.6.2])
|
||||
|
||||
#--------------------------------------------------------------------
|
||||
# Call TEA_INIT as the first TEA_ macro to set up initial vars.
|
||||
|
@ -1,2 +1,2 @@
|
||||
package ifneeded zint 2.6.1\
|
||||
package ifneeded zint 2.6.2\
|
||||
[list load [file join $dir zint[info sharedlibextension]]]
|
||||
|
@ -47,6 +47,8 @@
|
||||
- EAN/UPC Codes with included check digit
|
||||
- UPNQR Code
|
||||
- Misspelled symbology: AztecRunes
|
||||
2017-10-23 2.6.2 HaO
|
||||
- Framework 2.6.2 bugfixes
|
||||
*/
|
||||
|
||||
#if defined(__WIN32__) || defined(_WIN32) || defined(WIN32)
|
||||
@ -86,7 +88,7 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* > File option defines */
|
||||
|
||||
#define VERSION "2.6.1"
|
||||
#define VERSION "2.6.2"
|
||||
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* >>>>> Hepler defines */
|
||||
|
@ -42,7 +42,7 @@ RSC=rc.exe
|
||||
# PROP Ignore_Export_Lib 0
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
|
||||
# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\backend" /I "..\..\..\zlib" /I "..\..\..\lpng" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /D ZINT_VERSION="\"2.6\"" /c
|
||||
# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\backend" /I "..\..\..\zlib" /I "..\..\..\lpng" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /D ZINT_VERSION="\"2.6.2\"" /c
|
||||
# ADD BASE RSC /l 0x407 /d "NDEBUG"
|
||||
# ADD RSC /l 0x407 /d "NDEBUG"
|
||||
BSC32=bscmake.exe
|
||||
|
Loading…
Reference in New Issue
Block a user