projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d95f6e
)
Implement GetETM.
author
James Tabor
<james.tabor@reactos.org>
Fri, 28 Dec 2007 20:06:09 +0000
(20:06 +0000)
committer
James Tabor
<james.tabor@reactos.org>
Fri, 28 Dec 2007 20:06:09 +0000
(20:06 +0000)
svn path=/trunk/; revision=31480
reactos/dll/win32/gdi32/misc/stubs.c
patch
|
blob
|
history
diff --git
a/reactos/dll/win32/gdi32/misc/stubs.c
b/reactos/dll/win32/gdi32/misc/stubs.c
index
20aea78
..
a6fc6d6
100644
(file)
--- a/
reactos/dll/win32/gdi32/misc/stubs.c
+++ b/
reactos/dll/win32/gdi32/misc/stubs.c
@@
-1582,19
+1582,20
@@
GdiRealizationInfo(HDC hdc,
return 0;
}
-
-
/*
- * @
un
implemented
+ * @implemented
*/
BOOL
STDCALL
GetETM(HDC hdc,
EXTTEXTMETRIC *petm)
{
- UNIMPLEMENTED;
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return 0;
+ BOOL Ret = NtGdiGetETM(hdc, petm);
+ if ( Ret )
+ {
+ if ( petm ) petm->emKernPairs = GetKerningPairsA(hdc, 0, 0);
+ }
+ return Ret;
}
/*