Separating touching or overlapping characters