On 5/22/06, Rune Nesheim <[EMAIL PROTECTED]> wrote:
On 5/22/06, Jeremy Smith <[EMAIL PROTECTED]> wrote:
> I'll package it up and send it by email if that's okay!
Perfect :)
> I'll see what I can do to help. So far, my code loads fonts (the tricky
> part!) and other code draws text at a certain position. Another function
> tells you the width of a glyph and this is cached if needed, while
> another function (using the glyph-width checker) fits text into a
> certain width without overlap.
Sounds like it does what I need, for now anyway.
> I think some people are probably worried about performance. However,
> SDL_TTF caches fonts in memory, I *think*, which means it's no less
> efficient than using bitmaps! Also, SDL_TTF is written in C and thus
> very fast.
I have never noticed any performance problem when using SDL_TTF
before.
Rune Nesheim
_______________________________________________
application-builder mailing list
[email protected]
http://www.lispniks.com/mailman/listinfo/application-builder
Simple font is not intended to replace something like sdl_ttf. It's designed more as a sample SDL program and useful for simple font needs and as a base for customisation, if you wanted to make something game or application specific.
Justin
_______________________________________________ application-builder mailing list [email protected] http://www.lispniks.com/mailman/listinfo/application-builder
