Closed
Bug 474012
Opened 16 years ago
Closed 16 years ago
Unnecessary spacing under Hindi text, resulting in stretched controls
Categories
(Core :: Layout: Text and Fonts, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 402239
People
(Reporter: mstange, Unassigned)
References
()
Details
Attachments
(3 files)
On Mac OS X, Hindi text (and some other languages, too) seems to reserve a lot of space under the line. Is this intentional? It looks unnecessary to me and results in vertically stretched buttons.
See screenshot.
Reporter | ||
Comment 1•16 years ago
|
||
Reporter | ||
Comment 2•16 years ago
|
||
This is the language dropdown in GMail's preferences. If I remove all <option>s of languages with a large line height, the dropdown's size shrinks back to normal.
Reporter | ||
Comment 3•16 years ago
|
||
This is how Safari renders the buttons on http://www.google.co.in/intl/hi/
Comment 4•16 years ago
|
||
Isn't this a dupe of bug 402239 ?
Comment 5•16 years ago
|
||
Yes, it is.
It's not easy to figure out the ideal behavior here. Agreed, the examples look pretty bad. But that space is there because it's possible for the Hindi font to include characters that go quite a lot deeper below the baseline than in that particular sample; try a button that displays the text "वट्टू". In Firefox, that works pretty well - the text fills the vertical height of the button nicely - whereas in Safari the vowel is cut off.
However, this is relatively uncommon, and for the majority of text our controls do look bad. :(
Reporter | ||
Updated•16 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•