createWithSystemFont in cocosCreator

Hey everybody
I am trying to publish a simple game for both Web-Desktop and Windows, When I compile and run my game for Web-Desktop everything works fine, but when I compile my project for windows, the texts that I had created with RichText mess up. (my texts are in Persian). I have read that I can fix this problem with createWithSystemFont but I dont know how, since I dont see createWithSystemFont in cocos creator API docuentation.
Is there a way to modify my RichText to work with systemFont?