bar-ratio attribute

Type:number
Inherited:no
Used By:barcode
Default:2.8
See:bar-width

This attribute sets the width of the "thick bars" in a dual-width barcode like Code 39 or Interleaved 2 of 5. The thick bar will be set to bar-ratio * bar-width. For variable width codes like Code 128 or EAN-13, this has no effect.

Sets the width of the thick bars in the barcode to 2.2 points

<barcode codetype="code39" bar-width="1pt" bar-ratio="2.2" value="Code 39"/>