patch for Kate and Indic languages

Jens Herden jens at
Sun May 21 10:18:30 BST 2006

On Sunday 21 May 2006 04:40, Thiago Macieira wrote:
> Jens Herden wrote:
> >we have a big problem with Kate and Khmer because of the non constant
> >character width. This problem must affect many other Indic languages as
> > well!
> >
> >The text renderer in Kate just adds the character width one by one to
> >calculate the position of the cursor. This breaks very bad for Khmer
> > because two character together can have a different width as the sum of
> > the width of the two character. That means when I type Khmer the cursor
> > is not where the character will appear and navigation is almost
> > impossible.
> Isn't there a mode of Khmer for "fixed-width displays"? How does it work
> in Konsole?

There is no such thing as fixed-width in Khmer script. There is special code 
in QT to support this unusual script. In Konsole it works nice. In a real 
text console Khmer is not usable at all.

> >I made a patch to fix this and I want to have this in KDE 3.5.3, if
> > possible. Can please someone look at it?
> I can't review it, but the deadline to commit it in time for KDE 3.5.2 is
> Monday.

Yes I know I was hoping that someone can have a look before.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <>

More information about the kde-core-devel mailing list