A clean font printing SUB I use sometimes.
#5
Hey, glad you found the cause so quick.  I'm not sure what to suggest at the moment, I'm just getting my mind back into php coding after a long lay off. Will put my thinking cap on.

The font sheet image this program uses, and the encoded data, was made using a program called BASFONT.  It takes a monospace font and outputs a callable bas SUB out of it, like in the program above.  It's easy to put several kinds of font in a program with it. BASFONT works by first creating a screen image showing all the fonts letters, then grabs that screen data, encodes it, and outputs the BAS code.  The SUB just _PUTIMAGE the image of letters.  It's just a modified version of the BASIMAGE program that does the same kind of thing. I'll go post BASFONT in my programs area.

EDIT: Just posted the BASFONT program used to make this.

- Dav

Find my programs here in Dav's QB64 Corner
Reply


Messages In This Thread
RE: A clean font printing SUB I use sometimes. - by Dav - 08-27-2023, 10:16 PM



Users browsing this thread: 2 Guest(s)