Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Gaiiden

anyone familiar with SoFont?

This topic is 5817 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

This is kinda dumb actually. SoFont has a load() routine for taking a font surface to use to display text. All well and good. The only problem is that when I call load() with a new surface (thus effectively changing the font) something goes screwy and it refuses to output any text. I took a quick look but the source sucks - one-letter variables and barely any comments. So I''m wondering if anyone else has run across this little problem. I hesitate to call it a bug because I set my fps to 1 and saw that when I switched to another font, that font was actually displayed along with a different one, but the next frame and thereafter displayed no text, so it may be me - but if I remove the extra font everything works a-ok *shrugs*. _________________________________________________________________ Drew Sikora A.K.A. Gaiiden ICQ #: 70449988 AOLIM: DarkPylat Blade Edge Software Staff Member, GDNet Public Relations, Game Institute 3-time Contributing author, Game Design Methods , Charles River Media Online column - Design Corner at Pixelate Unnoficial IGDA chat! [polaris.starchat.net -> #igda] NJ IGDA Chapter - NJ developers unite!! [Chapter Home | Chapter Forum] "Real programmers don''t work from 9 to 5. If any real programmers are around at 9am it''s because they were up all night." -Anon. "It''s not the size of the source that matters, it''s how you use it" - Self

Share this post


Link to post
Share on other sites
Advertisement
i had taken a cursory look at sofont and agree it''s not well commented, but by looking at the .h file you can sort of figure out the general intention of it, so I actually tried doing my own wrapper to sfont using c++. (kinda failed, bogging down on it after awhile )

i didnt get to your error, but i did have problems with the library and ended up giving up. anybody else know of any libraries we can use? (or recommend?) bfont/dfont?

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!