[webkit-dev] Why does Ahem have different vertical metrics in Qt?

Andreas Kling andreas.kling at nokia.com
Wed Apr 6 09:03:27 PDT 2011


On 02/08/2011 08:42 PM, ext Dan Bernstein wrote:
> What is causing this difference? How does it affect other fonts and real
> websites? Is there a way to fix this?

This is caused by the behavior of QFontMetricsF::descent() which returns 
the descent minus one for historical reasons.

I've opened https://bugs.webkit.org/show_bug.cgi?id=57954 to fix it. :-)

-Kling


More information about the webkit-dev mailing list