Comments (14)
I don't have Linux boxes readily available at the moment though I'll be uploading corresponding binaries once I have access to them.
from decktape.
I've got a working CentOS7 version here if you'd like it posted somewhere.
from decktape.
@gavincarr definitely!
Would you mind creating a PR into the gh-pages
branch to upload it into something like downloads/phantomjs-linux-centos7-amd64
. Just make sure you've run UPX to compress the binary size.
from decktape.
@astefanutti Done: #16
from decktape.
@gavincarr Thanks a lot!
@VinceZK could you please test the uploaded version for Linux CentOS 7 and close that issue if that works OK.
from decktape.
@astefanutti , I tested in my CentOS6.4 (Sorry I do not have CentOS7 right now), the following error reports: "error while loading shared libraries: libpng15.so.15: cannot open shared object file: No such file or directory"
I thought some lib is missing. And I found the original CentOS binary is 35MB, while @gavincarr gives the binary with 14MB.
from decktape.
@VinceZK CentOS6 only comes with libpng12.so.0, so the C7 version won't work for you. I'll try and build a C6 version over the weekend. Are you using 64-bit or 32-bit?
My original binary was around 35MB as well, but running it through UPX dropped it down to 14MB.
from decktape.
@gavincarr Thanks for the clarifying. My CentOS6 runs on 64-bit machine.
from decktape.
@astefanutti I've just created a pull request with a CentOS6 x86_64 build of phantomjs, if you could merge when you get a chance.
@VinceZK Could you test this version once it's merged?
Thanks.
from decktape.
@gavincarr I've just merged it. Thanks a lot!
from decktape.
@astefanutti I tested CentOS6 x86_64 version, and got some situations. When printing some pages, the size is not right. It doesn't happen in normal phantomjs binary.
@gavincarr At first, I think it's only the CentOS6 binary. Then I tested MAC binary, the same problem.
You can find the difference from the 2 attached images. The first is the normal binary, and the second is the desktape bianry. I am sorry the page is in Chinese, but you can figure out the problem. And if you try to print page ' http://expressjs.com/ ', the same problem occurred. So it is not because of some specific pages cause the problem, it seems more a general issue.
from decktape.
And I tested to snapshot images (.png), it works fine. So it only effects .pdf snapshots.
from decktape.
@VinceZK I've tested the examples/rasterize.js
script with the PhantomJS 2.0.0 Mac OS X official binary and the DeckTape Mac OS X binary and cannot see any differences for PDF output on http://expressjs.com/ and http://www.jrj.com.cn. What version of PhantomJS normal binary are you using?
That being said, DeckTape is meant to be used to export HTML presentations to PDF. If this issue is meant to be provided with PhantomJS Linux CentOS binary from the PhantomJS official code line, I would suggest you contact PhantomJS project support directly.
from decktape.
@astefanutti I did more tests, and found if you set page format to 'A4', it will reproduce the error.
Please try command line: $phantomjs examples/rasterize.js http://www.jrj.com.cn out.pdf A4
Maybe DeckTape is free of the issue. But the official code line has no confirmed schedule to the "link" issue. I'd like to take some time to figure it out based on your code line.
Thanks anyway:-)
from decktape.
Related Issues (20)
- Add some e2e tests HOT 1
- Would you be open to financial contributions? HOT 2
- Reveal remove transition HOT 1
- Table layouts are not preserved, text boxes get combined in odd ways HOT 6
- Dependencies are not hoisted HOT 3
- Docker image error HOT 8
- Crashes with "Unable to write GSUB: script latn has no default language system" HOT 3
- Add a 2D navigation support to generic plugin
- puppeteer_dev_chrome_profile-x HOT 2
- Emojis are missing from bold text and headings in PDF HOT 1
- Images not shown in PDF output (but are correct in PNG and browser) HOT 1
- How I was able to do a multi-architecture container image build (to support ARM ... M1 macbooks) HOT 2
- Remark custom styles not applied on PDF HOT 2
- Unable to transform reveal slides usign reveal.js-menu with docker HOT 2
- Updating to decktape 3.11 caused panic HOT 3
- Converting a jupyterlab_rise presentation
- homebrew package
- Text overlaps with border on Mermaid.js diagrams in a Reveal.js presentation HOT 1
- DeckTape Container Font Bug HOT 1
- Include progess bar when exporting revealjs slides HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from decktape.