Comment 22 for bug 999925

Revision history for this message
joachimeibl (joachim-eibl) wrote : Re: [Bug 999925] Re: KDiff3 font rendering of changed text broken

Am Freitag, 2. November 2012, 18:40:49 schrieben Sie:
> Hi Joachim,
>
> This bug is still present in Ubuntu 12.10, for both KDiff3 and Kate.
> When will your fix be applied?
>
> Best regards,
> Benoît

Hi Benoît and all others waiting for the fix,

The changes I made to KDiff3 to fix this problem and others were quite
substantial because I thought (and still think) that using QTextLayout is the
way to go.

But after some testing I also see that the text layouting step takes very long
for certain files that are either binary files or decoded as utf8 when they
are not. The text layouting can take several minutes even for short files
then. When only comparing a file this might not be such a problem, but when
doing a big directory merge, this definitely is, because killing the KDiff3-
process then will also discard the directory merge states.

A solution would be to start a separate process for each file comparison or to
provide other means of interrupting the text layout process.

Seeing these difficulties I might also go for completely different solution,
that does not have these problems.

Yet currently I also have very little time to implement and test these ideas.
Sorry for that.

Regarding Kate: That's a different project. I wrote to that mailing list
already, but please don't expect any fix from me.

Best regards,
Joachim