Repository navigation
Bars4J 1.3.0
Fixed
- Matrix SVG/HTML canvas for rectangular symbols: the
MatrixBarcodeFormatwrapper (Java and Node) sized both canvas dimensions fromwidthInModules, letterboxing rectangular matrix symbols — the PDF417 SVG carried a 564x564 canvas around a 564x48 symbol. Width and height are now computed separately fromwidthInModules/heightInModules; square formats (QRCode, Data Matrix, Aztec) are unaffected. - Node matrix
toSvgdocument assembly still used the old Java wrapper format (viewBox, no fallback text); it now mirrors the current JavaSvgDocument(fixed canvas,xMidYMidalignment, fallback text), so the matrix end-to-end SVG fixtures are byte-identical between Java and@bars4j/coreagain. RenderSpec.fontSizenow honoured by every output path — the SVG document style, the HTML snippet style and the raster label all follow the spec (defaults preserved: 14 px when unspecified).- Anti-aliased raster label glyphs: the human-readable label band now renders with text anti-aliasing enabled (grayscale), removing the hard jaggies on the label font.
Changed
- Gallery trimmed to the README showcase samples:
images/now keeps only the 23 SVG samples presented in the README (and their locally generated PNG counterparts, still git-ignored);EAN5.svgand theEAN13-font-*.svgdemo samples were removed from the repository. images/PDF417.svgregenerated (564x48; the tracked sample predated the PDF417 encoder rewrite).- New
MatrixCanvasTestpins the canvas-to-raster geometry parity for every matrix format.
Notes
- Maven Central publishing is now fully automated (
autoPublish=true+waitUntil=published): a published release deploys, validates and publishes on the Central Portal without manual approval. @bars4j/core1.3.0 ships the same conformance guarantees: 175 Node tests, 48/48 HTML snippets byte-identical with the Java output.
Full changelog: pr-1.1.0...pr-1.3.0