Open Bug 372208 Opened 18 years ago Updated 3 years ago

small-caps within monospace should maintain char width

Categories

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

x86
Windows 2000
defect

Tracking

()

People

(Reporter: mcow, Unassigned)

Details

Attachments

(1 file)

If you have, say, a <pre> block that includes some small-caps text, each character in that text block is too narrow for the rest of the font. The scaled-down capital itself is drawn OK, but it needs additional padding to maintain the monospacing. Numbers, punctuation and actual capital letters maintain the monospacing even with small-caps styling, and so should the lowercase letters.
Attached file testcase
Line 3 and 4 are all-caps. Line 2 is too narrow, it should align precisely with line 3.
Note that Internet Explorer 6 and Opera 9.02 both exhibit the same bug, altho Opera also has a bug that resets the font size (e.g. the default size of a <pre>) when given any font-style, font-variant, or font-weight styling. xref bug 372212
Severity: minor → S4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: