IDWriteFontSetBuilder::CreateFontSet method (dwrite_3.h)
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 |
---|---|
Target Platform | Windows |
Header | dwrite_3.h |
Library | Dwrite.lib |
DLL | Dwrite.dll |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for