Add tategaki support for Japanese/Chinese

Imported from UserVoice

Author: Tejas Lohar