Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Uses the reference to create a font face, for use with layout, shaping, or rendering.
Syntax
HRESULT CreateFontFace(
[out] IDWriteFontFace5 **fontFace
);
Parameters
[out] fontFace
Type: IDWriteFontFace5**
The address of a pointer to an IDWriteFontFace5 interface. On successful completion, the function sets the pointer to a newly created font face object, otherwise it sets the pointer to nullptr.
Return value
Type: HRESULT
If the function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
| Return value | Description |
|---|---|
| DWRITE_E_REMOTEFONT | The font is not local. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 10 Build 16299 |
| Minimum supported server | Windows 10 Build 16299 |
| Target Platform | Windows |
| Header | dwrite_3.h |
| Library | Dwrite.lib |