I have set the custom font using YEP Core Engine and have placed the TrueType font file of my font in the fonts folder in my www folder for my Intel SDK project folder and changed the Gamefont file to to say this
@font-face {
font-family: GameFont;
src: url("ice_pixel-7.ttf");
}
font-family: GameFont;
src: url("ice_pixel-7.ttf");
}