zpl.tools
Testing labels

Assorted example labels

5 labels measured against Labelary on every test run

Hand-picked examples committed with the renderer: Labelary's own sample, a UPS label, a USPS Ground Advantage label, a carton label and a GS1 DGR label.

The suite renders every label below on each test run, and compares the output with Labelary's for the same input. The status states what matters for a label: the layout is the same and every barcode carries the same data. The percentage is the share of pixels that differ — rendering detail such as font rasterization — and it does not set the status.

Summary

StatusLabels
Pass — the layout and the barcode data match4
Known defect — the output differs in what it says0
No committed comparison1
In the corpus5

The widest difference in the corpus is 3.36%, on USPS ground advantage testing label. One label has no committed comparison: GS1 DGR complete.

A label with a content or blocking known issue reads known defect, whatever it measures. Every other label reads pass: the layout and the barcode data match. A cosmetic issue names a visible rendering difference without changing what the label says.

Labels

Known defects first, then the widest rendering difference.

LabelDifferenceStatusKnown issueViewer
USPS ground advantage testing label3.36%passcosmetictoo large to link — project/zpllib/data/input/labels/usps_ground_advantage_testing_label.zpl
UPS label3.25%passzpl.toolsLabelary
Labelary example2.00%passzpl.toolsLabelary
Carton labels 506976591.92%passtoo large to link — project/data/input/labels/carton_labels_50697659.zpl
GS1 DGR completenot measuredunmeasuredtoo large to link — project/data/input/labels/gs1_dgr_complete.zpl

Known issues

1 of the 5 labels carries an annotated defect, 1 defect in all. The severity comes from the label, not from the percentage:

  • blocking means content a reader misses;
  • content means the output differs in what it says;
  • cosmetic means it differs only in how it looks.

Cosmetic defects

  • USPS ground advantage testing label, 3.36% — At 3.36% this is a measured limit and not an open defect. Per tile alignment now removes only 18% of it as a one or two dot shift, the block-placement fixes having taken the rest. What is left is outline shape and rasterizer fringe, and every field is present and reads the same. Closing this band needs new outlines or another rasterizer.. Owned by docs/company/plan/phase-5/12-test-documentation-traceability/label-divergences.md.