fixed drawing text from file that contains DOS style CR/LF line endings