I downloaded the newest version of SciTE 3.4.0 yesterday, and I noticed that when I have a text file open at 100% zoom with Monospace turned off, I noticed that since the default Font Family and/or Character Spacing has been changed, the cursor's location after some characters is slightly off. See attached (Scintilla_340_Problem_1.jpg) image. If you look at the lowercase "r", you can see what I mean. And the previous versions are just fine. I have also attached what it looks like in SciTE 3.3.9 (Scintilla_339_1.jpg), to show the difference.
3.4.0 defaults to using DirectWrite for drawing text instead of GDI. DirectWrite draws text at fractional positions instead of aligning to the pixel grid. To choose GDI, set technology=0 instead of 1.
To avoid a blurry caret drawn partially over 2 pixels, the caret is aligned to the pixel grid by truncating the start position of the next character and drawing over the previous pixel. I have changed this to rounding in [cf4f93] which may draw the caret 1 pixel to the right in some situations. This does not always look better but does when averaged over many cases.
Different fonts, sizes and platforms will have different results.
Related
Commit: [cf4f93]
Oh okay. Thank you.
How would I change the Technology to 0 instead of 1, to choose GDI, in SciTE [SC340.exe]?
Last edit: Andrew 2014-03-26
Like any setting: Options | Open User Options File; add a line with
technology=0
Thank you.