[Konsole-devel] [Bug 59162] Fixed width font alignment problems for Japanese (and other languages I suspect)

Waldo Bastian bastian at kde.org
Mon Jun 2 09:35:04 UTC 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 01 June 2003 03:47, Ken Deeter wrote:
> Anyhow, the problem with this is that the value of i is used both to
> index into the string and the attr array. For the string, the index
> refers to the character (and each double width character is considered
> only one) where as the attr array will have a two spaces for each
> double width character. So the problem was happening when these two
> indeces get out of sync, you get some double width characters drawn as
> single width, and some single width drawn as double width.

Indeed, well spotted. Nasty bug :(

Cheers,
Waldo
- -- 
bastian at kde.org -=|[ SuSE, The Linux Desktop Experts ]|=- bastian at suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE+2xpIN4pvrENfboIRAhhpAJ9U0e0zD1dC3C45v5Yis5yAmQ1fugCdFuXE
1C+Ji1AiUUnt6sbowkVAO30=
=9zkS
-----END PGP SIGNATURE-----



More information about the konsole-devel mailing list