views:

207

answers:

4

Anyone who ever had to draw text in a graphics application for pre-windows operating systems (i.e. Dos) will know what I'm asking for.

Each ASCII character can be represented by an 8x8 pixel matrix. Each matrix can be represented by an 8 byte code (each byte used as a bit mask for each line of the matrix, 1 bit representing a white pixel, each 0 a black pixel).

Does anyone know where I can find the byte codes for the basic ASCII characters?

Thanks,
BW

+1  A: 

There are some good ones here; maybe not 8x8, but still easy parse

tektite

fixed

Will
+1 Exactly the type of thing I'm looking for, thanks.
Binary Worrier
A: 

Bitmap?http://cone3d.gamedev.net/cone3d/gfxsdl/tut4-2.gif

you could parse/process this bitmap and get the byte matrixes (matrices?) from this

thijs
<humor> I could do that . . . I could also do my own dentristy with piece of string, some razor blades and a pliers . . . but strangely I dont that</humor> :)
Binary Worrier
+1  A: 

It depends on the font. Search Google for 8x8 pixel fonts and you'll find a lot of different ones.

Converting from an image to a byte code table is trivial. Loop through each image 8x8 block at at time, reading the pixels and setting the bytes.

tkerwin
Do that, post the byte codes and the correct answer goes to you. I don't have a fortune of time to spend on this. Thanks.
Binary Worrier
+3  A: 

Would this do?

Hope this helps, Best regards, Tom.

tommieb75
+1 It might well do, thanks
Binary Worrier