Fills line, starting from current coordinates, with maximum max number of chars, if max>0
number of characters written
See Implementation
Fills line, starting from current coordinates, with maximum max number of chars, if max>0