Improve font rendering performance
Merge pull request #2290 from Yodesoft/master

fixed #2000: Improve font rendering performance for linux platform.