Skip to content

Commit

Permalink
Change in freetype to work with openshift
Browse files Browse the repository at this point in the history
  • Loading branch information
metafloor committed Jun 16, 2016
1 parent 35b5996 commit 6554bf8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ See the [Version 1.0 Release Announcement](https://github.com/metafloor/bwip-js/
## Status

* Current bwip-js version is 1.0.2 (2016-06-16)
* Current bwip-js version is 1.0.3 (2016-06-16)
* Current BWIPP version is 2016-06-03
* Node.js compatibility >= v0.10
* npm dependencies: none
Expand Down
4 changes: 2 additions & 2 deletions freetype.js

Large diffs are not rendered by default.

Binary file removed freetype.js.mem
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bwip-js",
"version": "1.0.2",
"version": "1.0.3",
"description": "Barcode generator supporting over 90 types and standards.",
"main": "node-bwipjs",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ var bwipjs = require('./node-bwipjs'); // ./ required for local use
// bwipjs.unloadFont(fontname)
//
bwipjs.loadFont('Inconsolata', 108,
require('fs').readFileSync('Inconsolata.otf', 'binary'));
require('fs').readFileSync('fonts/Inconsolata.otf', 'binary'));

http.createServer(function(req, res) {
// If the url does not begin /?bcid= then 404. Otherwise, we end up
Expand Down

0 comments on commit 6554bf8

Please # to comment.