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

Re: Width of Chinese Character in TortoiseMerge

From: Garfield Yao <field977_at_gmail.com>
Date: Fri, 1 Apr 2011 18:53:39 -0400

2011/4/1 Stefan Küng <tortoisesvn_at_gmail.com>

> On 01.04.2011 21:15, Garfield Yao wrote:
> > 2011/4/1 Stefan Küng <tortoisesvn_at_gmail.com <mailto:
> tortoisesvn_at_gmail.com>>
> >
> > On 27.03.2011 05:44, Garfield Yao wrote:
> > > Hi Developers,
> > >
> > > TortoiseMerge could not show cursor and the grey dot indicating
> the
> > > space between the words correctly if there exists some Chinese
> > > characters because the Chinese character is twice as wide as
> English
> > > character.
> > >
> > > A snap of TortoiseMerge is attached.
> > >
> > > In the line 408:
> > > 1) The cursor showed in the middle of the first Chinese character;
> > > 2) The space located after the fifth Chinese Character, but the
> dot
> > > showed in the right side of the third one.
> > >
> > > I guess it would happen in Japanese and Korean too.
> >
> > Could you zip up two files with such characters and send that to me
> so I
> > can try and reproduce the problem here?
> >
> > That file is the Simplified Chinese po file of TSVN Doc. It's URL is:
> >
> http://tortoisesvn.googlecode.com/svn/trunk/Languages/zh_CN/LC_MESSAGES/TortoiseDoc.po
> > You can try the Traditional Chinese, Japanese and Korean po files:
> >
> http://tortoisesvn.googlecode.com/svn/trunk/Languages/zh_TW/LC_MESSAGES/TortoiseDoc.po
> >
> http://tortoisesvn.googlecode.com/svn/trunk/Languages/ja/LC_MESSAGES/TortoiseDoc.po
> >
> http://tortoisesvn.googlecode.com/svn/trunk/Languages/ko/LC_MESSAGES/TortoiseUI.po
>
> The problem with those chars is that they don't have a fixed width,
> they're wider than the other chars. TMerge depends on fixed width fonts
> where all chars have the same width.
> Changing that would require a major rewrite, and would also make TMerge
> a *lot* slower than it is now.
>
But the interesting thing is that EOL characters are showed in right
position.

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

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-04-02 03:35:31 CEST

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