Just one day after submitting the wrong implement of getNumLines for TCPDF, the issue is closed for invalid. The reason is you can get the actual number of lines by using transaction, like this:
I'm working with TCPDF to generate a PDF report, and the task looks like a nightmare. It's because TCPDF is missing some method to help you calculating the height of a string. There is a solution here , but it won't work for me. I have to spend the whole day to find out the problem and the solution seems to be very simple.