mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
fab7435fac
- use fixed-length string tables (mostly) instead of (char *) pointer ones (saves ~40K) - re-use C128Table for CODABLOCKF and CODE16K (required removal of Stop character and extra CODE16K-only entry) - use pointer to destination and copy (memcpy/strcpy(), bin_append_posn()) instead of concatenating (strcat()) (mostly) - replace last remaining bin_append()s with bin_append_posn(); bin_append() removed - add length arg to toupper() and expand() (avoids strlen()) - change is_sane() to use table-based flags (avoids an iteration) - rename lookup() to is_sane_lookup() and change to check and return posns and use in pointer to destination loops (avoids strcat()s) - remove special case PHARMA in expand() (dealt with in pharma()) - make #define SILVER/CALCIUM/TECHNETIUM/KRSET etc static strings - replace strchr() -> posn() - CODE128: populate destination once in checksum loop; re-use and export some more routines (c128_set_a/b/c(), c128_put_in_set()) for sharing; prefix defines (SHIFTA -> C128_SHIFTA etc) and existing exported routines - use factor XOR toggle trick in checksum calcs (avoids branch) - raster.c: fill out single 1-pixel row and copy using new draw_bar_line(), copy_bar_line() routines; similarly in buffer_plot compare previous line & copy if same (same technique as used to improve non-half-integer scaling, significant performance increase, (c) codemonkey82); also done for PNG (BMP/GIF/PCX/TIFF not done) - raster/vector/output.c: shorten "output_" prefix -> "out_"; sync vector to other raster changes to try to keep source files similar - 2of5.c: prefix "c25_" JAPANPOST: return error if input data truncated (backward incompatible) DAFT: max chars 50 -> 100 common.c: istwodigit() -> is_twodigit() common.c/emf.c/output.c: use some further stripf()s (MSVC6 float variations) library.c: new check_output_args() helper zint.h: add BARCODE_LAST marker and use in library.c QRCODE: remove a NOLINT (requires clang-tidy-13), one remaining CMake: separate no-optimize from ZINT_DEBUG into new ZINT_NOOPT option |
||
---|---|---|
backend | ||
backend_qt | ||
backend_tcl | ||
cmake | ||
debian | ||
docs | ||
extras | ||
frontend | ||
frontend_qt | ||
getopt | ||
tools | ||
win32 | ||
.editorconfig | ||
.gitignore | ||
ChangeLog | ||
cmake_uninstall.cmake.in | ||
CMakeLists.txt | ||
COPYING | ||
README | ||
readme-cmake | ||
SetPaths.cmake | ||
TODO | ||
zint-qt.desktop | ||
zint-qt.png | ||
zint.nsi | ||
zint.spec |
Zint and libzint ---------------- Zint is a suite of programs to allow easy encoding of data in any of the wide range of public domain barcode standards and to allow integration of this capability into your own programs. Zint is able to encode data in the following formats: Code 11, Standard Code 2 of 5, IATA Code 2 of 5, Industrial Code 2 of 5, Interleaved Code 2 of 5, Code 2 of 5 Data Logic, ITF-14, Deutshe Post Leitcode, Deutshe Post Identcode, UPC-A, UPC-E, EAN-2, EAN-5, EAN-8, EAN-13, ISBN, UK Plessey, MSI Plessey, Telepen Alpha, Telepen Numeric, Code 39, Extended Code 39, Code 93, PZN, Code 32, LOGMARS, Codabar, Pharmacode, Code 128, GS1-128, NVE-18, Code 16k, PDF417, MicroPDF417, Two-Track Pharmacode, POSTNET, PLANET, Australia Post 4-State Symbols, RM4SCC, Dutch Post KIX, USPS Intelligent Mail, GS1 DataBar Omnidirectional, GS1 DataBar Limited, GS1 DataBar Expanded, GS1 DataBar Stacked, Composite Symbology, Data Matrix, QR Code, MaxiCode, Aztec Code, Aztec Runes, EAN-14, Micro QR, Korea Post Barcode, HIBC Code 128, HIBC Code 39, HIBC Data Matrix, HIBC PDF417, HIBC MicroPDF417, HIBC QR Code, HIBC Codablock-F, HIBC Aztec Code, Japanese Postal Code, Code 49, Channel Code, Code One, Grid Matrix, DAFT, FIM and Flattermarken, Codablock-F, DotCode, Han Xin Code, rMQR, Ultracode, UPNQR, VIN, and DPD Code. Output can be saved as BMP, EPS, GIF, PCX, TIF, EMF, PNG or SVG. PROJECT HISTORY --------------- Please see "ChangeLog" in the project root directory. CONTACT US ---------- The home of Zint is: <http://www.sourceforge.net/projects/zint> The code is now also mirrored at: <https://github.com/woo-j/zint> For feature requests or bug reports please either join the mailing list at <https://lists.sourceforge.net/lists/listinfo/zint-barcode> or add a ticket on the project's SourceForge. BEFORE POSTING TO THE LIST -------------------------- Please note the following points... * Zint is primarily developed for Linux. While we have some experience of using Zint on Windows we may be unable to resolve problems if they are specific to other operating systems. We cannot provide support for using Zint with commercial packages such as MS Office or Crystal Reports. * Always ensure you are using the latest version of Zint before posting bug reports - the bug you are reporting may have been fixed already. * Please remember to state what operating system you are using and include enough information to allow us to reproduce the error - including input data if appropriate. * Please DO NOT post messages asking for us to change the license arrangements. You will be ignored. * Please remember that Zint is developed by volunteers. While we attempt to answer all messages within a week, this is highly dependant on external circumstances.