[PATCH] improved text-decoration

Luciano Montanaro mikelima at virgilio.it
Mon Dec 15 17:17:20 GMT 2003


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

On Monday 15 December 2003 17:02, Leo Savernik wrote:
> Am Montag, 15. Dezember 2003 16:26 schrieb Dirk Mueller:
> [...]
>
> > Usually fillRect is a lot faster (and also easier to handle, compared to
> > a drawLine with even pixel count width).
>
> Hmm, then I'm in very favour of that patch.
>
> Luciano, can you update your patch to include
> InlineFlowBox::paintDecorations, but not to use fm.xxxPos(), and repost it
> for review?
>

Here it is. However, I'm not sure I got it right for the render_line.cpp part,
I tried that patch alone and I could not see any difference vs. the original 
version. In particular, I'm not doubtful about the fontMetrics() call.
How can I trigger a call to paintDecorations()?


Luciano


> mfg
> 	Leo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/3eynaeOY6B53J4URAmTLAJ4mpI/VlS48VH5Zn3AKfVsVK5OlBgCdErIi
BAn6h/jXIQ2wnPFWlnHArIw=
=zm1F
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: decoration-fix2.patch
Type: text/x-diff
Size: 2968 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20031215/aa25d6a3/attachment.patch>


More information about the kfm-devel mailing list