tweaks: optimize determining the number of columns that a text spans

Give the strlenpt() routine its own implementation, so that it avoids
a needless comparison plus subtraction in the inner loop.
1 file changed