fix center and right aligned text

Issue #68
Issue #70
Merge pull request #73 from adobe-research/jh/text-alignment

fix center and right aligned text
Merge branch 'master' into generator-assets