01-11-2025, 02:26 AM
i don't expect someone to use boldfaced font. the code line to load the font should read:
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...
Code: (Select All)
mfont = _LOADFONT("C:\windows\fonts\CousineNerdFontMono-Regular.ttf", ps, "UNICODE")
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...