If I'm is using SDL api's to show output on the screen, is it possible to render text on screen with methods other then
TTF_Font *TTF_OpenFont(const char *file, int ptsize)
SDL_Surface *TTF_RenderText_Solid(TTF_Font *font, const char *text, SDL_Color fg)
It seems with these methods I can only load fonts that are in the same directory as the .exe file, ie.:
TTF_Font *font = NULL;
font = TTF_OpenFont( "myfont.ttf", 28 ); //this works, "myfont.tff" is in same directory as the .exe
TTF_Font *font2 = NULL;
font2 = TTF_OpenFont( "C:\Windows\Fonts\myfont.ttf", 28 ); //same "myfont.tff", now in the default windows font folder, doesn't work...
I want to able to load fonts from other directories, any help?