Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates a font set from all the font face references added so far with AddFontFaceReference.
Syntax
HRESULT CreateFontSet(
[out] IDWriteFontSet **fontSet
);
Parameters
[out] fontSet
Type: IDWriteFontSet**
Contains the newly created font set object, or nullptr in case of failure.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
Creating a font set takes less time if the references were added with metadata rather than needing to extract the metadata from the font file.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 10 [desktop apps only] |
| Minimum supported server | Windows Server 2016 [desktop apps only] |
| Target Platform | Windows |
| Header | dwrite_3.h |
| Library | Dwrite.lib |
| DLL | Dwrite.dll |