mirror of
https://git.code.sf.net/p/zint/code
synced 2026-07-30 18:09:50 +00:00
- AZTEC/CHANNEL/CODABLOCKF/CODE16K/CODE49/CODEONE/DATAMATRIX/
DOTCODE/GRIDMATRIX/HANXIN/MICROPDF417/MICROQR/PDF417/QRCODE/
RMQR/ULTRA: set `option_1/2/3` to values used in encodation
("Feedback options"), and add new access methods
`encodedOption1()` etc. to Qt Backend, and use in GUI to provide
better feedback on "Automatic" selections
- AZTEC: give more precise warnings in low ECC situations, and
indicate via `option_1` by setting to -1 (min 3 words), 0
(<5% + 3 words) (`ecc_ratio`)
- set_height: fix non-compliance false positives by using epsilon
in checks (prompted by CODABLOCKF non-compliant warning for
zint-generated compliant height - floating point `rows` mult !=
`zero_count` div; one test regression for CODE93);
better warning messages on non-compliant heights (min/max)
- manual/man page: fix DATAMATRIX Sizes tables "28 12x26" ->
"27 12x26"
- GUI: AZTEC/CODEONE: add Zint versions to comboboxes
- DOTCODE: improve error messages re size too small/large
- ULTRA: better ZINT_TEST codeword dump (ZINT_DEBUG_TEST)
- general: various tabs -> spaces; prettify main .rc files;
trailing spaces; small amount of code fiddling (CODE16K)
This commit is contained in:
+11
-11
@@ -1,4 +1,4 @@
|
||||
% docs/README 2025-02-15
|
||||
% docs/README 2025-03-07
|
||||
|
||||
For generation of "docs/manual.pdf" and "docs/manual.txt" from "manual.pmd" using a recent version of pandoc
|
||||
|
||||
@@ -10,15 +10,15 @@ For Ubuntu 22.04 (python < 3.12)
|
||||
sudo apt install python3-pip
|
||||
pip install pandoc-tablenos --user
|
||||
Else for Ubuntu 24.04 (one way around "externally-managed-environment" error, PEP 668)
|
||||
sudo apt install python3-full
|
||||
python3 -m venv ~/py_envs
|
||||
source ~/py_envs/bin/activate
|
||||
pip install pandoc-tablenos
|
||||
sudo apt install python3-full
|
||||
python3 -m venv ~/py_envs
|
||||
source ~/py_envs/bin/activate
|
||||
pip install pandoc-tablenos
|
||||
Then
|
||||
export PATH=~/.local/bin:"$PATH"
|
||||
# Temporary fix for version regex - see https://github.com/tomduck/pandoc-xnos/pull/29
|
||||
python -m pip install --force-reinstall \
|
||||
git+https://github.com/tomduck/pandoc-xnos@284474574f51888be75603e7d1df667a0890504d#egg=pandoc-xnos
|
||||
# Temporary fix for version regex - see https://github.com/tomduck/pandoc-xnos/pull/29
|
||||
python -m pip install --force-reinstall \
|
||||
git+https://github.com/tomduck/pandoc-xnos@284474574f51888be75603e7d1df667a0890504d#egg=pandoc-xnos
|
||||
sudo apt install librsvg2-bin
|
||||
sudo apt install texlive-xetex
|
||||
sudo apt install texlive-lang-cjk
|
||||
@@ -33,9 +33,9 @@ On Fedora (tested on Fedora Linux 38 (Workstation Edition) and Fedora Linux 40 (
|
||||
sudo dnf install python3-pip
|
||||
pip install pandoc-tablenos --user
|
||||
export PATH=~/.local/bin:"$PATH"
|
||||
# Temporary fix for version regex - see https://github.com/tomduck/pandoc-xnos/pull/29
|
||||
python -m pip install --force-reinstall \
|
||||
git+https://github.com/tomduck/pandoc-xnos@284474574f51888be75603e7d1df667a0890504d#egg=pandoc-xnos
|
||||
# Temporary fix for version regex - see https://github.com/tomduck/pandoc-xnos/pull/29
|
||||
python -m pip install --force-reinstall \
|
||||
git+https://github.com/tomduck/pandoc-xnos@284474574f51888be75603e7d1df667a0890504d#egg=pandoc-xnos
|
||||
sudo dnf install librsvg2-tools.x86_64
|
||||
sudo dnf install texlive-xetex
|
||||
sudo dnf install texlive-ctex.noarch
|
||||
|
||||
+3
-3
@@ -333,7 +333,7 @@
|
||||
<h1 class="title">Zint Barcode Generator and Zint Barcode Studio User
|
||||
Manual</h1>
|
||||
<p class="author">Version 2.15.0.9</p>
|
||||
<p class="date">February 2025</p>
|
||||
<p class="date">March 2025</p>
|
||||
</header>
|
||||
<nav id="TOC" role="doc-toc">
|
||||
<ul>
|
||||
@@ -6040,7 +6040,7 @@ now been removed from Zint.</p>
|
||||
<td>17</td>
|
||||
<td>72 x 72</td>
|
||||
<td></td>
|
||||
<td>28</td>
|
||||
<td>27</td>
|
||||
<td>12 x 26</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -9278,7 +9278,7 @@ Data Matrix 1 to 48 (31 to 48 DMRE) (HxW)
|
||||
8 24x24 24 144x144 40 20x36
|
||||
9 26x26 25 8x18 41 20x44
|
||||
10 32x32 26 8x32 42 20x64
|
||||
11 36x36 28 12x26 43 22x48
|
||||
11 36x36 27 12x26 43 22x48
|
||||
12 40x40 28 12x36 44 24x48
|
||||
13 44x44 29 16x36 45 24x64
|
||||
14 48x48 30 16x48 46 26x40
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
% Zint Barcode Generator and Zint Barcode Studio User Manual
|
||||
% Version 2.15.0.9
|
||||
% February 2025
|
||||
% March 2025
|
||||
|
||||
# 1. Introduction
|
||||
|
||||
@@ -4028,7 +4028,7 @@ Input Symbol Size Input Symbol Size Input Symbol Size
|
||||
4 16 x 16 14 48 x 48 24 144 x 144
|
||||
5 18 x 18 15 52 x 52 25 8 x 18
|
||||
6 20 x 20 16 64 x 64 26 8 x 32
|
||||
7 22 x 22 17 72 x 72 28 12 x 26
|
||||
7 22 x 22 17 72 x 72 27 12 x 26
|
||||
8 24 x 24 18 80 x 80 28 12 x 36
|
||||
9 26 x 26 19 88 x 88 29 16 x 36
|
||||
10 32 x 32 20 96 x 96 30 16 x 48
|
||||
|
||||
+4
-4
@@ -1,6 +1,6 @@
|
||||
Zint Barcode Generator and Zint Barcode Studio User Manual
|
||||
Version 2.15.0.9
|
||||
February 2025
|
||||
March 2025
|
||||
|
||||
*******************************************************************************
|
||||
* For reference the following is a text-only version of the Zint manual, *
|
||||
@@ -3837,7 +3837,7 @@ standards (ECC 000 to 140) have now been removed from Zint.
|
||||
4 16 x 16 14 48 x 48 24 144 x 144
|
||||
5 18 x 18 15 52 x 52 25 8 x 18
|
||||
6 20 x 20 16 64 x 64 26 8 x 32
|
||||
7 22 x 22 17 72 x 72 28 12 x 26
|
||||
7 22 x 22 17 72 x 72 27 12 x 26
|
||||
8 24 x 24 18 80 x 80 28 12 x 36
|
||||
9 26 x 26 19 88 x 88 29 16 x 36
|
||||
10 32 x 32 20 96 x 96 30 16 x 48
|
||||
@@ -4901,7 +4901,7 @@ configured barcode is displayed once the "Generate" button is pressed.
|
||||
|
||||
Annex D. Man Page ZINT(1)
|
||||
|
||||
% ZINT(1) Version 2.15.0.9 % % February 2025
|
||||
% ZINT(1) Version 2.15.0.9 % % March 2025
|
||||
|
||||
NAME
|
||||
|
||||
@@ -5372,7 +5372,7 @@ OPTIONS
|
||||
8 24x24 24 144x144 40 20x36
|
||||
9 26x26 25 8x18 41 20x44
|
||||
10 32x32 26 8x32 42 20x64
|
||||
11 36x36 28 12x26 43 22x48
|
||||
11 36x36 27 12x26 43 22x48
|
||||
12 40x40 28 12x36 44 24x48
|
||||
13 44x44 29 16x36 45 24x64
|
||||
14 48x48 30 16x48 46 26x40
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
.\" Automatically generated by Pandoc 3.6.3
|
||||
.\"
|
||||
.TH "ZINT" "1" "February 2025" "Version 2.15.0.9"
|
||||
.TH "ZINT" "1" "March 2025" "Version 2.15.0.9"
|
||||
.SH NAME
|
||||
\f[CR]zint\f[R] \- encode data as a barcode image
|
||||
.SH SYNOPSIS
|
||||
@@ -492,7 +492,7 @@ Data Matrix 1 to 48 (31 to 48 DMRE) (HxW)
|
||||
8 24x24 24 144x144 40 20x36
|
||||
9 26x26 25 8x18 41 20x44
|
||||
10 32x32 26 8x32 42 20x64
|
||||
11 36x36 28 12x26 43 22x48
|
||||
11 36x36 27 12x26 43 22x48
|
||||
12 40x40 28 12x36 44 24x48
|
||||
13 44x44 29 16x36 45 24x64
|
||||
14 48x48 30 16x48 46 26x40
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
% ZINT(1) Version 2.15.0.9
|
||||
%
|
||||
% February 2025
|
||||
% March 2025
|
||||
|
||||
# NAME
|
||||
|
||||
@@ -323,7 +323,7 @@ Paintbrush (`PCX`), Portable Network Format (`PNG`), Scalable Vector Graphic (`S
|
||||
For MaxiCode, the scale is multiplied by 10 for raster output, by 40 for EMF output, and by 2 otherwise.
|
||||
|
||||
Increments of 0.5 (half-integers) are recommended for non-MaxiCode raster output (BMP, GIF, PCX, PNG and TIF).
|
||||
Human Readable Text (HRT) for raster output will not be shown for scales less than 1.
|
||||
Human Readable Text (HRT) for raster output will not be shown for scales less than 1.
|
||||
|
||||
See also `--scalexdimdp` below.
|
||||
|
||||
@@ -427,7 +427,7 @@ Paintbrush (`PCX`), Portable Network Format (`PNG`), Scalable Vector Graphic (`S
|
||||
8 24x24 24 144x144 40 20x36
|
||||
9 26x26 25 8x18 41 20x44
|
||||
10 32x32 26 8x32 42 20x64
|
||||
11 36x36 28 12x26 43 22x48
|
||||
11 36x36 27 12x26 43 22x48
|
||||
12 40x40 28 12x36 44 24x48
|
||||
13 44x44 29 16x36 45 24x64
|
||||
14 48x48 30 16x48 46 26x40
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
# Copyright (C) 2022-2024 <rstuart114@gmail.com>
|
||||
# Copyright (C) 2022-2025 <rstuart114@gmail.com>
|
||||
#
|
||||
# Generate the barcode .svg images for manual.pdf (via manual.pmd)
|
||||
|
||||
@@ -18,7 +18,7 @@ SCALE_UPCEAN=0.5
|
||||
# Multipying by 4 now seems necessary on Ubuntu 22.04 with pandoc 2.19
|
||||
scales=( SCALE_LINEAR SCALE_2D SCALE_2D_BIGGER SCALE_TRACK SCALE_DOTTY SCALE_ULTRA SCALE_UPCEAN )
|
||||
for scale in "${scales[@]}" ; do
|
||||
eval $scale=$(echo "${!scale} * 4" | bc)
|
||||
eval $scale=$(echo "${!scale} * 4" | bc)
|
||||
done
|
||||
|
||||
zint -b PDF417 -d "This Text" --height=4 --heightperrow --scale=$SCALE_LINEAR -o images/pdf417_heightperrow.svg
|
||||
|
||||
Reference in New Issue
Block a user