optimized text-rendering copied from icloud.com
Merge pull request #2 from SunboX/patch-1

optimized text-rendering copied from icloud.com