JsBarcode icon indicating copy to clipboard operation
JsBarcode copied to clipboard

Problem with Webkit / wkhtmltopdf and default height value

Open pier opened this issue 6 years ago • 1 comments

I've just added a pull request (#218) to change the "height" in the "defaults" object from 100 to 1. This is to solve a problem with blank spaces between EAN13 and EAN5 add-on codes, where the default height results in unpredictable rendering with wkhtmltopdf (webkit engine) - barcodes with a height less than 100 will still render at the default of 100 because of this blank space.

pier avatar Jan 26 '18 16:01 pier

@pier could u share a screenshot of the issue? Anyway, I suppose changing default height is a really bad idea.

SanichKotikov avatar Jan 26 '18 17:01 SanichKotikov