DWRITE_PANOSE_WEIGHT enumeration
The DWRITE_PANOSE_WEIGHT enumeration contains values that specify the weight of characters.
Syntax
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 = DWRITE_PANOSE_WEIGHT_EXTRA_BLACK
};
Constants
- DWRITE_PANOSE_WEIGHT_ANY
-
Any weight.
- DWRITE_PANOSE_WEIGHT_NO_FIT
-
No fit weight.
- DWRITE_PANOSE_WEIGHT_VERY_LIGHT
-
Very light weight.
- DWRITE_PANOSE_WEIGHT_LIGHT
-
Light weight.
- DWRITE_PANOSE_WEIGHT_THIN
-
Thin weight.
- DWRITE_PANOSE_WEIGHT_BOOK
-
Book weight.
- DWRITE_PANOSE_WEIGHT_MEDIUM
-
Medium weight.
- DWRITE_PANOSE_WEIGHT_DEMI
-
Demi weight.
- DWRITE_PANOSE_WEIGHT_BOLD
-
Bold weight.
- DWRITE_PANOSE_WEIGHT_HEAVY
-
Heavy weight.
- DWRITE_PANOSE_WEIGHT_BLACK
-
Black weight.
- DWRITE_PANOSE_WEIGHT_EXTRA_BLACK
-
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
|
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] |
|
Minimum supported phone |
Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps] |
|
Header |
|
See also