Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
another variation of "10 PRINT"
#22
Jack002

did you read the second post i made on this thread?

(01-11-2025, 02:26 AM)hsiangch_ong Wrote: i don't expect someone to use boldfaced font.  the code line to load the font should read:

Code: (Select All)
mfont = _LOADFONT("C:\windows\fonts\CousineNerdFontMono-Regular.ttf", ps, "UNICODE")
this is for regular monospace font.  you could try with boldfaced instead.  instead of ps variable, try using point size of 16 or 24. (shrugs)

the "courier new" font might not have a lot of unicode symbols.  i don't know if "cyberbit.ttf" is still packaged with qb64.  it was with earlier versions.  especially before phoenix edition.  if you happen to have an early installation of qb64 then find that font and try with it.  however it's not monospaced.  it might not have the graphics characters employed in this topic's example.

"gucharmap" is the gnome character map viewer for linux.  windows should have an equivalent program called "character map" or similar found somewhere in the start menu.  it should show you information about a sigil that you click on with the mouse.  most important is the "U+xxxx" feature where "xxxx" is a 4-digit hexadecimal (base-16) number, which is the "utf-8" code to produce that character with _uprintstring in qb64 phoenix.  it is a bit tricky as you could notice in my program...

i should have posted windows-only path which was hard coded.

all of you trying to do it with screen 0 and as short as possible are missing the point.  there is no way to do it like on original commodore 64 with an original text mode!  so i ventured on doing it with graphics mode, with graphics characters that looked like the two from commodore 64 able to be produced with [b]chr$()[b].
Reply


Messages In This Thread
another variation of "10 PRINT" - by hsiangch_ong - 12-27-2024, 04:55 PM
RE: another variation of "10 PRINT" - by Jack002 - 01-09-2025, 11:54 PM
RE: another variation of "10 PRINT" - by bplus - 01-11-2025, 06:13 PM
RE: another variation of "10 PRINT" - by SMcNeill - 01-11-2025, 10:28 PM
RE: another variation of "10 PRINT" - by bplus - 01-11-2025, 11:48 PM
RE: another variation of "10 PRINT" - by SMcNeill - 01-11-2025, 11:58 PM
RE: another variation of "10 PRINT" - by SMcNeill - 01-12-2025, 12:35 AM
RE: another variation of "10 PRINT" - by bplus - 01-12-2025, 12:41 AM
RE: another variation of "10 PRINT" - by SMcNeill - 01-12-2025, 12:43 AM
RE: another variation of "10 PRINT" - by SMcNeill - 01-12-2025, 12:48 AM
RE: another variation of "10 PRINT" - by bplus - 01-12-2025, 12:53 AM
RE: another variation of "10 PRINT" - by JRace - 01-12-2025, 02:03 AM
RE: another variation of "10 PRINT" - by SMcNeill - 01-12-2025, 02:23 AM
RE: another variation of "10 PRINT" - by bplus - 01-12-2025, 02:52 AM
RE: another variation of "10 PRINT" - by JRace - 01-12-2025, 03:11 AM
RE: another variation of "10 PRINT" - by SMcNeill - 01-12-2025, 03:24 AM
RE: another variation of "10 PRINT" - by bplus - 01-12-2025, 03:23 AM
RE: another variation of "10 PRINT" - by JRace - 01-12-2025, 03:47 AM
RE: another variation of "10 PRINT" - by Jack002 - 01-12-2025, 07:45 PM
RE: another variation of "10 PRINT" - by bplus - 01-12-2025, 09:02 PM
RE: another variation of "10 PRINT" - by Jack002 - 01-13-2025, 02:56 PM
RE: another variation of "10 PRINT" - by JRace - 01-13-2025, 10:16 PM
RE: another variation of "10 PRINT" - by Jack002 - Yesterday, 10:05 PM
RE: another variation of "10 PRINT" - by hsiangch_ong - 01-13-2025, 10:10 AM
RE: another variation of "10 PRINT" - by SMcNeill - 01-13-2025, 02:12 PM
RE: another variation of "10 PRINT" - by bplus - 01-13-2025, 04:25 PM
RE: another variation of "10 PRINT" - by JRace - 01-13-2025, 06:24 PM
RE: another variation of "10 PRINT" - by SMcNeill - 01-13-2025, 06:44 PM
RE: another variation of "10 PRINT" - by JRace - 01-13-2025, 07:03 PM
RE: another variation of "10 PRINT" - by bplus - 01-13-2025, 07:51 PM
RE: another variation of "10 PRINT" - by Jack002 - Yesterday, 09:59 PM
RE: another variation of "10 PRINT" - by bplus - Yesterday, 01:39 AM
RE: another variation of "10 PRINT" - by JRace - Yesterday, 02:16 AM
RE: another variation of "10 PRINT" - by bplus - Yesterday, 02:27 AM
RE: another variation of "10 PRINT" - by JRace - Yesterday, 02:33 AM



Users browsing this thread: 28 Guest(s)