SDLttf - a library to use TrueType fonts in SDL applications
http://www.devolution.com/~slouken/SDL/projects/SDLttf/
Warning: TrueType font decoding is under patent, and software using
this library may be in violation of this patent. Use at your own risk!
See http://www.freetype.org/ for details.
-Sam Lantinga (slouken at devolution.com)
Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec
There arn’t any issues with including text rendered with the library with a
game, are there? I used SDLttf for a short while and then wrote one that
did caching of the glyphs. This sped things up considerably. I can easily
change it to save the glyphs to a file and then load in the glyph set
instead of a ttf file, but I am not sure how far this might go. I don’t
think there are any legal problems with using the final rendered product,
but how far back can I go? Should I save rendered text, or only outlines?
Outlines are better for me because I use scaled text a bit.
Comments?
James Best
By the way, I sent an application to become a Xfree86 devloper a bit back,
and they havn’t yet responded. I have a bit of a feeling they arn’t going
to. If DRI-2 isn’t what we need then I think we will be stuck. I doubt
that any graphics extension we create for Xfree86 without their blessing
will be distributed enough to be useful.
Sam Lantinga wrote:> SDLttf - a library to use TrueType fonts in SDL applications
http://www.devolution.com/~slouken/SDL/projects/SDLttf/
Warning: TrueType font decoding is under patent, and software using
this library may be in violation of this patent. Use at your own risk!
See http://www.freetype.org/ for details.
-Sam Lantinga (slouken at devolution.com)
Lead Programmer, Loki Entertainment Software
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec
hello, i’m having a curious problem with SDL_Audio on my PC -> cyrix 166
when i try to run loopwave it return me the terrible SDL parachut deployed
(with SDL-1.1.0)
gdb give me this :
(gdb) set args sample.wav
(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Linux thread target has restored Unknown signal handling
Starting program: /home/special/projet/SDL-1.1/test/./loopwave sample.wav
Linux thread target has modified Unknown signal handling
Linux thread target has modified Unknown signal handling
Breakpoint 1, 0x80489c4 in main ()
(gdb) cont
Continuing.
[New Thread 14672]
[New Thread 14671]
I tought it was because i had no esd deamon, so i install it but
there is no change any suggestion ???
Hi,On Sun, 16 Jan 2000, you wrote:
SDLttf - a library to use TrueType fonts in SDL applications
http://www.devolution.com/~slouken/SDL/projects/SDLttf/
It's me again, the guy who can't compile anything out of the box ;-)
At least in the RPM i have installed here (freetype-1.3-4.rpm from
Mandrake), the include files for freetype got installed into
/usr/include/freetype.
–
Hakan Tandogan hakan at iconsult.com
Hi,On Sun, 16 Jan 2000, you wrote:
SDLttf - a library to use TrueType fonts in SDL applications
http://www.devolution.com/~slouken/SDL/projects/SDLttf/
It's me again, the guy who can't compile anything out of the box ;-)
freetype, at least of version 1.3, installs its include files into
/usr/include/freetype. I’ve included a diff against SDL_ttf-1.0.0.
diff -wbur SDL_ttf-1.0.0.dist/SDL_ttf.h SDL_ttf-1.0.0/SDL_ttf.h
— SDL_ttf-1.0.0.dist/SDL_ttf.h Fri Oct 8 10:52:30 1999
+++ SDL_ttf-1.0.0/SDL_ttf.h Tue Jan 18 16:42:37 2000
@@ -31,7 +31,7 @@
#define _SDLttf_h
#include “SDL.h”
-#include <freetype.h>
+#include <freetype/freetype.h>
#include “begin_code.h”
–
Hakan Tandogan hakan at iconsult.com