A 
font-list% object maintains a list of 
font%
 objects to avoid repeatedly creating fonts.
A global font list, the-font-list, is created automatically.
Creates an empty font list.
| | (send a-font-list find-or-create-font |  | size |  |  |  |  | family |  |  |  |  | style |  |  |  |  | weight |  |  |  | [ | underline? |  |  |  |  | smoothing |  |  |  |  | size-in-pixels? |  |  |  |  | hinting |  |  |  |  | feature-settings]) |  | 
 | 
| → (is-a?/c font%) | 
| size : (real-in 0.0 1024.0) | 
| |  | family |  | : |  | | (or/c 'default 'decorative 'roman 'script |  | 'swiss 'modern 'symbol 'system) | 
 | 
 | 
| style : (or/c 'normal 'italic 'slant) | 
| weight : (or/c 'normal 'bold 'light) | 
| underline? : any/c = #f | 
| |  | smoothing |  | : |  | (or/c 'default 'partly-smoothed 'smoothed 'unsmoothed) |  |  |  |  | = |  | 'default | 
 | 
| size-in-pixels? : any/c = #f | 
| hinting : (or/c 'aligned 'unaligned) = 'aligned | 
| feature-settings : font-feature-settings/c = (hash) | 
| | (send a-font-list find-or-create-font |  | size |  |  |  |  | face |  |  |  |  | family |  |  |  |  | style |  |  |  |  | weight |  |  |  | [ | underline |  |  |  |  | smoothing |  |  |  |  | size-in-pixels? |  |  |  |  | hinting |  |  |  |  | feature-settings]) |  | 
 | 
| → (is-a?/c font%) | 
| size : (real-in 0.0 1024.0) | 
| face : string? | 
| |  | family |  | : |  | | (or/c 'default 'decorative 'roman 'script |  | 'swiss 'modern 'symbol 'system) | 
 | 
 | 
| style : (or/c 'normal 'italic 'slant) | 
| weight : (or/c 'normal 'bold 'light) | 
| underline : any/c = #f | 
| |  | smoothing |  | : |  | (or/c 'default 'partly-smoothed 'smoothed 'unsmoothed) |  |  |  |  | = |  | 'default | 
 | 
| size-in-pixels? : any/c = #f | 
| hinting : (or/c 'aligned 'unaligned) = 'aligned | 
| feature-settings : font-feature-settings/c = (hash) | 
Finds an existing font in the list or creates a new one (that is
 automatically added to the list). The arguments are the same as for
 creating a 
font% instance.
See also make-font and current-font-list.
Changed in version 1.4 of package draw-lib: Changed size to allow non-integer and zero values.
Changed in version 1.19: Added the optional feature-settings argument.