Merge branch 'master' of git://zint.git.sourceforge.net/gitroot/zint/zint

Conflicts:
	backend/CMakeLists.txt
	backend/Makefile
	backend/Makefile.mingw
	backend/library.c
	backend/zint.h
This commit is contained in:
Sam Lown 2010-06-11 20:10:55 +02:00
commit 68de839804
6 changed files with 22 additions and 0 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
build/
*.swp
*.swo
.directory

View File

@ -4,7 +4,11 @@ project(zint)
find_package(PNG)
<<<<<<< HEAD
set(zint_COMMON_SRCS common.c library.c render.c ps.c large.c reedsol.c gs1.c svg.c png.c)
=======
set(zint_COMMON_SRCS common.c library.c ps.c large.c reedsol.c gs1.c svg.c png.c)
>>>>>>> 511fadef30c0f8634c6a7126edae0554914bcb92
set(zint_ONEDIM_SRCS code.c code128.c 2of5.c upcean.c telepen.c medical.c plessey.c rss.c)
set(zint_POSTAL_SRCS postal.c auspost.c imail.c)
set(zint_TWODIM_SRCS code16k.c dmatrix.c dm200.c pdf417.c qr.c maxicode.c composite.c aztec.c code49.c code1.c gridmtx.c)

View File

@ -92,6 +92,7 @@ void ZBarcode_Delete(struct zint_symbol *symbol)
{
if (symbol->bitmap != NULL)
free(symbol->bitmap);
<<<<<<< HEAD
// If there is a rendered version, ensure it's memory is released
if (symbol->rendered != NULL) {
@ -117,6 +118,8 @@ void ZBarcode_Delete(struct zint_symbol *symbol)
// Free Render
free(symbol->rendered);
}
=======
>>>>>>> 511fadef30c0f8634c6a7126edae0554914bcb92
free(symbol);
}

View File

@ -25,6 +25,7 @@
extern "C" {
#endif /* __cplusplus */
<<<<<<< HEAD
struct zint_render_line {
float x, y, length, width;
struct zint_render_line *next; /* Pointer to next line */
@ -43,6 +44,8 @@ struct zint_render {
struct zint_render_string *strings; /* Pointer to first string */
};
=======
>>>>>>> 511fadef30c0f8634c6a7126edae0554914bcb92
struct zint_symbol {
int symbology;
int height;
@ -68,10 +71,15 @@ struct zint_symbol {
char *bitmap;
int bitmap_width;
int bitmap_height;
<<<<<<< HEAD
struct zint_render *rendered;
};
=======
};
>>>>>>> 511fadef30c0f8634c6a7126edae0554914bcb92
/* Tbarcode 7 codes */
#define BARCODE_CODE11 1
#define BARCODE_C25MATRIX 2

View File

@ -0,0 +1,3 @@
[Dolphin]
ShowPreview=true
Timestamp=2010,5,29,7,36,6

View File

@ -0,0 +1,3 @@
[Dolphin]
ShowPreview=true
Timestamp=2010,5,29,7,59,30