https://git.reactos.org/?p=reactos.git;a=commitdiff;h=30830ca96399724915aa2…
commit 30830ca96399724915aa20a43a42fb8d850a1aff
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Sat Jul 28 23:24:26 2018 +0900
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Sun Jul 29 13:11:48 2018 +0200
[WIN32SS] Add 5 members to FONTGDI structure
---
win32ss/gdi/eng/engobjects.h | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/win32ss/gdi/eng/engobjects.h b/win32ss/gdi/eng/engobjects.h
index 348774bba5..c79832aff9 100644
--- a/win32ss/gdi/eng/engobjects.h
+++ b/win32ss/gdi/eng/engobjects.h
@@ -153,6 +153,13 @@ typedef struct _FONTGDI {
BYTE OriginalItalic;
LONG OriginalWeight;
BYTE CharSet;
+
+ /* Precomputed font metrics (supplements FreeType metrics) */
+ LONG tmHeight;
+ LONG tmAscent;
+ LONG tmDescent;
+ LONG tmInternalLeading;
+ LONG EmHeight;
} FONTGDI, *PFONTGDI;
typedef struct _PATHGDI {