Upgrade dompdf to newer version -
i have old version of dompdf, , need upgrade support headers properly. how go doing this? tried copying new files in directory, no go...
from/to versions? dompdf 0.5.x , 0.6.x drop-in compatible, though may need reset font directory, namely removing dompdf_font_family_cache file. file may or may not have .php extension depending on version you're starting from. do not delete file includes .dist in name.
you will, of course, need reload fonts.
0.7.0 requires bit more work on implementation side. easiest path replace dompdf directory. usage same, though method names have changed , you'll need reference dompdf namespace.
there's work-in-progress migration guide may , usage documentation might useful.
Comments
Post a Comment