<summary>
Creates a font face object.
</summary>
<param name="fontFaceType">The file format of the font face.</param>
<param name="numberOfFiles">The number of font files required to represent the font face.</param>
<param name="fontFiles">Font files representing the font face. Since IDWriteFontFace maintains its own references
to the input font file objects, it's OK to release them after this call.</param>
<param name="faceIndex">The zero based index of a font face in cases when the font files contain a collection of font faces.
If the font files contain a single face, this value should be zero.</param>
<param name="fontFaceSimulationFlags">Font face simulation flags for algorithmic emboldening and italicization.</param>
<param name="fontFace">Contains the newly created font face object, or NULL in case of failure.</param>
<returns>
Standard HRESULT error code.
</returns>
<summary> Creates a font face object. </summary> <param name="fontFaceType">The file format of the font face.</param> <param name="numberOfFiles">The number of font files required to represent the font face.</param> <param name="fontFiles">Font files representing the font face. Since IDWriteFontFace maintains its own references to the input font file objects, it's OK to release them after this call.</param> <param name="faceIndex">The zero based index of a font face in cases when the font files contain a collection of font faces. If the font files contain a single face, this value should be zero.</param> <param name="fontFaceSimulationFlags">Font face simulation flags for algorithmic emboldening and italicization.</param> <param name="fontFace">Contains the newly created font face object, or NULL in case of failure.</param> <returns> Standard HRESULT error code. </returns>