Writer verification of partially damaged handwritten Arabic documents based on individual character shapes