[PATCH] improved text-decoration

Luciano Montanaro mikelima at virgilio.it
Sat Dec 13 13:26:23 GMT 2003


On Sunday 14 December 2003 14:01, Luciano Montanaro wrote:
> The attached patch modifies the Font::drawDecoration() function
> to use font metrics data to calculate the thickness and the position of the
> underline etc.

As a side note, I just noticed that for example, Slashdot links are drawn with 
the body text color instead of the link color, while Mozilla uses the same 
color for the underline and the text. I don't know what the specs say exactly, 
but Mozilla behaviour seems more reasonable.

Luciano




More information about the kfm-devel mailing list