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


Possibly Related Threads…
Thread Author Replies Views Last Post
  QB64 odd behavior when Windows Terminal is set to default terminal app hanness 13 1,440 10-03-2025, 12:52 AM
Last Post: bert22306
  Default Command Line Experience in Windows is Now Windows Terminal hanness 21 4,400 10-23-2022, 10:15 PM
Last Post: bert22306
  Can't set font size in Linux Circlotron 3 973 08-28-2022, 05:58 PM
Last Post: mnrvovrfc
  How can I change editor font size in Linux bigriverguy 1 721 06-22-2022, 06:15 PM
Last Post: cage
  Vote on the default theme! admin 27 5,486 05-09-2022, 04:41 PM
Last Post: bplus

Forum Jump:


Users browsing this thread: 1 Guest(s)