fixed crash cause by incorrect font name.
Merge pull request #7369 from Dhilan007/v2

fixed crash cause by incorrect font name.