Thread: Creating fonts
View Single Post
Old 17 June 2021, 18:37   #11
Arne
Hobby/Indie gamedev
 
Arne's Avatar
 
Join Date: Jan 2015
Location: Southern Sweden
Posts: 110
For 1-bit fonts I use the excellent FED 1.3 on the Workbench 1.3 Extras disk. It can be copied to a WB 3.1 install (into Tools folder preferably). It supports both fixed width and proportional (variable width) fonts. It saves directly in the OS Font dir. I usually save with incremental names for each version because there is some kind of cache issue when going back and forth between AMOS to print out Quick Fox test strings.

In AMOS:
Get Disc Fonts
' This generates a Font$() name array which you can search.
If Left$(Font$(F_IND),8)="MyOwnFon" ...
' To set:
Set Font F_IND
' To render:
Text 100,100,"Wheee!"

As for FED, you need to experiment a bit to learn what Kern, Space, Width etc all do. Also, FED doesn't quite update WYSIWYG as it's quite ancient. Still, certainly one of the better WB1.3 tools.
Arne is offline  
 
Page generated in 0.05233 seconds with 11 queries