IDWriteFontCollection.GetFontFromFontFace

<summary> Gets the font object that corresponds to the same physical font as the specified font face object. The specified physical font must belong to the font collection. </summary> <param name="fontFace">Font face object that specifies the physical font.</param> <param name="font">Receives a pointer to the newly created font object if successful or NULL otherwise.</param> <returns> Standard HRESULT error code. If the specified physical font is not part of the font collection the return value is DWRITE_E_NOFONT. </returns>

interface IDWriteFontCollection
extern (Windows)
HRESULT
GetFontFromFontFace

Meta