BarcodeNode
data class BarcodeNode(val data: String, val symbology: BarcodeSymbology = BarcodeSymbology.Code128, val width: Dp? = null, val height: Dp = Dp(50f), val color: PdfColor = PdfColor.Black, val background: PdfColor? = PdfColor.White) : PdfNode
A Code 128 barcode rendered as vector bars.
Encoding (code sets B / C with automatic digit-run compression and a mod-103 checksum) happens in common code via com.conamobile.pdfkmp.barcode.Code128Encoder. Characters outside printable ASCII (32–126) are rejected at build time.
Code 128 readers expect a quiet zone of ~10 modules on both sides; give the node some horizontal breathing room.