set bold and italics fonts
Fixed problem with pasting lines.