QB64 Phoenix Edition
What's the default font? - Printable Version

+- QB64 Phoenix Edition (https://qb64phoenix.com/forum)
+-- Forum: Chatting and Socializing (https://qb64phoenix.com/forum/forumdisplay.php?fid=11)
+--- Forum: General Discussion (https://qb64phoenix.com/forum/forumdisplay.php?fid=2)
+--- Thread: What's the default font? (/showthread.php?tid=3499)



What's the default font? - madscijr - 02-28-2025

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%



RE: What's the default font? - PhilOfPerth - 03-01-2025

(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


RE: What's the default font? - SMcNeill - 03-01-2025

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.


RE: What's the default font? - madscijr - 03-01-2025

(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?


RE: What's the default font? - SMcNeill - 03-01-2025

Try these: https://int10h.org/oldschool-pc-fonts/fontlist/


RE: What's the default font? - Dark - 03-01-2025

(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.