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.

Rohkem teavet

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.