Commit Graph

28 Commits

Author SHA1 Message Date
Jojakim Stahl
2b79940d33 Fixed rendered->height calculation for EAN like barcodes 2017-10-18 11:40:20 +02:00
Jojakim Stahl
0a913ad9e3 Adding hexagon height to zint_render_hexagon 2017-10-18 11:40:20 +02:00
Jojakim Stahl
c7d6256a6e Free symbol->rendered structures on ZBarcode_Clear and repeated calls of ZBarcode_Render 2017-10-18 11:40:19 +02:00
Harald Oehlmann
f83e5b1501 Make compile with MS-VC6 2017-10-16 19:26:54 +02:00
Rodrigo Torres
4963a772db Refactor 2017-09-11 19:21:33 +01:00
Robin Stuart
b3a1b24d18 help the compiler create more efficient code
Patch from Michael <virtual_worlds@gmx.de>
Full text: As usual I have modified only minor things to remove warnigs when compiled as C++ code, have added some const-specifiers where possible to help the compiler create more efficient code and added some static-specifiers to make functions invisible to other modules.
2017-05-29 10:43:47 +01:00
Robin Stuart
19ba8a34c4 Update to version 2.6.0 and update copyright to 2017 2017-05-11 21:14:38 +01:00
Robin Stuart
3cf8a142b8 Bugfix: Ouput binding in raster images
Also: tidy up use of output_options
2016-08-26 15:13:40 +01:00
Robin Stuart
f17f10fa7c Replace local concat() and roundup() with C library defaults
Patch by Oxy (Michael) <virtual_worlds@gmx.de>
Ref: https://sourceforge.net/p/zint/mailman/message/34896811/
2016-03-02 21:12:38 +00:00
Robin Stuart
5d9ce6f684 Improvements from Oxy patch
Original email reads...
It does not contain any fundamental changes or new functions but a lot of improvements which I have done over time (added several const/static specifiers, replaced repeated if-conditions by if-else, removed some warnings).
2016-02-29 19:42:32 +00:00
Robin Stuart
660d8148bd Code format and audit, part 3
Update copyright info, remove unused code, etc.
2016-02-20 11:29:19 +00:00
Harald Oehlmann
b948d9928c Fixed wrong use of _alloca which causes crashes on Windows 2015-08-18 14:27:37 +02:00
oxygenic
1a7863520b license changed with permission of original copyright holders (see mailing list for details) 2013-05-16 19:26:38 +02:00
Robin Stuart
4f86c12ec4 Correct size of PostNet
Add pitch and height restrictions for rendering PostNet and PLANET symbols.
Thanks to Jim Evans.
2010-12-26 17:43:49 +00:00
Robin Stuart
7b135ee44d Manage memory in VS
Some adjustments for compiling with Visual Studio.
2010-10-18 20:35:52 +01:00
Robin Stuart
7da2041cfd More code cleanup
Patch 7 of 7 from "Ismael Luceno" <ismael.luceno@gmail.com>
2010-09-14 11:36:00 +01:00
hooper
2300a76a07 Add size restrictions for some barcode types
No longer allows symbols of size less than 2mm high or 2mm wide
Enforces correct sizing for Australia Post, Intelligent Mail, Royal Mail 4-State and KIX Code
Adjusts ascender/tracker/descender proportions on all 4-state codes to revised 3/2/3 standards
Enforces normative sizing for UPC and EAN
Enforces minimum sizing for Codabar and Code 49
Tidies up the code a bit so that all of the above makes some sense
2010-09-12 11:54:47 +01:00
Robin Stuart
6702e7a005 Correct UPC and EAN rendering
Made corrections to the rendering of UPC and EAN symbols in render.c
including taking account of EAN-2 and EAN-5 addon codes, correct text sizing
and simplified guard bar extension.
2010-08-22 10:45:21 +01:00
Robin Stuart
75067959b4 Correct for differing scale in glabels
Correction of the scale of maxicode symbols to match requirements of glabels
2010-08-21 23:01:33 +01:00
Robin Stuart
574319bb1c Added Maxicode for glabels interface
glabels can now access Maxicode encoding
2010-08-21 22:57:54 +01:00
Robin Stuart
6902ad1e80 Add binding and boxes to rendering
Added capabilities for row binding and bind/box options to render.c
2010-07-19 09:31:52 +01:00
Robin Stuart
8d4398e1bb Height and width correction in render.c
Correction makes the height and width adjustment in render.c work as expected.
Height and width of a symbol can now be manipulated to any value in gLabels
with Zint adding padding or changing height of the symbol as required.
2010-07-06 07:43:13 +01:00
Robin Stuart
7e81c5ac55 Adjustment of rendering functions
Some tweaking of the rendering functions to make them work as expected in glabels.
2010-06-19 11:41:49 +01:00
Robin Stuart
807d9460d1 Add support for rendering UPC
Extended bars and text formatting for UPC barcodes now included in render.c
2010-06-13 11:56:31 +01:00
Sam Lown
847cd70e32 Added width and height parameters to rendering for easier output control 2010-06-11 19:42:51 +02:00
Sam Lown
2cea2399d9 Changed rendering to use strings instead of a characters 2010-06-11 17:25:41 +02:00
Sam Lown
e79076a218 Enhancing support for more layouts with refinements 2010-05-31 14:52:19 +02:00
Sam Lown
d50c2c51a3 Adding support for Rendered backend 2010-05-30 19:25:24 +02:00