1
0
mirror of https://git.code.sf.net/p/zint/code synced 2026-01-04 10:47:22 +00:00

zint.h: increase symbol->text size 160 -> 200;

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
This commit is contained in:
gitlost
2023-11-19 19:39:54 +00:00
parent ca964f9098
commit 323b34502b
113 changed files with 2016 additions and 1550 deletions

View File

@@ -1936,9 +1936,6 @@ the barcode in X-dimensions</string>
<string>Gap between barcode and text in X-dimensions
(ignored if disabled)</string>
</property>
<property name="specialValueText">
<string>Default</string>
</property>
<property name="prefix">
<string/>
</property>
@@ -1949,7 +1946,7 @@ the barcode in X-dimensions</string>
<number>2</number>
</property>
<property name="minimum">
<double>0.000000000000000</double>
<double>-5.000000000000000</double>
</property>
<property name="maximum">
<double>10.000000000000000</double>
@@ -1958,7 +1955,7 @@ the barcode in X-dimensions</string>
<double>0.100000000000000</double>
</property>
<property name="value">
<double>0.000000000000000</double>
<double>1.000000000000000</double>
</property>
</widget>
</item>
@@ -1971,7 +1968,7 @@ the barcode in X-dimensions</string>
</size>
</property>
<property name="toolTip">
<string>Set text gap to zero (default 1X)</string>
<string>Set text gap to default 1X</string>
</property>
<property name="text">
<string/>