Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
wanted: program to process Windows Font files
#12
Here is a quicky using a number of useful keywords for font:
Code: (Select All)
DefLng A-Z
Screen _NewImage(800, 600, 32)
s$ = "Hello World!"
h = 10
y = 10
While h < 400
    f = _LoadFont("arial.ttf", h)
    _Font f
    w = _PrintWidth(s$)
    _PrintString ((800 - w) / 2, y), s$
    h = 2 * h
    y = y + _FontHeight(f) + 5
Wend
Sleep
  724  855  599  923  575  468  400  206  147  564  878  823  652  556 bxor cross forever
Reply


Messages In This Thread
RE: wanted: program to process Windows Font files - by bplus - 10-26-2022, 12:36 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  ASCII font display Helium5793 5 1,255 03-04-2025, 03:50 PM
Last Post: Steffan-68
  A clean font printing SUB I use sometimes. Dav 4 1,280 08-27-2023, 10:16 PM
Last Post: Dav
Lightbulb Fancy font names mnrvovrfc 8 1,702 05-29-2023, 07:15 PM
Last Post: bplus
  Windows Magnifier SMcNeill 10 2,220 12-28-2022, 12:07 AM
Last Post: SMcNeill

Forum Jump:


Users browsing this thread: 1 Guest(s)