display a string correctly
check the advance value before drawing