This will return the number of characters that will fit on a line assuming the line starts with a y coordinate of 0.
char_line()
Wiki: FDSacc Wiki: FDcomplete Wiki: TableOfContents