Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
using a custom tileset as a fixed-width font for _PrintString ?
#5
(03-07-2025, 05:51 PM)SMcNeill Wrote: I'd like to point out that QB64PE also supports BDF fonts, and they're one of the simplest things in the world to create and code for, as they're basically in human-readable format from the very get go.

https://en.wikipedia.org/wiki/Glyph_Bitm...ion_Format

It should be a very simple task to take a BMP image like you have above, read the characters, and then write them to a BDF file.  At that point, all you have to do is _LOADFONT to load that file, and then _FONT to set that font as the active one, and then just PRINT as normal.
Very interesting - thanks! I'll give that a look and see what I can put together...
Reply


Messages In This Thread
RE: using a custom tileset as a fixed-width font for _PrintString ? - by madscijr - 03-07-2025, 06:58 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Help: Issues with the _PRINTSTRING and _INPUTBOX$ functions in QB64. qbfans 2 352 02-13-2026, 06:07 AM
Last Post: qbfans
  Font Size in Threads Dimster 5 362 12-12-2025, 04:49 PM
Last Post: Dimster
  Is there something like _RESIZESCREEN width, height? Dav 10 740 11-16-2025, 01:01 PM
Last Post: Dav
  Problem with font in Teletext browser. SquirrelMonkey 7 749 08-27-2025, 11:38 AM
Last Post: BDS107
  need help generating fixed-width BDF fonts with sizes other than 8x8 madscijr 10 1,074 07-12-2025, 03:33 PM
Last Post: madscijr

Forum Jump:


Users browsing this thread: 1 Guest(s)