1
0
mirror of https://git.code.sf.net/p/zint/code synced 2026-07-31 02:19:50 +00:00

DATAMATRIX: add new options DM_B256_START and DM_C40_START to

`options_3`, allowing forcing of Base 256 or C40 mode a la BWIPP
  for initial no. of characters specified in `option_1`, with 0
  meaning all (CLI "--dmb256=" and "--dmc40=", GUI also (apart
  from MAILMARK_2D, which may be added later);
  export masks `DM_B256_C40_START_MASK` & `DM_SQUARE_DMRE_MASK` in
  "zint.h"
ZBarcode_Encode_File: report filename (possibly truncated) in error
  message on failed open
GUI: uniquify some accelerators and add some child widget getter
  helpers to "mainwindow.cpp"
backend/DEVELOPER -> backend/README, with some expansion
debian/copyright: a few more fixes
BWIPP/pandoc: update to latest
tests/fuzz: adjust for new DATAMATRIX options
This commit is contained in:
gitlost
2026-03-30 21:25:22 +01:00
parent 3c193d7306
commit f9a493522f
40 changed files with 1706 additions and 920 deletions
+16
View File
@@ -6504,6 +6504,12 @@ ISO/IEC standard placement, use option <code>--dmiso144</code> (API
<code>option_3 |= DM_ISO_144</code>).</p>
<p>For a faster but less optimal encodation, the <code>--fast</code>
option (API <code>input_mode |= FAST_MODE</code>) may be used.</p>
<p>The encodation mode of initial input characters may be forced using
the <code>--dmb256</code> (API <code>option_3 |= DM_B256_START</code>)
and <code>--dmc40</code> (API <code>option_3 |= DM_C40_START</code>)
options. Both take an integer (API <code>option_1</code>) which
specifies how many initial characters to encode in the respective mode,
with <code>0</code> meaning all.</p>
<p>Data Matrix supports Structured Append of up to 16 symbols and a
numeric ID (file identifications), which can be set by using the
<code>--structapp</code> option (see <a href="#structured-append">4.17
@@ -9249,6 +9255,16 @@ anything.</p>
pipe or a file. Use <code>--filetype</code> to specify output
format.</p>
</dd>
<dt><code>--dmb256=INTEGER</code></dt>
<dd>
<p>For Data Matrix symbols, encode the first <em>INTEGER</em> input
characters in Base 256 mode. 0 means all input.</p>
</dd>
<dt><code>--dmc40=INTEGER</code></dt>
<dd>
<p>For Data Matrix symbols, encode the first <em>INTEGER</em> input
characters in C40 mode. 0 means all input.</p>
</dd>
<dt><code>--dmiso144</code></dt>
<dd>
<p>For Data Matrix symbols, use the standard ISO/IEC codeword placement