Custom fonts not working in TestJavascript project

All the custom fonts are not showing properly in TestJavascript project. I also create a new project and use my font, and it shows the original system font.
I’m using cocos2d-x-3.0beta2

Is your font file TTF?Which platform is you used?