intuifontlib
An IntuiFont is a Blitz object, numbered from 0, that holds a font of
the system, of any size and also proportional, unlike the 8 by 8
BlitzFonts of bitmap output. Screens, windows and gadgets made after
LoadFont or Use IntuiFont use the used IntuiFont for their text;
WindowFont sets the font of the text printed in a window. Before any
LoadFont, the font is topaz 8.
LoadFont 0,"helvetica.font",13
Window 0,0,0,320,100,$100f,"Hello",1,2
WindowFont 0
Print "Text in Helvetica"Based on the intuifontlib guide by Acid Software.
Library number 134. It manages IntuiFont objects, by default at most 5 (the compiler options set the maximum).
Commands
IntuiFont
The object of a system font for screens, windows and gadgets, as the introduction describes.
Object name. Help text: A Font for use by intuition
LoadFont
Loads the font Fontname.font$ from FONTS: in the height Y size into an IntuiFont object, which becomes the used one. An old font of the object is closed. Amiga mode only.
Statement. Help text: IntuiFont#,Fontname.font$,Y size [,style]
2 forms:
.w, $, .w.w, $, .w, .w
With runtime error checking, a font that cannot be loaded is the error “Can’t Open Font”. The style is the sum of 1 underlined, 2 bold, 4 italic and 8 extended; only its low byte counts.