# Howto dipslay a text with SDL?

**URL:** <https://discourse.libsdl.org/t/howto-dipslay-a-text-with-sdl/7245>\
**Category:** SDL Development\
**Created:** [August 14, 2002, 5:46am UTC](https://discourse.libsdl.org/t/howto-dipslay-a-text-with-sdl/7245 "2002-08-14T05:46:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jean](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/j/fbc32d/32.png) [@Jean](https://discourse.libsdl.org/u/Jean)\
**Post date:** [August 14, 2002, 5:46am UTC](https://discourse.libsdl.org/t/howto-dipslay-a-text-with-sdl/7245/1 "2002-08-14T05:46:01Z")

</div>

Hello,

I am a newbie with SDL.  
I have a see the tutorial to init sdl and make window but now I would like  
to know can I do a “HelloWorld” with SDL?  
I mean how can I write a text in my sdl window?

THX

Jean

---

<div class="post-metadata">

**Author:** ![Rob\_van\_Putten](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/r/aca169/32.png) [@Rob\_van\_Putten](https://discourse.libsdl.org/u/Rob_van_Putten)\
**Post date:** [August 14, 2002, 6:23am UTC](https://discourse.libsdl.org/t/howto-dipslay-a-text-with-sdl/7245/2 "2002-08-14T06:23:01Z")

</div>

See,  
[http://cone3d.gamedev.net/cgi-bin/index.pl?page=tutorials/gfxsdl/tut4](http://cone3d.gamedev.net/cgi-bin/index.pl?page=tutorials/gfxsdl/tut4)

greetings,  
rob

(there is also a nice sdl\_console application somewhere at  
[http://www.mongeese.org/SDL\_Console/](http://www.mongeese.org/SDL_Console/)

Have fun!  
Rob

---

<div class="post-metadata">

**Author:** ![Jacek\_Poplawski](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/j/ccd318/32.png) [@Jacek\_Poplawski](https://discourse.libsdl.org/u/Jacek_Poplawski)\
**Post date:** [August 14, 2002, 2:28pm UTC](https://discourse.libsdl.org/t/howto-dipslay-a-text-with-sdl/7245/3 "2002-08-14T14:28:00Z")

</div>

Please seach for “Sfont”.On Wed, Aug 14, 2002 at 02:41:47PM +0200, Jean wrote:

> I mean how can I write a text in my sdl window?

–  
[http://decopter.sf.net](http://decopter.sf.net) - free unrealistic helicopter simulator

---

<div class="post-metadata">

**Author:** ![Kai\_Blin](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/k/53a042/32.png) [@Kai\_Blin](https://discourse.libsdl.org/u/Kai_Blin)\
**Post date:** [August 15, 2002, 6:32am UTC](https://discourse.libsdl.org/t/howto-dipslay-a-text-with-sdl/7245/4 "2002-08-15T06:32:00Z")

</div>

If you’re doing C++, you might want to have a look at SoFont, too. It’s not  
quite up to date, and I can’t seem to reach the developers, but I’m just  
trying to port SFont to C++ again, and SoFont is a great help. (Not that the  
source was documented or something 😉

Cheers, KaiOn Wednesday 14 August 2002 23:29, Jacek Pop?awski wrote:

> On Wed, Aug 14, 2002 at 02:41:47PM +0200, Jean wrote:
> 
> > I mean how can I write a text in my sdl window?
> 
> Please seach for “Sfont”.

–  
Kai Blin Linux system administrator Tel: Ring-86592  
Allgemeine Chirurgie Universitaetsklinikum Tuebingen

Baseball is a skilled game. It’s America’s game - it, and high taxes.  
– The Best of Will Rogers
