FontFaceRef.open

Status!TextError open(out T face, in FontMatch match) static @safe nothrow;

Opens the face described by a match. The factory convention (doc/DDN-CTI.md section 9.1): the handle is filled through the out parameter and failure is a status.

Parameters

facefresh .init storage for the opened face, initialized in place or moved, never copied. Destroy an old value explicitly before reusing storage; out is not cleanup.
matchwhere the bytes are (path or bytes), which face of a collection (faceIndex) and the resolved description.

Returns

Status!TextError: BAD_FONT for malformed bytes, IO for

unreadable paths, UNSUPPORTED for formats or face indices this implementor cannot handle, ALLOCATION_FAILED on native allocation failure.