How to analyze handwriting