meritel

Results 8 comments of meritel

Hello, After many tests, i found a real performance lack with your way of cloning object, in function createSubHTML(). ``` // clone the sub object $subHtml = clone self::$_subobj; ```...

Hello, Finaly found the way to solve the problem. The problem is not that much the fact that you clone the whole object, but the __destroy methods of each class...

By the way, this file cleaning should be executed ONCE, at the real end of the script using HTML2PDF. So i've surcharged MyPDF.php, with __destruct and _destroy functions, with the...

Done. Instead of modifying tcpd.php, i changed MyPDF.php, surcharging tcpdf's __destruct magic method.

Be carreful with the code above, if you want to execute more than 1 instance of html2pdf, one instance could delete files of the other one while the 2nde instance...

I don't think it's a tcpdf issue... Html2pdf makes lot of recursive instantiation of tcpdf class, that's the real problem... And tcpdf has to clean up its variables once the...

@zippex is right, support on Windows 10 would be nice. Seems to be the same problem than on ie > ":scope"