Nikolay Sivov : dwrite: Use properly capitalized weight names for constructed face names.
Alexandre Julliard
julliard at winehq.org
Thu Mar 11 15:59:34 CST 2021
Module: wine
Branch: master
Commit: 1f8d7489b7e0a196d8f59ac401a67c2b7a84d3a2
URL: https://source.winehq.org/git/wine.git/?a=commit;h=1f8d7489b7e0a196d8f59ac401a67c2b7a84d3a2
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Thu Mar 11 12:41:22 2021 +0300
dwrite: Use properly capitalized weight names for constructed face names.
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/dwrite/font.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dlls/dwrite/font.c b/dlls/dwrite/font.c
index 4252a3698ba..1a54d2300b1 100644
--- a/dlls/dwrite/font.c
+++ b/dlls/dwrite/font.c
@@ -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[] = {
More information about the wine-cvs
mailing list