[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Log message editor always use antialiased fonts.

From: Valeri Mytinski <valeri.mytinski_at_gmail.com>
Date: Wed, 3 Jul 2013 09:36:25 +0400

On Tue, Jul 2, 2013 at 9:53 PM, Stefan Küng <tortoisesvn_at_gmail.com> wrote:

> On 02.07.2013 11:33, Valeri Mytinski wrote:
> > I created new issue #504. Does anybody know solution/workaround?
> >
> > *What steps will reproduce the problem?* 1. Install TortoiseSVN
> > 1.8.0. 2. Upgrade WC. 3. From context menu choose "Commit...". Or try
> > to change log message.
> >
> > *What is the expected output? What do you see instead?* Expected
> > output - non-antialiased text in log message field. It is my system's
> > setting AND it worked as expected in previous to version 1.8.0. See
> > instead - antialiased text.
> >
> > *What Windows version are you using?* W7-x64.
> >
> > *Please provide any additional information below.* It seems like
> > something has changed in "scintilla". I can't find is it possible to
> > tune antialiasing in TortoiseSVN or no.
>
> If font smoothing is disabled in the system, then apps can not use such
> fonts, they're automatically downgraded to non-antialiased fonts.
>

Things are more subtle here. System's settings are only "flags" that show
user's intention and DEFAULT behaviour of rendering subsystem. Apps still
can use all options for rendering fonts.

We can see that in TortoiseSVN:
- Choose "Show log"
- In the "Log Messages" window we see list of commits and below it log
message field for first commit. Text in this field is *non-antialiased*
(system's settings).
- Now right click this text field and choose "Edit log message" from
context menu.
- You will see "Edit log message" window with edit field and *antialiased*
text in it.

But it might be that you have Direct2D drawing enabled.
>

Yes. Use or not antialiasing - this is apps' responsibility. OR third party
library it uses - in our case "scintilla" I suppose. Unfortunately in 1.8.0
there were changes in D2D in TortoiseSVN sources AND in scintilla sources
too, so I can't at first glance find the principle source of issue (and,
excuse, it is first time I see TortoiseSVN sources). I think that
"scintilla" or D2D use NOW by default SC_EFF_QUALITY_NON_ANTIALIASED
or SC_EFF_QUALITY_LCD_OPTIMIZED
instead of SC_EFF_QUALITY_DEFAULT.

BTW "Blame" window uses antialiasing too.

> Remove the registry key HKCU\Software\TortoiseSVN\ScintillaDirect2D if
> it exists. If it doesn't, then you should only see normal
> non-antialiased fonts.
>
> Stefan
>

Registry key exists and has value=0x0.
I removed it. No changes.
I rebooted system. No changes.

Valeri

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3059671

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-07-03 07:36:32 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.