find-or-create-font in font-list%
Finds an existing font in the list or creates a new one (that is automatically added to the list).
( -> send a-font-list find-or-create-font size family style weight underline? smoothing size-in-pixels?)font% object
size : exact integer in [1, 255]
family : symbol in '(default decorative roman script swiss modern symbol system)
style : symbol in '(normal italic slant)
weight : symbol in '(normal bold light)
underline? = : boolean
#f
smoothing = : symbol in 'default'(default partly-smoothed smoothed unsmoothed)
size-in-pixels? = : boolean#f
See
font% for information about family, style, weight, and smoothing.
( -> void
send a-font-list find-or-create-font size face family style weight underline smoothing size-in-pixels?)
size : exact integer in [1, 255]
face : string
family : symbol in '(default decorative roman script swiss modern symbol system)
style : symbol in '(normal italic slant)
weight : symbol in '(normal bold light)
underline = : boolean
#f
smoothing = : symbol in 'default'(default partly-smoothed smoothed unsmoothed)
size-in-pixels? = : boolean#f
See
font% for information about family, style, weight, and smoothing. See
also
font-name-directory<%> about the use of face.