Table of Contents

Enum FontSimulations

Namespace
SharpDX.DirectWrite
Assembly
SharpDX.Direct2D1.dll

Specifies algorithmic style simulations to be applied to the font face. Bold and oblique simulations can be combined via bitwise OR operation.

public enum FontSimulations

Fields

Bold = 1

Indicates that algorithmic emboldening is applied to the font face. DWRITE_FONT_SIMULATIONS_BOLD increases weight by applying a widening algorithm to the glyph outline. This may be used to simulate a bold weight where no designed bold weight is available.

None = 0

Indicates that no simulations are applied to the font face.

Oblique = 2

Indicates that algorithmic italicization is applied to the font face. DWRITE_FONT_SIMULATIONS_OBLIQUE applies obliquing (shear) to the glyph outline. This may be used to simulate an oblique/italic style where no designed oblique/italic style is available.

Remarks

Style simulations are not recommended for good typographic quality.