On 18 October 2017 at 02:58, Jacek Caban <[email protected]> wrote:
> The attachment didn't make it to the mailing list.
Whoops, sorry, let me try with a .txt. If that fails:
https://pastebin.mozilla.org/9070416
-tom
From 297ce100d033e69c41abf19cfd0839477050e6ae Mon Sep 17 00:00:00 2001
From: Tom Ritter <[email protected]>
Date: Tue, 17 Oct 2017 00:11:11 -0500
Subject: [PATCH] Correct the declaration of IDWriteFontFace1::GetMetrics
The GetMetrics function in the derived class takes a parameter
of type DWRITE_FONT_METRICS1 rather than DWRITE_FONT_METRICS.
From: https://bugzilla.mozilla.org/show_bug.cgi?id=1372958#c10
---
mingw-w64-headers/include/dwrite_1.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mingw-w64-headers/include/dwrite_1.h
b/mingw-w64-headers/include/dwrite_1.h
index be0dd448..c0d15acb 100644
--- a/mingw-w64-headers/include/dwrite_1.h
+++ b/mingw-w64-headers/include/dwrite_1.h
@@ -132,7 +132,7 @@ DECLARE_INTERFACE_(IDWriteFontFace1, IDWriteFontFace)
#endif
/* IDWriteFontFace1 methods */
- STDMETHOD_(void, GetMetrics)(THIS_ DWRITE_FONT_METRICS*) PURE;
+ STDMETHOD_(void, GetMetrics)(THIS_ DWRITE_FONT_METRICS1*) PURE;
STDMETHOD(GetGdiCompatibleMetrics)(THIS_ FLOAT,FLOAT,DWRITE_MATRIX
const*,DWRITE_FONT_METRICS1*) PURE;
STDMETHOD_(void, GetCaretMetrics)(THIS_ DWRITE_CARET_METRICS*) PURE;
STDMETHOD(GetUnicodeRanges)(THIS_ UINT32, DWRITE_UNICODE_RANGE*,UINT32*)
PURE;
--
2.11.0------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public