SFML font tutorial says:
SFML is able to load any valid font file (TTF, CFF, PCF, BDF, and a lot more)
I don't manage to pre-load windows fonts *.fon. The files was produced out of *.ttf files with a conversion tool. In Windows I can use these files without problems, but SFML application renders the example string with the default font and ignores my efforts to use *.fon. If I use the original *.ttf font (mistral.ttf in this case), everything works fine.
Am I doing anything wrong? Is the *.fon font format supported?
.....
sf::String::PreloadFont("mistral.fon", 36.0f, L"ABCDE");
sf::String alphabet1;
alphabet1.SetFont("mistral.fon");
alphabet1.SetSize(36.0f);
alphabet1.SetLeft(10);
alphabet1.SetTop(160);
alphabet1.SetText("ABCDE");
.....
App.Draw(alphabet1);