ClearType with Direct2D in 3.2.0 broken?

55 views
Skip to first unread message

Sven Strickroth

unread,
Jun 11, 2012, 6:33:26 PM6/11/12
to scintilla...@googlegroups.com
Hi,

I use Scintilla 3.2.0 with Direct2D in TortoiseGit. After upgrading
Scintilla from 3.0.4 to 3.2 my users report that they see blurry text
and suggest that Scintilla might no longer support ClearType.

Do you have similar issues and/or ideas on how to solve this issue?

Compare: http://code.google.com/p/tortoisegit/issues/detail?id=1222

--
Best regards,
Sven Strickroth
ClamAV, a GPL anti-virus toolkit http://www.clamav.net
PGP key id F5A9D4C4 @ any key-server

Neil Hodgson

unread,
Jun 11, 2012, 7:39:27 PM6/11/12
to scintilla...@googlegroups.com
Sven Strickroth:

I use Scintilla 3.2.0 with Direct2D in TortoiseGit. After upgrading
Scintilla from 3.0.4 to 3.2 my users report that they see blurry text
and suggest that Scintilla might no longer support ClearType.

   I don't see blurry text in SciTE with Direct2D on Windows 7.
http://www.scintilla.org/blurry.png

   If you are certain that this change occurred between 3.0.4 and 3.2.0 then the most likely change was initialising the window render target in change set 4139 which was done to improve display in High DPI modes. Try reverting this change and see the problem is fixed.

   If the problem could have occurred earlier and you are using buffered drawing then another change set in this area is

   Neil

mr.maX

unread,
Jun 12, 2012, 4:45:42 AM6/12/12
to scintilla...@googlegroups.com
On Tuesday, June 12, 2012 12:33:26 AM UTC+2, Sven Strickroth wrote:
Hi,

I use Scintilla 3.2.0 with Direct2D in TortoiseGit. After upgrading
Scintilla from 3.0.4 to 3.2 my users report that they see blurry text
and suggest that Scintilla might no longer support ClearType.

Do you have similar issues and/or ideas on how to solve this issue?

Compare: http://code.google.com/p/tortoisegit/issues/detail?id=1222

Judging from the screenshot, ClearType is being used when drawing the text, but some additional scaling is being performed making the resulting text blurry. These type of problems usually appear when an application is not marked as High DPI aware in executable manifest.

-- 
Regards,
Marko Njezic - mr.maX @ MAX Interactive corp.
MAX's HTML Beauty++ 2004: http://www.htmlbeauty.com/

Sven Strickroth

unread,
Jun 12, 2012, 6:05:06 AM6/12/12
to scintilla...@googlegroups.com
Am 12.06.2012 10:45 schrieb mr.maX:
> Judging from the screenshot, ClearType is being used when drawing the
> text, but some additional scaling is being performed making the
> resulting text blurry. These type of problems usually appear when an
> application is not marked as High DPI aware in executable manifest.

Since 3.2 I do not have problems with High DPI any more. However, do I
have to mark my tool as High DPI aware using a manifiest if it's x64?

mr.maX

unread,
Jun 12, 2012, 6:46:04 AM6/12/12
to scintilla...@googlegroups.com
On Tuesday, June 12, 2012 12:05:06 PM UTC+2, Sven Strickroth wrote:
Since 3.2 I do not have problems with High DPI any more. However, do I
have to mark my tool as High DPI aware using a manifiest if it's x64?

Yes, you have to explicitly mark you application as High DPI aware in executable manifest.

Reply all
Reply to author
Forward
0 new messages