About font

How to display texture in sdl ,without X11.
I need only normal font,not ttf.
tks

How to display texture in sdl ,without X11.
I need only normal font,not ttf.
tks

define “normal font”

Anders A wrote:

How to display texture in sdl ,without X11.
I need only normal font,not ttf.
tks

define “normal font”


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

I tried this:

#define “normal font”

it didn’t work!!!

PS - just kidding around…duh–
-==-
Jon Atkins
http://jonatkins.org/

Why not take a look at the SFont library.
It’s a simple to use bitmapped font renderer.

You store your font as a single image with every character in order. The image
can be quite large (wide anyway). Each character is separate by a region of
pixels at the top which tell SFont how wide each letter is.
It supplies functions to tell you how wide and deep a particular piece of text
will be and has the facility to accept input.

You’ll find a link to SFont on the libsdl site in the Libraries section.

I’m sure there are many more libraries you could use, but I use SFont and I’m
more than happy with it.

Hope this helps

JasonOn Thursday 27 June 2002 4:21 am, Jin.bin [?e??] wrote:

How to display texture in sdl ,without X11.
I need only normal font,not ttf.
tks


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

[…]

I’m sure there are many more libraries you could use, but I use SFont and I’m
more than happy with it.

Just keep in mind that it’s GPLed and not LGPLed. (I’ll have to remove it from Kobo Deluxe, as the engine is supposed to be released under the LGPL. There goes my SoFont fixes… sob)

DFont?

//David

.---------------------------------------
| David Olofson
| Programmer

david.olofson at reologica.se
Address:
REOLOGICA Instruments AB
Scheelev?gen 30
223 63 LUND
Sweden
---------------------------------------
Phone: 046-12 77 60
Fax: 046-12 50 57
Mobil:
E-mail: david.olofson at reologica.se
WWW: http://www.reologica.se

`-----> We Make Rheology RealOn Fri, 28/06/2002 08:21:18 , Jason Farmer wrote:

DFont?

try BFont c++ version :slight_smile:

http://www.cs.unibo.it/~dbilli/bfont/bfont.html

Muzero

Great! :slight_smile: I’ll consider it as a solution for this SoFont license clash issue.

BTW, how’s this Alvyn BASIC project going? Looks interesting. :slight_smile:

//David

.---------------------------------------
| David Olofson
| Programmer

david.olofson at reologica.se
Address:
REOLOGICA Instruments AB
Scheelev?gen 30
223 63 LUND
Sweden
---------------------------------------
Phone: 046-12 77 60
Fax: 046-12 50 57
Mobil:
E-mail: david.olofson at reologica.se
WWW: http://www.reologica.se

`-----> We Make Rheology RealOn Sun, 30/06/2002 14:57:18 , Muzero wrote:

DFont?

try BFont c++ version :slight_smile:

http://www.cs.unibo.it/~dbilli/bfont/bfont.html

Jin.bin [?e??] wrote:

How to display texture in sdl ,without X11.
I need only normal font,not ttf.
tks


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

try my font rountines:
http://cone3d.gamedev.net/cgi-bin/index.pl?page=tutorials/gfxsdl/tut4

Marius

Hi!

Has SDL ever been ported to a (not Linux) embedded system executive, like RTEMS
or eCos?–
Martin Doering