FontFaceRef.capabilities

FontCapabilities capabilities() @safe nothrow @nogc const;

Returns

The features this implementor provides for this face: COLOR

when Font.rasterize with ARGB32 produces colour, OUTLINES when Font.glyphOutline works, HINTING when FontOptions.hinting is honoured, VARIATIONS when FontOptions.variations is honoured, COLLECTIONS when faceIndex is honoured. Consumers that need a feature check here once; the members answer false/UNSUPPORTED rather than failing late without it.