Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PDF export #6

Closed
mariusandra opened this issue May 20, 2017 · 1 comment
Closed

PDF export #6

mariusandra opened this issue May 20, 2017 · 1 comment

Comments

@mariusandra
Copy link
Owner

To get the PDF export button to work on the server I had to:

  1. download the stable whhtmltopdf from here
  2. install by extracting to /usr/local
  3. run sudo apt-get install libfontconfig1 libxrender1

Can't this be done in bundle so that it works automatically? Anyone up for investigating?

There is a way with gem 'wkhtmltopdf-binary', but it installs wkhtmltopdf 0.9, not 0.12. I had bugs with 0.9 with fonts and other random issues, so it won't fly. Are there other methods? Or alternative PDF generators?

@mariusandra
Copy link
Owner Author

no longer relevant as we moved away from the rails backend for a nodejs version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant