Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What's the default font?
#6
(03-01-2025, 12:28 AM)PhilOfPerth Wrote:
(02-28-2025, 11:19 PM)madscijr Wrote: Thinking about playing with converting photos to ASCII, and read that which characters used to approximate different levels of brightness would depend on the font, which makes sense.
So now I'm curious what font is this using by default? 

Code: (Select All)
Screen _NewImage(640, 480, 32)
_ScreenMove 0, 0
Cls
Print "What font is this by default under Windows 11, QB64PE 4.0.0?" + Chr$(13)
Dim n%: n% = 0
Dim i%: For i% = 33 To 255
    n% = n% + 1: If n% >= 80 Then n% = 0: Print
    Print Chr$(i%);
Next i%
Good question! I searched for something like "_Fontname" and found nothing. May be a useful function to add ???  Rolleyes
The default font for QB64PE on Windows 11 is typically "Terminal" or a similar monospaced font.
Reply


Messages In This Thread
What's the default font? - by madscijr - 02-28-2025, 11:19 PM
RE: What's the default font? - by PhilOfPerth - 03-01-2025, 12:28 AM
RE: What's the default font? - by Dark - 03-01-2025, 07:46 PM
RE: What's the default font? - by SMcNeill - 03-01-2025, 12:32 AM
RE: What's the default font? - by madscijr - 03-01-2025, 03:57 AM
RE: What's the default font? - by SMcNeill - 03-01-2025, 04:07 AM



Users browsing this thread: 1 Guest(s)