platform support for counting column widths and checking isprint