Skip to content

1.0.1

Choose a tag to compare

@ronison ronison released this 12 Nov 18:09
· 26 commits to main since this release

Bars4J 1.0.1

Fixed

  • HRI label alignment on the scaled raster path: when the x-dimension was not an exact multiple of the minimum (e.g. the 0.26 default shown by the Swing demo), the bars were compressed but the human-readable text was drawn with unit-width slots — the last EAN/UPC digit drifted 1–2 px into the right-hand guard bars. Slot positions are now computed with the fractional module width in double precision, so the digits keep lining up with the bars for any x-dimension.
  • EAN/UPC slot positions are now relative to the leading quiet zone, keeping the label aligned for non-default quiet-zone widths.
  • The centred label no longer scales its font with the x-dimension, which could wipe the ITF-14 bottom bearer bar.

Full changelog: pr-1.0.0...pr-1.0.1