From f479aa5ce5f0b1995913dbee7483d63949b6ea24 Mon Sep 17 00:00:00 2001 From: Paul Chitescu Date: Fri, 18 Jun 2010 18:37:50 +0300 Subject: [PATCH] gdi32: If driver is missing claim vectorial fonts are supported so GDI fonts (freetype) are used. --- dlls/gdi32/dc.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dlls/gdi32/dc.c b/dlls/gdi32/dc.c index f3a62bde004..c55442f912b 100644 --- a/dlls/gdi32/dc.c +++ b/dlls/gdi32/dc.c @@ -912,6 +912,11 @@ INT WINAPI GetDeviceCaps( HDC hdc, INT cap ) case LOGPIXELSX: ret = 72; break; case LOGPIXELSY: ret = 72; break; case SIZEPALETTE: ret = 2; break; + case TEXTCAPS: + ret = (TC_OP_CHARACTER | TC_OP_STROKE | TC_CP_STROKE | + TC_CR_ANY | TC_SF_X_YINDEP | TC_SA_DOUBLE | TC_SA_INTEGER | + TC_SA_CONTIN | TC_UA_ABLE | TC_SO_ABLE | TC_RA_ABLE | TC_VA_ABLE); + break; } release_dc_ptr( dc ); }