TTF_RenderText_Solid() returning NULL, no error

I am calling TTF_OpenFont() on two ttf files. Both of them are returning
non-NULL TTF_Font pointers.

One of them (chiller.ttf), I am able to render without issue.

The other one (micross.ttf), returns NULL upon TTF_RenderText_Solid() but
TTF_Error()/SDL_Error() returns an empty string. Corrupt font file?

Any help would be appreciated.

Thanks,
Jeff_________________________________________________________________
Looking to buy a house? Get informed with the Home Buying Guide from MSN
House & Home. http://coldwellbanker.msn.com/

Jeff, I’ve had similar problems except I was using the blended version.
What I found is that smaller point sizes failed this way. If go to 14pt
fonts or larger then it seems to work. I believe this is still a bug in the
SDL_ttf system. If you even figure this out then please let me know.
– Waren Schwader> ----- Original Message -----

From: jeff_schiller@hotmail.com (Jeff Schiller)
To:
Sent: Wednesday, June 02, 2004 5:43 AM
Subject: [SDL] TTF_RenderText_Solid() returning NULL, no error

I am calling TTF_OpenFont() on two ttf files. Both of them are returning
non-NULL TTF_Font pointers.

One of them (chiller.ttf), I am able to render without issue.

The other one (micross.ttf), returns NULL upon TTF_RenderText_Solid() but
TTF_Error()/SDL_Error() returns an empty string. Corrupt font file?

Any help would be appreciated.

Thanks,
Jeff


Looking to buy a house? Get informed with the Home Buying Guide from MSN
House & Home. http://coldwellbanker.msn.com/


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl