I want to use some True Type Fonts. I load them with AddFontResource(“xyz.ttf”) on game startup and remove them with RemoveFontResource(“xyz.ttf”) on game end.

If I start the game within SED, I have to put the font files into the Gamestudio installation folder and they are correctly loaded from there.

Now I publish my game. The created main.exe will be placed under a /bin/ folder. I put the font files into that /bin/ folder, too. But now the fonts are not visible within the game?

Do I have to put them into a special location? I tried to put a path before the font’s filename, but that doesn’t work, too:

AddFontResource(“e:\test\bin\xyz.ttf”)

Any suggestions?