A new method of off-line text recognition