Status!TextError: UNSUPPORTED when the implementor cannot
scale the face, ALLOCATION_FAILED on native allocation failure.
Status!TextError create(out F font, ref FaceT face, uint pixelSize,
in FontOptions options) static @safe nothrow;Creates a font over a face at a pixel size.
font | fresh .init storage for the created font. Explicitly destroy an old value before reuse; out is not cleanup. |
face | the face, which must outlive the font. |
pixelSize | em size in pixels. |
options | raster and metric hints. |
Status!TextError: UNSUPPORTED when the implementor cannot
scale the face, ALLOCATION_FAILED on native allocation failure.