mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
323b34502b
rename `ZINT_CAP_EXTENDABLE` -> `ZINT_CAP_EANUPC` (`ZINT_CAP_EXTENDABLE` marked as legacy) CODE128: increase no. symbol chars max 60 -> 99 EAN-2/EAN-5: fix `BARCODE_BIND_TOP/BIND/BOX` output GS1_128: warn if data > 48 (GS1 General Specifications max) common: `is_extendable()` -> `is_ucpean()` raster: add `ZFONT_HALIGN_CENTRE/LEFT/RIGHT` flags and process in `draw_string()` (for drawing EAN/UPC outside digits), and for `ZFONT_HALIGN_CENTRE` round when calculating centre (shifts some texts 1 pixel left) raster/vector: use offsets into `symbol->text` for EAN/UPC instead of `out_upcean_split_text()` (removed) BMP/EMF/GIF/PCX/PNG/PS/SVG/TIF: use new `out_colour_get_rgb()` routine (replaces `colour_to_XXX()`) general: simplify/fix some `error_number` handling/returning frontend: truncate overlong `--primary` instead of ignoring; negative floating pt option (for `--textgap`) man page: list size detail for matrix symbols (`--vers`) manual: further fiddling with scaling text; some typos |
||
---|---|---|
.. | ||
cmake/Modules | ||
CMakeLists.txt | ||
README | ||
test_args.c |
Zint frontend test suite ------------------------ See <project-dir>/backend/tests/README to see how to build the test suite. In addition to the setup for the backend tests, the environment needs to be able to find the `zint` application using that name. In UNIX-like systems this can be configured by prepending the PATH variable with the frontend's directory inside the build directory: cd <build-dir> export PATH=$(pwd)/frontend:${PATH} ------------------------------------------------------------------------------ the frontend test will be automatically run by cmake's ctest, however manual invocation is also possible: cd <build-dir>/frontend/test ./test_args As with the backend tests, individual test functions and single dataset items can be run using '-f <func-name>' and '-i <index>' etc.