Maybe it won’t be a problem with a static font, but what if I wanted to
make a dinamyc font system (eg. the font can be moved around, can be
lengthened or shortened in runtime, can animate like flashing font,
etc.)??
Salvatore Di Fazio wrote:
I can suggest to you to use a transparent surface for the font or and
for the surface where you will put the character.2006/7/17, @benang_at_cs.its.ac <@benang_at_cs.its.ac>:
Hi, actually I’ve written this question before along with my reply. But
since nobody answered it, I decided to send it in a separate mail.I’ve looked at Marius Andra and Lazy Foo’s tutorial on a bitmap font
system. The tutorials only explained about fonts without any background
behind the string (or simply a background with one color as in Lazy
Foo’s
tutorial). When I implemented the system in my application, it didn’t
work
as I planed because behind it there’s a huge background image. Should I
treat the string as a sprite (like saving and updating the background
behind it like the sprite did in Marius Andra’s tutorial)? What about an
everchanging string that can be lengthened or shortened upon an event
(eg.
a graphical typewriter game?)?Thanks in advance,
Bawenang R. P. P.
I don’t think it’s there anymore. There’s a 404 error.
Neil White wrote:>
take a look at crazeeman code, i think there is a half assed font non ttf
system you might find usefull in there,
http://www.cloudsprinter.com/crazeeman/