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

Installing refund require wkhtmltopdf #329

Open
disvroian opened this issue Aug 6, 2021 · 2 comments
Open

Installing refund require wkhtmltopdf #329

disvroian opened this issue Aug 6, 2021 · 2 comments
Labels
Feature New feature proposals.

Comments

@disvroian
Copy link

I installed the plugin which look great but why is it mandatory to install wkhtmlpdf.
Actually apt get install wkhtmlpdf require GNOME which is something i can t understand

image

Why can't we use an easy
https://github.com/spipu/html2pdf
https://github.com/dompdf/dompdf

Or even let people decide and make it not mandatory.

@disvroian
Copy link
Author

While waiting. To avoid you can install sudo apt-get install fontconfig xfonts-75dpi xfonts-base
And after install the locally the package.
This avoid the full install
For the latest version of wkhtmltopdf need to add
knp_snappy:
pdf:
enabled: true
binary: '%env(WKHTMLTOPDF_PATH)%'
options:
allow: '%kernel.project_dir%'

@GSadee
Copy link
Member

GSadee commented Oct 11, 2021

Hello @disvroian! Sorry for the very late response, wkhtmltopdf is mandatory in this plugin as it is the only library for generating PDF files that is needed to meet the functionality expectations. In the nearest future, there is no plan to extend the possibility to decide which library can be used, but I encourage you to make a PR with such a contribution.

@GSadee GSadee added the Feature New feature proposals. label Oct 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature proposals.
Projects
None yet
Development

No branches or pull requests

2 participants