Sebastian Lackner : dwrite: Fix font stretch name conversion table.
Module: wine Branch: stable Commit: 4ff44c51845ed4587e78fd594d9e44841f5ef9f8 URL: http://source.winehq.org/git/wine.git/?a=commit;h=4ff44c51845ed4587e78fd594d... Author: Sebastian Lackner <sebastian(a)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(a)fds-team.de> Signed-off-by: Nikolay Sivov <nsivov(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> (cherry picked from commit 1540a19359ff14a8380578c1ce7f81f16a859dd3) Signed-off-by: Michael Stefaniuc <mstefani(a)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,
participants (1)
-
Alexandre Julliard