[PATCH 2/2] dwrite: Use OpenType 1.8 'hhea' table structure
Nikolay Sivov
nsivov at codeweavers.com
Tue Jan 24 15:54:14 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 f4ed51fe2e..7a3e641ad4 100644
--- a/dlls/dwrite/opentype.c
+++ b/dlls/dwrite/opentype.c
@@ -205,7 +205,8 @@ typedef struct
} TT_OS2_V2;
typedef struct {
- ULONG version;
+ USHORT majorVersion;
+ USHORT minorVersion;
SHORT ascender;
SHORT descender;
SHORT linegap;
diff --git a/dlls/dwrite/tests/font.c b/dlls/dwrite/tests/font.c
index 9382569205..c373d141e7 100644
--- a/dlls/dwrite/tests/font.c
+++ b/dlls/dwrite/tests/font.c
@@ -217,7 +217,8 @@ typedef struct {
} TT_POST;
typedef struct {
- ULONG version;
+ USHORT majorVersion;
+ USHORT minorVersion;
SHORT ascender;
SHORT descender;
SHORT linegap;
--
2.11.0
More information about the wine-patches
mailing list