TTF_OpenFontRW problems

My code looks something like this,

font = TTF_OpenFontRW(sdlrw, 1, 12);

if (font)
{
exit(1);
}

sdlrw appears to be valid because the graphics and audio load fine and there
is no complaint when I check to see if font is valid. However when I try
and draw with the font, I either get a blank string or I get a segfault.

Does TTF_OpenFontRW have prob?

Oh… one thing,

My main SDL is 1.2.4 and the TTF is the latest version (installed yesterday to
make use of the above function). Could this be causing some conflicts? Should
I just upgrade all my SDL libraries (image, mixer, etc)?

Cheers,

Stevie :slight_smile: