[PATCH 1/2] dwrite: Use OpenType 1.8 'head' table structure
Nikolay Sivov
nsivov at codeweavers.com
Tue Jan 24 15:54:13 CST 2017
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
dlls/dwrite/opentype.c | 3 ++-
dlls/dwrite/tests/font.c | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/dlls/dwrite/opentype.c b/dlls/dwrite/opentype.c
index c8298138b7..f4ed51fe2e 100644
--- a/dlls/dwrite/opentype.c
+++ b/dlls/dwrite/opentype.c
@@ -113,7 +113,8 @@ enum OPENTYPE_CMAP_TABLE_FORMAT
#include "pshpack2.h"
typedef struct
{
- ULONG version;
+ USHORT majorVersion;
+ USHORT minorVersion;
ULONG revision;
ULONG checksumadj;
ULONG magic;
diff --git a/dlls/dwrite/tests/font.c b/dlls/dwrite/tests/font.c
index ba9866af27..9382569205 100644
--- a/dlls/dwrite/tests/font.c
+++ b/dlls/dwrite/tests/font.c
@@ -113,7 +113,8 @@ static const WCHAR emojiW[] = {'S','e','g','o','e',' ','U','I',' ','E','m','o','
#include "pshpack2.h"
typedef struct
{
- ULONG version;
+ USHORT majorVersion;
+ USHORT minorVersion;
ULONG revision;
ULONG checksumadj;
ULONG magic;
--
2.11.0
More information about the wine-patches
mailing list