Separating the calculations of the two widths into two distinct loops reduced the more than 1,000,000 calls to gr_Graphics::setFont() in my 45 page test doc to 'mere' 63,000. This should make noticeable difference to performance.
Tomas
Separating the calculations of the two widths into two distinct loops reduced the more than 1,000,000 calls to gr_Graphics::setFont() in my 45 page test doc to 'mere' 63,000. This should make noticeable difference to performance.
Tomas