| |
Flotsam
Registered: Jan 2004 Posts: 85 |
Defining big charsets
Hiya all, I'm back with more noob questions. So, I'm making a font with each letter being X*11 characters in size. X being 2-4, so variable width. I have a bitmap with all letters and I know it'll take 93 with equal char packing. The problem is, CharPad has a limit of 7x7 characters for tiles and I don't know any other programs that would let me do tiles from a bitmap (with automatic indexing). Do I need to do this by hand or write my own tool, or is there something that can do this?
Bottom line: I need a proggy that'll let me organise an indexed bitmap into tiles of 4*11 size (or preferably variable size). If the same proggy does the indexing too, even better. Does such thing exist? |
|
... 10 posts hidden. Click here to view all posts.... |
| |
Flotsam
Registered: Jan 2004 Posts: 85 |
Shit, I thought Pixcen wouldn't accept anything beyond 320px. SHOULD HAVE TRIED! :D
Anyway, I already did a C# program which takes in a png and generates the lookup tables exactly as I want them and also automatically slices the tiles where all bytes vertically have their least significant bit set to zero. And of course does the equal char packing too. Didn't take long to code and now I can adjust the output format exactly as I like it.
Still, good to know that Pixcen isn't limited to 320x200... typical me to assume such a thing and not test it. :) |
| |
Smasher
Registered: Feb 2003 Posts: 526 |
yes Flotsam, you can set any size with PixCen.
for big or huge chars I suggest to create a 256 (or multiple of 256) wide area.
If your font is char mode you save the screen RAM and in your code you have to deal with low byte only. |
| |
HCL
Registered: Feb 2003 Posts: 731 |
So, you did it the right way then :). Save it for later! |
Previous - 1 | 2 - Next |