civicrm/civicrm-packages — pull request #40 by antrik (2013-12-04 23:34:44+00:00)
Title: dompdf: fix handling of images when rendering multiple files in a row

Fix picked from upstream Git (
https://github.com/dompdf/dompdf/commit/2c32bb3fbbdeafcd4628441de260361816aaefc7
) to properly clear the image cache, so
including images doesn't fail when rendering subsequent files with the
same images.

This issue might actually never occur in core CiviCRM itself, as it only
shows when generating multiple PDF files in one PHP invocation. However,
our extension does this, and thus becomes unusable with CiviCRM 4.4 --
so this is indeed a major regression, and the fix urgently needs to go
into the next bugfix release.

(The bug didn't manifest in previous CiviCRM releases, because of the
different setting of DOMPDF_ENABLE_REMOTE.)