IDWriteFontSetBuilder::CreateFontSet method
Creates a font set from all the font face references added so far with AddFontFaceReference.
Syntax
virtual HRESULT CreateFontSet(
[out] IDWriteFontSet **fontSet
) = 0;
Parameters
- fontSet [out]
-
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
|
Header |
|
|---|---|
|
Library |
|
|
DLL |
|
See also
Show: