This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Why aredescender cutt off in FF, when Tahoma, 14px, line-height:1.2 and its parent is overflow:hidden?

more options

See: http://jsfiddle.net/W5TVx/1/

In FF16.0.2 and FF 17.0.1 there are some lines faulty rendered, the descender of "g" and "y" are visually cut off. It seems that the line is rendered with 18 px height (manually calculation would result in 17px) whereas the parent receives 17px height. Even when tweaking the line heihgt little (e.g. 1.22) there seemed to be some pattern inside.

I discussed that topic on the firefox IRC channel, we tested if a clean profile would fix it -- it does not but the pattern of faulty lines changes, some prefixed faulty lines were added before it started.

Safari and IE9 share this problem.

See: http://jsfiddle.net/W5TVx/1/ In FF16.0.2 and FF 17.0.1 there are some lines faulty rendered, the descender of "g" and "y" are visually cut off. It seems that the line is rendered with 18 px height (manually calculation would result in 17px) whereas the parent receives 17px height. Even when tweaking the line heihgt little (e.g. 1.22) there seemed to be some pattern inside. I discussed that topic on the firefox IRC channel, we tested if a clean profile would fix it -- it does not but the pattern of faulty lines changes, some prefixed faulty lines were added before it started. Safari and IE9 share this problem.

All Replies (1)

more options

The problem goes away for me when hardware acceleration is disabled.

So I'd guess it's either related to this bug, or the same bug.

  • Bug 676570 - Descenders are cut off with some fonts and HWA enabled.