dwrite: Use properly capitalized weight names for constructed face names.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2021-03-11 12:41:22 +03:00 committed by Alexandre Julliard
parent 118b080a08
commit 1f8d7489b7
1 changed files with 4 additions and 0 deletions

View File

@ -3653,6 +3653,10 @@ static BOOL is_known_weight_value(DWRITE_FONT_WEIGHT weight, WCHAR *nameW)
static const WCHAR extrablackW[] = {'E','x','t','r','a',' ','B','l','a','c','k',0};
static const WCHAR extraboldW[] = {'E','x','t','r','a',' ','B','o','l','d',0};
static const WCHAR demiboldW[] = {'D','e','m','i',' ','B','o','l','d',0};
static const WCHAR thinW[] = {'T','h','i','n',0};
static const WCHAR lightW[] = {'L','i','g','h','t',0};
static const WCHAR mediumW[] = {'M','e','d','i','u','m',0};
static const WCHAR blackW[] = {'B','l','a','c','k',0};
const struct knownweight_entry *ptr;
static const struct knownweight_entry knownweights[] = {