|
From: Carlos d. M. <cg...@wo...> - 2002-08-05 12:03:45
|
Done! I wrote a new function for calculate the lines (one which uses a very better strategy of programming, more compact and all those things that shall be done), and although this is not supoosed to count tabs more than once, than the previous functions used (the new function makes the work of the two previous, which did one of the three counts twice, once per function), it makes bitmaps with a very well adjusted size. If before the height was just the needed, more than a 15% longer or more than 20% shorter, now it is constantly less than a 3% longer. |