diff options
-rw-r--r-- | skia/ext/platform_device_win.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/skia/ext/platform_device_win.h b/skia/ext/platform_device_win.h index b3303b8..86f3495f 100644 --- a/skia/ext/platform_device_win.h +++ b/skia/ext/platform_device_win.h @@ -45,6 +45,9 @@ class PlatformDevice : public SkDevice { // Returns if the preferred rendering engine is vectorial or bitmap based. virtual bool IsVectorial() = 0; + // Returns if GDI is allowed to render text to this device. + virtual bool IsNativeFontRenderingAllowed() { return true; } + // Initializes the default settings and colors in a device context. static void InitializeDC(HDC context); |