From e798128a9eb6c658b2847bdaaa6fd8c1bdc058b8 Mon Sep 17 00:00:00 2001 From: Marko Njezic Date: Wed, 29 Feb 2012 21:22:42 +0100 Subject: Bug #3495791. Create auxiliary surfaces on Direct2D without alpha channel, as no underlying code expects them to be transparent. This will make text drawing use the same anti-aliasing mode no matter if using buffered mode or not. --- doc/ScintillaDoc.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 2e8406ba6..b87650526 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -3064,9 +3064,9 @@ struct Sci_TextToFind { The technology property allows choosing between different drawing APIs and options. On most platforms, the only choice is SC_TECHNOLOGY_DEFAULT (0). On Windows Vista or later, SC_TECHNOLOGY_DIRECTWRITE (1) - can be chosen to use the Direct2D and DirectWrite APIs for higher quality antialiased drawing.

-

Since Direct2D buffers drawing, Scintilla's buffering should be turned off with - SCI_SETBUFFEREDDRAW(0);. This causes DirectWrite to use better quality antialiasing.

+ can be chosen to use the Direct2D and DirectWrite APIs for higher quality antialiased drawing. + Since Direct2D buffers drawing, Scintilla's buffering can be turned off with + SCI_SETBUFFEREDDRAW(0).

SCI_SETFONTQUALITY(int fontQuality)
SCI_GETFONTQUALITY
-- cgit v1.2.3