Name
pfontset:ForEach -- iterate through all fonts
Synopsis
pfontset:ForEach(func[, userdata])
Function
Iterates through all the fonts in a fontset, calling func for each one. If func returns True, that stops the iteration.

The callback function will receive the fontset in the first parameter and the Pango font in the second parameter. If you specify the userdata parameter, it will be passed to the callback as the third parameter.

Inputs
func
a callback function
data
additional data to pass to the callback function

Show TOC