Skip to main content
GameDev.net gamedev.net
🔒 Locked

SDL....Sfont vs Bfont

Started by ssibal Aug 5, 2003 at 7:50 PM 3 replies 1.1k views
Original Post
ssibal
ssibal
I am looking into these two font libraries for SDL, which do you consider to be better and why?
Neen10do
Neen10do
BFont, definately. bfont has justification, left, right, center, etc.
----------------------i code therefore i am.Aero DX - Coming to a bored Monitor near you!
Neen10do
Neen10do
no, but thats easily fixed you write a function called NumToString(int num) and have the return variable a char*, and use the c function sprintf. so you would do something like this to print a number to the screen:

PutString(0,0,NumToString(integer));

there ya go!
----------------------i code therefore i am.Aero DX - Coming to a bored Monitor near you!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.