SDL_ttf and small font size bugs

Is there an SDL_ttf known bug when using font sizes of 12 or smaller? I am
experiencing one.

My call to TTF_RenderText_Blended is coming back NULL. When I check
SDL_GetError() there is no error set. I’ve verified that all of my input is
correct and perfect.

In SDL_ttf2.c version 1.12 this is the comment:
Sam Lantinga - Sun Dec 1 18:34:40 PST 2002

  • Fixed memory corruption problem with small point sizes

Thanks for considering this,
–Warren Schwader

you could check the code of ttf_rendertext and look where the function
returns null and no error is set.

Warren Schwader wrote:>Is there an SDL_ttf known bug when using font sizes of 12 or smaller? I am

experiencing one.

My call to TTF_RenderText_Blended is coming back NULL. When I check
SDL_GetError() there is no error set. I’ve verified that all of my input is
correct and perfect.

In SDL_ttf2.c version 1.12 this is the comment:
Sam Lantinga - Sun Dec 1 18:34:40 PST 2002

  • Fixed memory corruption problem with small point sizes

Thanks for considering this,
–Warren Schwader


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