Learning to write Spencerian script