FontSourceRef.candidates

Status!TextError candidates(in FontDescription desc, scope void delegate(in FontMatch) @safe nothrow sink, out bool complete) @safe nothrow;

The faces that could serve a description, in fallback order.

Parameters

descas for match.
sinkcalled once per candidate, the primary match first, as far as the order is known.
completereceives true when the list is the complete fallback order, false when the platform offers only part of one.

Returns

Status!TextError: NO_MATCH when nothing matches at all,

backend failures as errors.