OpenGL and SFont

Has anyone here used OpenGL and SFont?

I’m trying to create a Surface that will then be used as a texture and
have run into a colour problem.

I have tried the following

image := SDL_CreateRGBSurface(
SDL_SWSURFACE,
w, h,
screen.format.BitsPerPixel,
screen.format.RMask,
screen.format.GMask,
screen.format.BMask,
screen.format.AMask);

 // a simple text blit to (0/0)
 SFont_Write( image, 0, 0, PChar( message ) );

but the SFont text comes out as a solid blue background with the wrong
coloured text. Anyone have any ideas what I may be doing wrong?

Thanks,

Dominique Louis.