Kimmo Brunfeldt

Results 52 comments of Kimmo Brunfeldt

I tried the fix but the build failed: https://travis-ci.org/github/kimmobrunfeldt/progressbar.js/builds/685994475. Reverting back to the old require method worked. If someone is able to provide more information about the issue, I can...

Actually I realized from the comment by @divyeshmakwana96 that the package.json points to src/main.js instead of the built distributable file. I changed it to use dist/progressbar.js now and it should...

Could you explain a bit more why your use case doesn't allow that? Even though the duration would be set to 0, you still have to call .set() or .animate().

Ok thanks for the explanation. In this case I think duration 0 could indeed disable the animation as you explained. In general, ProgressBar.js exposes a simple imperative API by design....

I'm open for a PR to this feature. It should be quite simple change.

This is an issue indeed. The proper solution depends on the use case. The amount of padding needed for viewBox depends on the bar width (how round the cap is)....

Could you please isolate the issue to a JSFiddle: http://jsfiddle.net/kimmobrunfeldt/8xa87k31/392/ ? To see what your existing code is and potentially there we can fix it. I can't guarantee when I'd...

I tried to replace the fontkit implementation with [opentype.js](https://github.com/nodebox/opentype.js) with the following code (taken out of context): ```js var fontPath = font.getPath(text, x, y, details.fontSize, { tracking: details.letterSpacing, }); var...

To add an update here, I didn't have time to dig this more and ended up solving this with a minor hack. When I get the rbox result, I manually...

I found a PR for spot color support in PDFKit repository: https://github.com/foliojs/pdfkit/pull/1059. The code might help in creating this feature.