Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Font from a string pattern - help needed
#4
For one thing:

FOR i% = 0 TO l%   ' <<< Start at 1 not 0, first letter is at 1
        c$ = MID$(s$, i%, 1)

For another I'd block spacing out in fitting the letter pixels in the block like one or 2 more spaces in columns and rows, that way letter blocks can go next to each other without another variable calculation like the 8x16 default font does. eg 2 more spaces on right and below letter pixels. I am lost trying to figure out what that kerning thing is.

BTW I don't see a need to spec source for _Putimage, the destination block is sufficient.
  724  855  599  923  575  468  400  206  147  564  878  823  652  556 bxor cross forever
Reply


Messages In This Thread
RE: Font from a string pattern - help needed - by bplus - 08-27-2023, 01:09 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Word Processor Using Single String Pete 3 220 02-28-2026, 12:07 AM
Last Post: Pete
  Custom Font 12x24 CP437 with 24x24 for Roguelike onetruetroy 3 573 10-06-2025, 06:11 PM
Last Post: grymmjack
  generate multiple size fixed-width fonts on the fly (no editor needed) madscijr 13 1,559 07-21-2025, 03:37 PM
Last Post: madscijr
  b+ String Math Update bplus 31 5,183 04-11-2025, 11:56 AM
Last Post: bplus
  I'm adding SQR to my new faster string math routines... Pete 17 3,313 04-01-2025, 04:56 PM
Last Post: Pete

Forum Jump:


Users browsing this thread: