From: Nikolay Sivov Subject: dwrite: Return S_OK from AnalyzeNumberSubstitution() Message-Id: <55230950.2040304@codeweavers.com> Date: Tue, 07 Apr 2015 01:31:44 +0300 https://bugs.winehq.org/show_bug.cgi?id=38132 Apparently .NET 4.5 applications are aware of dwrite, and WPF is using analyzer. I tried to write some tests for this method, but failed to make it call a sink, played with different locales without any progress. If anyone knows how to make it work for Arabic for example (I mean a test case, not implementation), please share. For now return S_OK, pretending that no substitution occurred. From 7214d0c10de0a1ed01be8ff5b37d7fb88ad3d9f4 Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Tue, 7 Apr 2015 01:13:24 +0300 Subject: [PATCH] dwrite: Return S_OK from AnalyzeNumberSubstitution() --- dlls/dwrite/analyzer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/dwrite/analyzer.c b/dlls/dwrite/analyzer.c index 62a6b15..5985d2d 100644 --- a/dlls/dwrite/analyzer.c +++ b/dlls/dwrite/analyzer.c @@ -776,7 +776,7 @@ static HRESULT WINAPI dwritetextanalyzer_AnalyzeNumberSubstitution(IDWriteTextAn IDWriteTextAnalysisSource* source, UINT32 position, UINT32 length, IDWriteTextAnalysisSink* sink) { FIXME("(%p %u %u %p): stub\n", source, position, length, sink); - return E_NOTIMPL; + return S_OK; } static HRESULT WINAPI dwritetextanalyzer_AnalyzeLineBreakpoints(IDWriteTextAnalyzer2 *iface, -- 2.1.4