diff --git a/backend/tests/testcommon.c b/backend/tests/testcommon.c index 6dc5c1da..cf285470 100644 --- a/backend/tests/testcommon.c +++ b/backend/tests/testcommon.c @@ -3650,12 +3650,6 @@ int testUtilBwipp(int index, const struct zint_symbol *symbol, int option_1, int } /* Hack in various adjustments */ - if (symbology == BARCODE_DBAR_OMN || symbology == BARCODE_DBAR_LTD || symbology == BARCODE_DBAR_EXP) { - /* Begin with space */ - char adj[] = " -sbs"; - memmove(cmd + GS_INITIAL_LEN + sizeof(adj) - 1, cmd + GS_INITIAL_LEN, strlen(cmd) + 1 - GS_INITIAL_LEN); - memcpy(cmd + GS_INITIAL_LEN, adj, sizeof(adj) - 1); - } if (symbology == BARCODE_CODE11 || symbology == BARCODE_CODE39 || symbology == BARCODE_EXCODE39 || symbology == BARCODE_CODABAR || symbology == BARCODE_PZN || symbology == BARCODE_CODE32 || symbology == BARCODE_VIN) { diff --git a/backend/tests/tools/bwipp_dump-barcode.ps.cat b/backend/tests/tools/bwipp_dump-barcode.ps.cat index c0a72a5b..ad25d13c 100644 --- a/backend/tests/tools/bwipp_dump-barcode.ps.cat +++ b/backend/tests/tools/bwipp_dump-barcode.ps.cat @@ -98,20 +98,6 @@ ret /pixs known { pixs 0 tmppixs 0 j getinterval putinterval } if - b (databarlimitedcomposite) eq { - % Add RHS 5-space quiet zone - /cpypixs pixs length array def - cpypixs 0 pixs 0 pixs length getinterval putinterval - /pixw pixs length pixx idiv def - /pixs [ - 0 pixx cpypixs length 1 sub { - /i exch def - cpypixs i pixx getinterval aload pop 0 0 0 0 0 - } for - ] def - /pixx pixx 5 add def - } if - b (ean13composite) eq b (ean8composite) eq or b (upcacomposite) eq or b (upcecomposite) eq or { d (|) search { /linear exch def @@ -163,9 +149,6 @@ ret /pixs known { /f {} def } ifelse - % If should begin with space - systemdict /bs known { (0) print } if - % If should end sbs loop on bar (i.e. ignore last index of even-length sbs) /limit systemdict /elb known { sbs length 1 add 2 idiv 2 mul 2 sub diff --git a/backend/tests/tools/bwipp_dump.ps.tar.xz b/backend/tests/tools/bwipp_dump.ps.tar.xz index db4d64c2..25640ba2 100644 Binary files a/backend/tests/tools/bwipp_dump.ps.tar.xz and b/backend/tests/tools/bwipp_dump.ps.tar.xz differ