DWRITE_PANOSE_WEIGHT enumeration (dwrite_1.h)

The DWRITE_PANOSE_WEIGHT enumeration contains values that specify the weight of characters.

Syntax

typedef enum DWRITE_PANOSE_WEIGHT {
  DWRITE_PANOSE_WEIGHT_ANY = 0,
  DWRITE_PANOSE_WEIGHT_NO_FIT = 1,
  DWRITE_PANOSE_WEIGHT_VERY_LIGHT = 2,
  DWRITE_PANOSE_WEIGHT_LIGHT = 3,
  DWRITE_PANOSE_WEIGHT_THIN = 4,
  DWRITE_PANOSE_WEIGHT_BOOK = 5,
  DWRITE_PANOSE_WEIGHT_MEDIUM = 6,
  DWRITE_PANOSE_WEIGHT_DEMI = 7,
  DWRITE_PANOSE_WEIGHT_BOLD = 8,
  DWRITE_PANOSE_WEIGHT_HEAVY = 9,
  DWRITE_PANOSE_WEIGHT_BLACK = 10,
  DWRITE_PANOSE_WEIGHT_EXTRA_BLACK = 11,
  DWRITE_PANOSE_WEIGHT_NORD
} ;

Constants

 
DWRITE_PANOSE_WEIGHT_ANY
Value: 0
Any weight.
DWRITE_PANOSE_WEIGHT_NO_FIT
Value: 1
No fit weight.
DWRITE_PANOSE_WEIGHT_VERY_LIGHT
Value: 2
Very light weight.
DWRITE_PANOSE_WEIGHT_LIGHT
Value: 3
Light weight.
DWRITE_PANOSE_WEIGHT_THIN
Value: 4
Thin weight.
DWRITE_PANOSE_WEIGHT_BOOK
Value: 5
Book weight.
DWRITE_PANOSE_WEIGHT_MEDIUM
Value: 6
Medium weight.
DWRITE_PANOSE_WEIGHT_DEMI
Value: 7
Demi weight.
DWRITE_PANOSE_WEIGHT_BOLD
Value: 8
Bold weight.
DWRITE_PANOSE_WEIGHT_HEAVY
Value: 9
Heavy weight.
DWRITE_PANOSE_WEIGHT_BLACK
Value: 10
Black weight.
DWRITE_PANOSE_WEIGHT_EXTRA_BLACK
Value: 11
Extra black weight.
DWRITE_PANOSE_WEIGHT_NORD
Extra black weight.

Remarks

The DWRITE_PANOSE_WEIGHT values roughly correspond to the DWRITE_FONT_WEIGHT values by using (panose_weight - 2) * 100 = font_weight.

Requirements

Requirement Value
Minimum supported client Windows 8 and Platform Update for Windows 7 [desktop apps only]
Minimum supported server Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps only]
Header dwrite_1.h

See also

DWRITE_PANOSE