Export (0) Print
Expand All

IDWriteFontFace2 interface

Represents an absolute reference to a font face.

This interface contains the font face type, appropriate file references, and face identification data.

You obtain various font data like metrics, names, and glyph outlines from the IDWriteFontFace2 interface.

This interface adds the ability to check if a color rendering path is potentially necessary.

Members

The IDWriteFontFace1 interface inherits from IDWriteFontFace1. IDWriteFontFace2 also has these types of members:

Methods

The IDWriteFontFace1 interface has these methods.

MethodDescription
GetColorPaletteCount

Gets the number of color palettes defined by the font.

GetPaletteEntries

Gets color values from the font's color palette.

GetPaletteEntryCount

Get the number of entries in each color palette.

GetRecommendedRenderingMode

Determines the recommended text rendering and grid-fit mode to be used based on the font, size, world transform, and measuring mode.

IsColorFont

Allows you to determine if a color rendering path is potentially necessary.

 

Requirements

Minimum supported client

Windows 8.1 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 R2 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Library

Dwrite.lib

DLL

Dwrite.dll

 

 

Community Additions

ADD
Show:
© 2015 Microsoft