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
b = b + ...
Reply


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



Users browsing this thread: 6 Guest(s)