From 1da91444c0a4eb80d0eefafe931b502802f96874 Mon Sep 17 00:00:00 2001 From: kubistika Date: Tue, 6 Aug 2019 11:48:26 +0300 Subject: [PATCH] server: proxy: client: set glyph support level to NONE --- server/proxy/pf_client.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/server/proxy/pf_client.c b/server/proxy/pf_client.c index f992fef6b..9986764fb 100644 --- a/server/proxy/pf_client.c +++ b/server/proxy/pf_client.c @@ -91,6 +91,14 @@ static void pf_OnErrorInfo(void* ctx, ErrorInfoEventArgs* e) static BOOL pf_client_pre_connect(freerdp* instance) { rdpSettings* settings = instance->settings; + + /* + * as the client's settings are copied from the server's, GlyphSupportLevel might not be + * GLYPH_SUPPORT_NONE. the proxy currently do not support GDI & GLYPH_SUPPORT_CACHE, so + * GlyphCacheSupport must be explicitly set to GLYPH_SUPPORT_NONE. + */ + settings->GlyphSupportLevel = GLYPH_SUPPORT_NONE; + settings->OsMajorType = OSMAJORTYPE_UNIX; settings->OsMinorType = OSMINORTYPE_NATIVE_XSERVER; /**