mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-12 22:25:59 -04:00
Actually change SVG font to "Arimo, Arial, sans-serif" ([607e4ed
])
Allow `--embedfont` for non-EAN/UPC SVG also (& update GUI) SVG: add "fonts/normal_woff2.h"; use array syntax for it & "fonts/upcean_woff2.h" to avoid large strings GUI: embed Arimo (via "fonts/normal_ttf.h"), same as OCRB Change textgap max 5X -> 10X README: make list of barcodes 2-col table for readability win32/README: note Visual Studio 2022 re CMake
This commit is contained in:
parent
55458cf659
commit
acd52ac489
84 changed files with 2951 additions and 308 deletions
|
@ -1488,11 +1488,18 @@ be used together if required, but only for vector output.
|
|||

|
||||
|
||||
The gap between the barcode and the text can be adjusted using the `--textgap`
|
||||
option, where the gap is given as a multiple of the X-dimension (maximum 5X). A
|
||||
option, where the gap is given as a multiple of the X-dimension (maximum 10X). A
|
||||
zero value uses the default gap.
|
||||
|
||||

|
||||
|
||||
For SVG output, the font preferred by Zint (monospaced "OCR-B" for EAN/UPC,
|
||||
"Arimo" - a proportional sans-serif font metrically compatible with "Arial" -
|
||||
for all others) can be embedded in the file for portability using the
|
||||
`--embedfont` option:
|
||||
|
||||

|
||||
|
||||
## 4.18 Help Options
|
||||
|
||||
There are three help options which give information about how to use the
|
||||
|
@ -2112,7 +2119,7 @@ Value Effect
|
|||
whitespace (EAN/UPC).
|
||||
|
||||
`EMBED_VECTOR_FONT` Embed font in vector output - currently available for
|
||||
SVG output of EAN/UPC only.
|
||||
SVG output only.
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Table: API `output_options` Values {#tbl:api_output_options tag="$ $"}
|
||||
|
@ -2603,9 +2610,6 @@ the X-dimension by setting `--addongap` (API `option_2`) to a value between 9
|
|||
the main bars can be adjusted by setting `--guarddescent` (API `guard_descent`)
|
||||
to a value between 0 and 20 (default 5).
|
||||
|
||||
For SVG output, the `--embedfont` option (API `output_options |=
|
||||
EMBED_VECTOR_FONT`) will embed the OCR-B font in the file for portability.
|
||||
|
||||
#### 6.1.3.2 UPC Version E
|
||||
|
||||

|
||||
|
@ -2648,9 +2652,6 @@ the X-dimension by setting `--addongap` (API `option_2`) to a value between 7
|
|||
the main bars can be adjusted by setting `--guarddescent` (API `guard_descent`)
|
||||
to a value between 0 and 20 (default 5).
|
||||
|
||||
For SVG output, the `--embedfont` option (API `output_options |=
|
||||
EMBED_VECTOR_FONT`) will embed the OCR-B font in the file for portability.
|
||||
|
||||
### 6.1.4 EAN (European Article Number) (ISO 15420)
|
||||
|
||||
#### 6.1.4.1 EAN-2, EAN-5, EAN-8 and EAN-13
|
||||
|
@ -2694,9 +2695,8 @@ If you are encoding an EAN-8 or EAN-13 symbol and your data already includes
|
|||
the check digit then you can use symbology `BARCODE_EANX_CHK` (14) which takes
|
||||
an 8 or 13-digit input and validates the check digit before encoding.
|
||||
|
||||
Options to add quiet zone indicators, to adjust the add-on gap and the guard bar
|
||||
descent height, and to embed the font are the same as for [6.1.3.2 UPC Version
|
||||
E]. For instance:
|
||||
Options to add quiet zone indicators and to adjust the add-on gap and the guard
|
||||
bar descent height are the same as for [6.1.3.2 UPC Version E]. For instance:
|
||||
|
||||
```bash
|
||||
zint -b EANX_CHK -d "74323654" --guardwhitespace
|
||||
|
@ -2720,8 +2720,8 @@ As with EAN-13, a quiet zone indicator can be added using `--guardwhitespace`:
|
|||
--guardwhitespace`](images/isbnx_gws.svg)
|
||||
|
||||
EAN-2 and EAN-5 add-on symbols can be added using the + character, and there are
|
||||
options to adjust the add-on gap and the guard bar descent height and to embed
|
||||
the font - see [6.1.3.2 UPC Version E].
|
||||
options to adjust the add-on gap and the guard bar descent height - see [6.1.3.2
|
||||
UPC Version E].
|
||||
|
||||
### 6.1.5 Plessey
|
||||
|
||||
|
@ -3735,7 +3735,7 @@ Destination+DPS 9 Alphanumeric (1 of 6 patterns)
|
|||
Service Type 1 Numeric
|
||||
RTS Post Code 7 Alphanumeric (1 of 6 patterns)
|
||||
Reserved 6 Spaces
|
||||
Customer Data 6, 45 or 29 Anything (Latin-1 plus ASCII)
|
||||
Customer Data 6, 45 or 29 Anything (Latin-1)
|
||||
|
||||
Table: {#tbl:mailmark_2d_input_fields
|
||||
tag=": Royal Mail 2D Mailmark Input Fields"}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue