mirror of
https://github.com/woo-j/zint.git
synced 2024-12-23 13:33:55 +03:00
607e4ed33a
`EANUPC_GUARD_WHITESPACE`, CLI `--guardwhitespace`) (ticket #287) EAN-2/EAN-5: HRT now at top instead of at bottom for standalones, following BWIPP CLI: batch mode: don't close input if stdin EAN/UPC: fix excess 1X to right of add-ons Composites: fix excess whitespace; fix quiet zone calcs to allow for linear shifting CLI: use own (Wine) version of `CommandLineToArgvW()` to avoid loading "shell32.dll" Move "font.h" -> "raster_font.h" EPS/SVG: use new `out_putsf()` func to output floats, avoiding trailing zeroes & locale dependency EPS: simplify "TR" formula SVG: change font from "Helvetica, sans serif" to "OCR-B, monospace"; use single "<path>" instead of multiple "<rect>"s to draw boxes (reduces file size) Add `EMBED_VECTOR_FONT` to `output_options` (CLI `--embedfont`) to enable embedding of font in vector output - currently only for SVG output of EAN/UPC GUI: use "OCR-B" font for EAN/UPC and "Arimo" for all others (was "Helvetica" for both); paint background of screen preview light grey so as contrasts with whitespace and quiet zones EMF: prefix funcs with `emf_`; simplify string `halign` handling large: rename `large_int` -> `large_uint` CODE128/common: move `c128_hrt_cpy_iso8859_1()` to `hrt_cpy_iso8859_1()` and add `ZINT_WARN_HRT_TRUNCATED` warning (for future use) Various symbologies: replace `printf()` with `fputs()` (symbol->debug) QRCODE: better assert(), removing a NOLINT (2 left) CLI: add some more barcode synonyms for DBAR common: various fiddlings CMake: don't include png.c unless ZINT_USE_PNG (avoids clang warning)
132 lines
3.6 KiB
Prolog
132 lines
3.6 KiB
Prolog
TEMPLATE = lib
|
|
|
|
# My qt is configured for static build:
|
|
# http://qt-project.org/wiki/Build_Standalone_Qt_Application_for_Windows
|
|
CONFIG += staticlib
|
|
|
|
# for dynamic build enable this:
|
|
#CONFIG += dll
|
|
|
|
macx{
|
|
CONFIG -= dll
|
|
CONFIG += lib_bundle
|
|
}
|
|
|
|
TARGET = QtZint
|
|
|
|
INCLUDEPATH += ../backend
|
|
|
|
#EDIT THIS !!!!
|
|
DEFINES += ZINT_VERSION="\\\"2.12.0.9\\\""
|
|
|
|
!contains(DEFINES, ZINT_NO_PNG) {
|
|
INCLUDEPATH += ../../lpng
|
|
INCLUDEPATH += ../../zlib
|
|
}
|
|
|
|
HEADERS += ../backend/aztec.h \
|
|
../backend/big5.h \
|
|
../backend/bmp.h \
|
|
../backend/channel_precalcs.h \
|
|
../backend/code1.h \
|
|
../backend/code128.h \
|
|
../backend/code49.h \
|
|
../backend/common.h \
|
|
../backend/composite.h \
|
|
../backend/dmatrix.h \
|
|
../backend/dmatrix_trace.h \
|
|
../backend/eci.h \
|
|
../backend/eci_sb.h \
|
|
../backend/emf.h \
|
|
../backend/raster_font.h \
|
|
../backend/gb18030.h \
|
|
../backend/gb2312.h \
|
|
../backend/gbk.h \
|
|
../backend/general_field.h \
|
|
../backend/gridmtx.h \
|
|
../backend/gs1.h \
|
|
../backend/gs1_lint.h \
|
|
../backend/hanxin.h \
|
|
../backend/iso3166.h \
|
|
../backend/iso4217.h \
|
|
../backend/ksx1001.h \
|
|
../backend/large.h \
|
|
../backend/maxicode.h \
|
|
../backend/output.h \
|
|
../backend/pcx.h \
|
|
../backend/pdf417.h \
|
|
../backend/pdf417_tabs.h \
|
|
../backend/pdf417_trace.h \
|
|
../backend/qr.h \
|
|
../backend/reedsol.h \
|
|
../backend/reedsol_logs.h \
|
|
../backend/rss.h \
|
|
../backend/sjis.h \
|
|
../backend/tif.h \
|
|
../backend/tif_lzw.h \
|
|
../backend/zfiletypes.h \
|
|
../backend/zintconfig.h \
|
|
../backend/zint.h \
|
|
qzint.h
|
|
|
|
SOURCES += ../backend/2of5.c \
|
|
../backend/auspost.c \
|
|
../backend/aztec.c \
|
|
../backend/bc412.c \
|
|
../backend/bmp.c \
|
|
../backend/codablock.c \
|
|
../backend/code.c \
|
|
../backend/code1.c \
|
|
../backend/code128.c \
|
|
../backend/code16k.c \
|
|
../backend/code49.c \
|
|
../backend/common.c \
|
|
../backend/composite.c \
|
|
../backend/dmatrix.c \
|
|
../backend/dotcode.c \
|
|
../backend/eci.c \
|
|
../backend/emf.c \
|
|
../backend/general_field.c \
|
|
../backend/gif.c \
|
|
../backend/gridmtx.c \
|
|
../backend/gs1.c \
|
|
../backend/hanxin.c \
|
|
../backend/imail.c \
|
|
../backend/large.c \
|
|
../backend/library.c \
|
|
../backend/mailmark.c \
|
|
../backend/maxicode.c \
|
|
../backend/medical.c \
|
|
../backend/output.c \
|
|
../backend/pcx.c \
|
|
../backend/pdf417.c \
|
|
../backend/plessey.c \
|
|
../backend/png.c \
|
|
../backend/postal.c \
|
|
../backend/ps.c \
|
|
../backend/qr.c \
|
|
../backend/raster.c \
|
|
../backend/reedsol.c \
|
|
../backend/rss.c \
|
|
../backend/svg.c \
|
|
../backend/telepen.c \
|
|
../backend/tif.c \
|
|
../backend/ultra.c \
|
|
../backend/upcean.c \
|
|
../backend/vector.c \
|
|
../backend/dllversion.c \
|
|
qzint.cpp
|
|
|
|
VERSION = 2.12.0.9
|
|
|
|
#DESTDIR = .
|
|
|
|
#include.path = $$[ZINT_INSTALL_HEADERS]
|
|
include.path = inst/include
|
|
include.files = ../backend/zint.h qzint.h
|
|
|
|
#target.path = $$[ZINT_INSTALL_LIBS]
|
|
target.path = inst/lib
|
|
|
|
INSTALLS += target include
|