TTF with OpenGL and SDL

Hello there.

I have some serious problems with using TTF with OpenGL and SDL. I have
some nice results when I used FreeType library, but there was a problem
with non-standard characters (ASCII > 127):

textures = new GLuint[128];

list_base = glGenLists (128);
glGenTextures (128, textures);
for (unsigned char i=0; i < 128; i++)

I though that it will be ok when I change 128 to 256 anywhere, but SDL
crashes on start (Segmentation fault. SDL Parachute Deployed).

Can somebody explain me that (or give other well-working solution to use
TTF with OpenGL & SDL)?

(sorry for my poor English :))---------------------------------------------------------------------
Najwiekszy MOTO-serwis w Polsce >>>