Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
printing characters > chr$(127)
#10
(03-08-2025, 05:30 PM)SMcNeill Wrote: Try this and see how it does:
...

It works like a charm - thank you!


(03-08-2025, 05:30 PM)SMcNeill Wrote: As you can see, I basically just pointed the unicode values of your custom font to match the original unicode values that QB64 goes out and fetches to make the proper 256 ASCII characters that we use.

As long as you use the standard code page, this should work without having to do any remapping for you.  Wink

This actually leads me to another question - I assumed a "font" to be 256 characters, since that was the size of the ASCII & extended ASCII alphabet back in the day. But with unicode, could we generate a BDF file with 512 or more custom characters and display them all using the unicode mapping? What would that look like? (I suspect doing that might involve code pages, which is something I haven't worked with.)
Thanks again!
Reply


Messages In This Thread
printing characters > chr$(127) - by madscijr - 03-08-2025, 05:19 AM
RE: printing characters > chr$(127) - by SMcNeill - 03-08-2025, 06:48 AM
RE: printing characters > chr$(127) - by SMcNeill - 03-08-2025, 06:54 AM
RE: printing characters > chr$(127) - by SMcNeill - 03-08-2025, 10:05 AM
RE: printing characters > chr$(127) - by madscijr - 03-08-2025, 03:07 PM
RE: printing characters > chr$(127) - by SMcNeill - 03-08-2025, 03:35 PM
RE: printing characters > chr$(127) - by madscijr - 03-08-2025, 03:43 PM
RE: printing characters > chr$(127) - by SMcNeill - 03-08-2025, 04:25 PM
RE: printing characters > chr$(127) - by SMcNeill - 03-08-2025, 05:30 PM
RE: printing characters > chr$(127) - by madscijr - 03-08-2025, 09:20 PM
RE: printing characters > chr$(127) - by SMcNeill - 03-08-2025, 11:06 PM
RE: printing characters > chr$(127) - by madscijr - 03-09-2025, 12:01 AM
RE: printing characters > chr$(127) - by madscijr - 03-09-2025, 02:32 AM
RE: printing characters > chr$(127) - by SMcNeill - 03-09-2025, 03:17 AM
RE: printing characters > chr$(127) - by madscijr - 03-09-2025, 10:56 PM
RE: printing characters > chr$(127) - by madscijr - 03-09-2025, 11:46 AM



Users browsing this thread: 6 Guest(s)