xl-public-utils 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/bwip-js.mjs +3 -1
- package/src/qrcode.mjs +1 -1
package/package.json
CHANGED
package/src/bwip-js.mjs
CHANGED
|
@@ -234,7 +234,9 @@ function _Render(encoder, options, drawing) {
|
|
|
234
234
|
}
|
|
235
235
|
// We use mm rather than inches for height - except pharmacode2 height
|
|
236
236
|
// which is already in mm.
|
|
237
|
-
|
|
237
|
+
// exludes bwipp_pharmacode2
|
|
238
|
+
// if (+bwippopts.height && encoder != bwipp_pharmacode2) {
|
|
239
|
+
if (+bwippopts.height) {
|
|
238
240
|
bwippopts.height = bwippopts.height / 25.4 || 0.5;
|
|
239
241
|
}
|
|
240
242
|
// Likewise, width
|