Sebastian Lackner : dwrite: Fix font stretch name conversion table.

Alexandre Julliard julliard at winehq.org
Mon Aug 22 07:32:40 CDT 2016


Module: wine
Branch: stable
Commit: 4ff44c51845ed4587e78fd594d9e44841f5ef9f8
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=4ff44c51845ed4587e78fd594d9e44841f5ef9f8

Author: Sebastian Lackner <sebastian at fds-team.de>
Date:   Sat Aug 13 22:21:14 2016 +0300

dwrite: Fix font stretch name conversion table.

Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
(cherry picked from commit 1540a19359ff14a8380578c1ce7f81f16a859dd3)
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>

---

 dlls/dwrite/font.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/dwrite/font.c b/dlls/dwrite/font.c
index 68b2c17..e7382c0 100644
--- a/dlls/dwrite/font.c
+++ b/dlls/dwrite/font.c
@@ -2760,6 +2760,7 @@ static BOOL font_apply_differentiation_rules(struct dwrite_font_data *font, WCHA
         static const WCHAR ultraexpandedW[] = {'U','l','t','r','a',' ','E','x','p','a','n','d','e','d',0};
 
         static const WCHAR *stretchnamesW[] = {
+            NULL, /* DWRITE_FONT_STRETCH_UNDEFINED */
             ultracondensedW,
             extracondensedW,
             condensedW,




More information about the wine-cvs mailing list