Closed Bug 876987 Opened 11 years ago Closed 11 years ago

Font is messy on ITTF President Forum

Categories

(Core :: Layout: Text and Fonts, defect)

21 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: dusty-2011, Unassigned)

Details

Attachments

(4 files)

The font in Firefox 21.0 is messy on the ITTF President Forum. An example page: http://www.ittf.com/stories/Forum_detail.asp?ID_Forumn=75&

The font looks the same with HWA enabled as it does with HWA disabled, in both cases messy. The spacing between letters is too narrow, causing weird looking letters.

The font looks fine in IE9 and Chrome 27.

I have added a screenshot of this page to this report as an attachment:
- screenshot in Firefox 21.0 with HWA enabled

Be sure to view the screenshot at original size.
The small letters on the right sidebar do not look perfect in Chrome, but they are much better than in Firefox.
the site used negative value of letter-spacing.
It seems letter-spacing: normal or letter-spacing: 0 solves the problem.
Component: Untriaged → Layout: Text
Product: Firefox → Core
Firefox is rendering the page as specified. Applying letter-spacing:-1pt to text with font-size:10pt is a recipe for extremely "cramped" letters.

It looks like Chrome does some kind of rounding of the letter-spacing value, so that -1pt (as specified in the page's CSS) becomes -1px, although the "correct" conversion would have been -1.333333px. As such, it isn't applying as much negative letter-spacing as Firefox, which uses the true, unrounded value.

If the page had specified -1px, the Chrome and Firefox renderings would be more similar.

As for IE10, it only looks "OK" because that page is processed in "quirks" mode by default, which seems to ignore the letter-spacing. Switch it to Standards mode (F12, Alt-S) and it gives text that looks every bit as overcrowded as Firefox.

Conclusion: not a Gecko bug, just a poorly styled site.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: