Handwritten Text Recognition: A Survey