Render of Thai text with and without mouse selection

Allan Sandfeld Jensen kde at carewolf.com
Mon Dec 27 19:53:22 GMT 2004


On Monday 27 December 2004 20:21, Leo Savernik wrote:
>
> The proper solution would be to draw the full run, and clip it between the
> combined characters (this will keep the characters from being drawn in
> their separated form). However, there's no public API in Qt to retrieve the
> exact point of clipping (or is there, Lars?).
>
That would be the good looking solution. I don't know common practices in 
these languages but would splitting the text at selection points with a 
breakable zerowidth space and issuing a local relayout, be all that bad?

From experimenting with www.farsikde.org, I think there are more problems. 
Often the selection doesn't not even appear near the cursor.

`Allan




More information about the kfm-devel mailing list