Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What's the default font?
#1
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%
Reply
#2
(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
Of all the places on Earth, and all the planets in the Universe, I'd rather live here (Perth, Western Australia.) Big Grin
Please visit my Website at: http://oldendayskids.blogspot.com/
Reply
#3
QB64 uses its own internal font.  It's all just a bunch of DATA statements, so there's no _LOADFONT involved or a font name that you can find.
Reply
#4
(03-01-2025, 12:32 AM)SMcNeill Wrote: QB64 uses its own internal font.  It's all just a bunch of DATA statements, so there's no _LOADFONT involved or a font name that you can find.
Is there a font it's based off of?
Reply
#5
Try these: https://int10h.org/oldschool-pc-fonts/fontlist/
Reply
#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




Users browsing this thread: 1 Guest(s)