ZXing.Net icon indicating copy to clipboard operation
ZXing.Net copied to clipboard

EAN8, EAN13, UPC-A, UPC-E text content

Open philip247 opened this issue 5 years ago • 1 comments

For this 1d-Barcodes the text content has to be grouped. It is not enough to add spaces only, anyhow the spaces have to be preserved in svg (with style="white-space: pre;"). Other point is cutting barcode to get place for additional text in Bitmap Renderer and increase the height for additional text in svg. (This will end in different result). Also the grouping of the text content has the impact, that the width of the barcode will increase, otherwise it has to be considered before creating the barcodes. Working on acceptable solution...

philip247 avatar Dec 19 '20 09:12 philip247

Please try the alternative bitmap renderer "AlternateBitmapRenderer". Feel free to provide a PR for the SVG renderer which adds the grouping.

micjahn avatar Dec 24 '20 09:12 micjahn