adds support for textScale, fixes #4