CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions (Moderator: Dave Greenberg) »
  • wkhtmltopdf in core
Pages: [1]

Author Topic: wkhtmltopdf in core  (Read 2060 times)

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
wkhtmltopdf in core
April 14, 2013, 10:52:09 am
Why are we still bundling dompdf instead of wkhtmltopdf? Is there a licensing issue with the latter?
Try asking your question on the new CiviCRM help site.

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: wkhtmltopdf in core
April 14, 2013, 12:34:18 pm
Cause it's an extra external dependency that seems to be fairly trivial (eg needs x11 client) ?

Phantomjs is an alternate option, that might be more widely supported
http://we-love-php.blogspot.be/2012/12/create-pdf-invoices-with-html5-and-phantomjs.html

Might be good as an extension, probably needs a hook to replace the php only pdf generation

X+

-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: wkhtmltopdf in core
April 14, 2013, 01:48:22 pm

dompdf == php

wkhtmltopdf == native binary, hence we cannot bundle it nor can we assume it exists

but wk == webkit rendering engine, which means it probably scale and renders a lot nicer than anything else

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions (Moderator: Dave Greenberg) »
  • wkhtmltopdf in core

This forum was archived on 2017-11-26.