Skip to content

Commit

Permalink
Sync with BWIPP 2018-02-04
Browse files Browse the repository at this point in the history
  • Loading branch information
metafloor committed Feb 15, 2018
1 parent 08074d0 commit eda7c22
Show file tree
Hide file tree
Showing 6 changed files with 26,549 additions and 26,047 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ All linear and two-dimensional barcodes in common use (and many uncommon
ones) are available. An exhaustive list of supported barcode types can be
found at the end of this document.

> Version 1.5 has a replacement for the emscripten-compiled FreeType library (which was causing
> Version 1.5 has a replacement for the emscripten-compiled FreeType library (which was causing
> issues with popular frameworks and pre-allocated too much memory for use in embedded servers).
> It *is* still possible to use FreeType with Node.js, but you must explicitly enable it.
> By default, you get the replacement. Browsers only use the replacement.
Expand All @@ -23,8 +23,8 @@ found at the end of this document.
## Status

* Current bwip-js version is 1.6.2 (2017-11-22)
* Current BWIPP version is 2017-07-10
* Current bwip-js version is 1.6.3 (2018-02-15)
* Current BWIPP version is 2018-02-04
* Node.js compatibility: 0.12+
* Browser compatibility: IE10+, Edge, Firefox, Chrome

Expand Down Expand Up @@ -151,7 +151,6 @@ bwipjs(canvas, options, function(err, cvs) {
}
});
```

If you want to generate barcodes with text, you *must* do one extra step after installing
bwip-js. The browser-based font manager uses XHR to demand-load fonts as needed. The
problem is that the fonts directory where bwip-js gets installed (under `node_modules`) is
Expand Down
Binary file modified barcode.ps
Binary file not shown.
2 changes: 1 addition & 1 deletion bwipjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ BWIPJS.prototype.render = function(callback) {
}
}

BWIPJS.VERSION = '1.6.2 (2017-11-22)';
BWIPJS.VERSION = '1.6.3 (2018-02-15)';
if (typeof module === 'object' && module.exports) {
module.exports = BWIPJS;
}
6 changes: 3 additions & 3 deletions bwipp-min.js

Large diffs are not rendered by default.

Loading

0 comments on commit eda7c22

Please # to comment.