Nikolay Sivov : dwrite: Forward GetRecommendedRenderingMode() to newer method.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jun 22 07:44:58 CDT 2015


Module: wine
Branch: master
Commit: 86a7f329be04505e372cfe8aef73daeb7d00b80c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=86a7f329be04505e372cfe8aef73daeb7d00b80c

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Fri Jun 19 13:58:09 2015 +0300

dwrite: Forward GetRecommendedRenderingMode() to newer method.

---

 dlls/dwrite/font.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dlls/dwrite/font.c b/dlls/dwrite/font.c
index 587dc05..8ffad31 100644
--- a/dlls/dwrite/font.c
+++ b/dlls/dwrite/font.c
@@ -703,9 +703,11 @@ static HRESULT WINAPI dwritefontface1_GetRecommendedRenderingMode(IDWriteFontFac
     DWRITE_OUTLINE_THRESHOLD threshold, DWRITE_MEASURING_MODE measuring_mode, DWRITE_RENDERING_MODE *rendering_mode)
 {
     struct dwrite_fontface *This = impl_from_IDWriteFontFace2(iface);
-    FIXME("(%p)->(%f %f %f %p %d %d %d %p): stub\n", This, font_emsize, dpiX, dpiY, transform, is_sideways,
+    DWRITE_GRID_FIT_MODE gridfitmode;
+    TRACE("(%p)->(%.2f %.2f %.2f %p %d %d %d %p)\n", This, font_emsize, dpiX, dpiY, transform, is_sideways,
         threshold, measuring_mode, rendering_mode);
-    return E_NOTIMPL;
+    return IDWriteFontFace2_GetRecommendedRenderingMode(iface, font_emsize, dpiX, dpiY, transform, is_sideways,
+        threshold, measuring_mode, NULL, rendering_mode, &gridfitmode);
 }
 
 static HRESULT WINAPI dwritefontface1_GetVerticalGlyphVariants(IDWriteFontFace2 *iface, UINT32 glyph_count,




More information about the wine-cvs mailing list