fix putChar and putGlyph 's behavior on ASCII_linefeed
by handle it in writeChar (who calls putChar and putGlyph)