Support

Home Forums Ticketing Add-on Ticketing: update DOMPDF 0.5.1 to 0.6.0

Ticketing: update DOMPDF 0.5.1 to 0.6.0

Posted: February 9, 2013 at 10:53 am


Stichting Festival Aangeschoten Wild

February 9, 2013 at 10:53 am

Hi EventEspresso,

Busy with designing some HTML-tickets for the ticketing plugin, I noticed that the version of DOMPDF used is quite outdated: 0.5.1, which is an early alpha of the 0.6.0 currently in bèta testing. This last version should support the use of fonts not available on the users computer, much like CSS3 allows webdesigners to do. Simply replacing the DOMPDF folder (0.5.1) by the newer version doesn’t work (not very suprisingly). I am not sure if you have already looked at updating this part of the EventEspresso plugin, but do you have any idea where the compatibility issue lies?

Curious to find out, and thanks for your support,

Bram Peerlings


Seth Shoultes

  • Support Staff

February 9, 2013 at 11:36 am

Didn’t know they released an update. I will create a ticket to get this updated.

Can you tell me what errors you received when trying to merge the update?


Stichting Festival Aangeschoten Wild

February 10, 2013 at 6:15 am

Great! It simply throws a HTTP 500 error. I haven’t checked the code yet, but might have a closer look later today, to see what’s causing it.


Stichting Festival Aangeschoten Wild

February 10, 2013 at 6:33 am

I was a little quick. Apparently, there was another folder included in the installation path causing it to break down with the Internal Server Error.

Having removed this extra folder still gives some errors (currently “PHP-font-lib must either be installed via composer or copied to lib/php-font-lib”), but does not cause DOMpdf to completely break down. I’ll try to fix it, and share the solution when I’ve found it!


Stichting Festival Aangeschoten Wild

February 10, 2013 at 7:34 am

Hi Seth,

I got it to work, and my problems (separate fonts that would not load) are also solved. The download used is 0.6.0-beta3, which can be found at http://code.google.com/p/dompdf/downloads/detail?name=dompdf_0-6-0_beta3.zip&can=2&q=. The dompdf-folder from that download can simply be replaced in the tpc-folder and seems to work great! The tutorial for including custom fonts that I have used is http://eclecticgeek.com/dompdf/load_font.php.

Hopefully this can be included in a future version of EE.

The support post ‘Ticketing: update DOMPDF 0.5.1 to 0.6.0’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Support forum for the Ticketing add-on.
Documentation for Ticketing Add-on
http://eventespresso.com/wiki/ticketing-add-on/

Topic Tags

Tagged: , , ,

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!