Skip to content

1.0.0

Choose a tag to compare

@ronison ronison released this 12 Nov 17:37
· 28 commits to main since this release

Bars4J 1.0.0

HRI label alignment fix

The human-readable digits of the EAN/UPC formats are now drawn digit-by-digit in fixed 7-module slots (the canonical HRI positions), so the label no longer collides with the right guard bars regardless of JDK font metrics.

New rendering options

  • RenderSpec now accepts the quiet zone width (modules per side, default 10) and the human-readable label font size (default 14).
  • SwingDemo exposes the new options plus a fixed Colours panel.

Legacy API removed

The retired legacy API (Barcode, BarcodeFactory, BarcodeComponent, org.bars4j.paint, legacy encoders) has been removed. Use the unified BarcodeGenerator facade — see the README migration examples.

Full changelog: pr-0.9.0...pr-1.0.0