bramp
2006-08-09 14:39:01 UTC
Hi,
While testing my program under SDL only, I got this exception
"Congratulations! You just got assigned the task of implementing
system fonts for clanSDL :-)"
So I figured I would look into it... and as it turns out all I had to
do was copy and paste the OpenGL code for rendering system fonts. I'm
pretty sure there is no OpenGL specific code in the code I copied, so
that shouldn't be a problem. I also noticed that support for system
fonts on non win32 platforms doesn't exist anymore. There was some
commented X11 code. May I ask why this isn't supported anymore?
Anyway I have attached a patch which makes system fonts now work under
SDL only. The patch is against the 0.8 release, but it applies cleanly
against 0.9.
Enjoy
Andrew
While testing my program under SDL only, I got this exception
"Congratulations! You just got assigned the task of implementing
system fonts for clanSDL :-)"
So I figured I would look into it... and as it turns out all I had to
do was copy and paste the OpenGL code for rendering system fonts. I'm
pretty sure there is no OpenGL specific code in the code I copied, so
that shouldn't be a problem. I also noticed that support for system
fonts on non win32 platforms doesn't exist anymore. There was some
commented X11 code. May I ask why this isn't supported anymore?
Anyway I have attached a patch which makes system fonts now work under
SDL only. The patch is against the 0.8 release, but it applies cleanly
against 0.9.
Enjoy
Andrew