Table of Contents

Enum FontPropertyId

Namespace
SharpDX.DirectWrite
Assembly
SharpDX.Direct2D1.dll

Identifies a string in a font.

public enum FontPropertyId

Fields

DesignScriptLanguageTag = 7

Script/language tag to identify the scripts or languages that the font was primarily designed to support.

FaceName = 3

Face name of the font, for example Regular or Bold.

FamilyName = 1

Family name for the weight-width-slope model.

FullName = 4

The full name of the font, for example "Arial Bold", from name id 4 in the name table.

None = 0

Unspecified font property identifier.

PostscriptName = 6

The postscript name of the font, for example "GillSans-Bold", from name id 6 in the name table.

PreferRedFamilyName = 2

Family name preferred by the designer. This enables font designers to group more than four fonts in a single family without losing compatibility with GDI. This name is typically only present if it differs from the GDI-compatible family name.

SemanticTag = 9

Semantic tag to describe the font, for example Fancy, Decorative, Handmade, Sans-serif, Swiss, Pixel, Futuristic.

Stretch = 11

Stretch of the font represented as a decimal string in the range 1-9.

Style = 12

Style of the font represented as a decimal string in the range 0-2.

SupportedScriptLanguageTag = 8

Script/language tag to identify the scripts or languages that the font declares it is able to support.

Total = 13

Total number of properties.

TotalRasterizer3 = 14

No documentation.

TypographicFaceName = 13

Total number of properties.

TypographicFamilyName = 2

Family name preferred by the designer. This enables font designers to group more than four fonts in a single family without losing compatibility with GDI. This name is typically only present if it differs from the GDI-compatible family name.

Weight = 10

Weight of the font represented as a decimal string in the range 1-999.

WeightStretchStyleFaceName = 3

Face name of the font, for example Regular or Bold.

WeightStretchStyleFamilyName = 1

Family name for the weight-width-slope model.

Win32FamilyName = 5

GDI-compatible family name. Because GDI allows a maximum of four fonts per family, fonts in the same family may have different GDI-compatible family names, for example "Arial", "Arial Narrow", "Arial Black".