Re: Merging Of Images

new topic     » goto parent     » topic index » view thread      » older message » newer message

David Gay wrote:

> The trick is to take each 8 pixel line and convert it to bits,
> which is then stored as a single byte thanks to bits_to_int(). This means
> only 16 bytes are required to represent a 8 pixel wide, 16 pixel high

Exactly! That's the format that you need to send it to the video card, as
well.
I didn't do that because I didn't want to deal with a "text" and a
"compressed"
version of the file in Fonter, but because of the size, I'll be moving to
that
format, and writing a txt2fnt/fnt2txt routine.

Here's a chance for me to show my ignorance: how do you redefine the
character
set in graphics mode? I know that it can be done, but it's a little bit
different
than text mode, and I can't quite figure it out.

Thanks.

 -- David Cuny

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu